UPDATE v1.13.2
Fixed memory leak, Added grace for new players
Warning: You need to update your lang.yml for this update!
Information: I cant upload updates during the week. So please keep in mind ( In case you have issues with deluxecombat ) that I can only react with new updates on the weekends!
Changelogs:
- Added: Grace for new players ( Or old players ). Grace adds a full protection against all types of damage to your players. This protection is perfect for new players that dont have any items to fight. The plugin detects new players and adds a grace protection to them.
- Changed: The layout of the settings menu.
- Removed: Old debug messages.
- Removed: Massive memory leak caused by the papi placeholders.
- Removed: NPE in the HitListener class.
- Added: New messages to the lang.yml
Config changes:
Please add following lines to your lang.yml:
( Dont add general: just the messages below general with spaces! )
Code (YAML):
# GENERAL
general:
grace-left
:
"&a%player% is for the next &2%time% &aprotected against all types of damage!"
no-grace-active
:
"&cYou have no active protection."
grace-disabled
:
"&cYou have disabled your protection. You are no longer immune against all types of damage!"
grace-disabled-by-admin
:
"&c%player% disabled your protection. You are no longer immune against all types of damage!"
player-has-grace-active
:
"&cYou cant fight with this player because he has an active newbie protection!"
you-have-grace-active
:
"&cYou cant fight with this player because you have an active newbie protection! Wait &4%time% &cor type in &4/dc grace disable"