built for version 1.20.1 and further of minecraft servers running paper spigot or bukkit
commands:
/addlife - this will add life to the player if they have at least {cost} amount of {item} in their inventory
/addlife-resetlife - this will reset the max health of the player who runs the command to {base health} NOTE: only oped player or players with the permission lifeline.admin can run this command
/addlife-data - this will display the data of the config file
/addlife-help - this will display the help dialog
/addlife-resetlives <target> - this will reset to the defined base health of the target player, if no target given will assume the sender
/ll-reload - reload configs
/ll-set <target> <HP> - manually set the lives of a target player
all values in {} are configurable in the configuration file cofig.yml
please be sure to inform me here if you come accross any errors or glitches in this plugin so i can work to fix them, Enjoy!