Everyone has 3 lives. When someone dies they get removed a life. When someone dies and their lives are set to 0 they get banned. When a player kills another player the killer gains their oponent's heart.
Lives can't be changed using a command but they can be changed manualy by editing the lives.json file in the plugins/LivesPlugin folder and then reloading or restarting the server.
Commands:
- /liveslist - shows a list of all the players and their lives
- /transferlives <player> <amount> - when a player uses this command the amount of lives he chose is transfered to the player he chose. You can only transfer 1 less lives than you have so for example: if you have 3 lives you can transfer 2 lives but not 3 because you would endup with no lives.
Permissions:
- livesplugin.* - gives permission to all the plugin's permissions. Default: op
- livesplugin.liveslist - gives permission to use the /liveslist command. Default: everyone
- livesplugin.transferlives - gives permission to use the /transferlives command. Default: everyone
Next update's TO DO list:
- add a /setlives command for admins
- make it so that when someone loses their last life and gets banned, someone can give that personn a life and they will get unbanned
- add a command that could customize the settings
- minor bug fixes