Create a Paper/Spigot 1.21.x plugin named LifestealPlus (display “Lifesteal+”) where killing a player grants +1 heart and death removes 1 heart; at 0 hearts, players are banned or put in spectator (configurable). Include YAML data storage, Heart (Nether Star) and Revive Book items with recipes (8 diamonds + 1 enchanted golden apple; revive book uses gold, diamonds, and heart), a Revive INVENTORY GUI (player heads to revive), a Settings INVENTORY GUI (/lifesteal settings) with clickable options, commands for managing hearts, and use modern API (Attribute.GENERIC_MAX_HEALTH, events, NamespacedKey, PersistentDataContainer).
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code