NOTE - Check updated Plugin Overview for more information on this update Commands ResetHearts Command - EXISTING [+] - Added a Tab Listener
[+ & ↻] - Changed and added some messages the command returns.
[↻] - Made the player part of the command optional. If you don't specify a player then it resets your own hearts back to the default amount.
[↻] - Now sends a message informing the user if the player they're trying to reset hearts already has the default amount of hearts.
[↻] - Changed permission node.
SetHearts Command - NEW [+] - With this new command you're able to set a players heart count to a certain value!
DepositHearts Command - NEW [+] - With this new command you're able to take away your own hearts and then deposit them onto a piece of paper! Whoever right clicks with the paper in hand gets the amount that was put onto the paper.
HeartNote Command - NEW [+] - Correlating to the DepositHearts command, with this command you're able to freely create a deposit heart paper without removing any of your own.
Miscellaneous
Config File [+] - Added pvp-delete-items: False field » Specify if you want players items to be deleted on a pvp death. [+] - Added non-pvp-delete-items: False field » Specify if you want players items to be deleted on a non-pvp death. [+] - Added overclaim-hearts: False field » Specify if you want players to be able to go over the default limit of hearts. [↻] - Made some minor changes to a couple comments for more clarity
Console [+] - Added a new enable message [↻] - Any message related to the creation of the config file is now in red text
If your current config is ever missing a necessary value or is broken it'll create a new config file for you and move your current broken config file to a newly created folder called
Old Configs. You're able to delete these old config files and the folder without causing any issues.
You're now able to specify in the config how many hearts you want players to rejoin with after being unbanned!
NOTE - A value of 1 is equivalent to half a heart, and this only applies to those who are unbanned after originally being banned due to reaching 0 hearts.
You're now able to declare in the config the duration that the player gets banned for after they reach 0 hearts! The following are key letters you can use:
h or H - Hours
d or D - Days
w or W - Weeks
m or M - Months
You can also combine them like this:
"1h2d3w4m" or
"1h 2d 3w 4m"
Leaving the value blank in the config will make it so the player gets permanently banned.