- Fixed worlds config loading
- Started code changes for v2.0
Everything in this update should work as in the previous version, though some code has been changed and could not be fully tested. This is needed for the 2.0 update of the plugin that must change a lot of outdated code that is not compatible with the way this plugin evolved. When this update will occur it will be easier to tweak and add new features!
If you find any behaviour in this version that dit not occur in the previous one, please report it to the forum section so it can be fixed as fast as possible!
- Added send money to the killer of the player penalty option
- Changed keep inventory gamerule, its value is now ignored by the plugin
- Fixed end portal travelling applying penalties
Not all of the added features in this update have been tested, if you are encountering an issue, please post it in the forum section of the plugin!
Added features:
- Per world option to set a bank account name where the money from penalized players will go to
- Respawn health chance percentage value
- Respawn food chance percentage value
- Money lost chance percentage value
Fixes:
- Fixed the state message command
- Dropped and destroyed items in percentage value will at least drop 1 item if it is set to more than 0%
- Items with curse of vanishing are now successfuly removed
- MobArena listeners was loaded even if the plugin was not installed, causing the plugin to not work
Some config options have been added, feel free to add it to your own config file!
More options will be added for this update but since I did not have time to test it properly, I will keep it light for now.
As those new features have not been fully tested, they may be bugged. Please report it immediatly in the forums if you are having troubles with it so it can be fixed as fast as possible.
- Added experience dropped/destroyed flat/percentage values
- Added levels destroyed flat/percentage values
- Added experience/levels destroy chances percentage values
- Added experience dropped chances percentage value
- Added bypass op permissions value
- Fixed destroyed items chances percentage without keep inventory enabled
- Added MobArena support to ignore players in arenas
- Unset config default values will be added on plugin start
Using the old API loading of materials is not supported anymore. This means the plugin could be broken on server versions before 1.13 using the whitelist feature. However it should work fine from now on using every new materials added from this update up to the next ones.
Maybe that using the "LEGACY" prefixed item in the materials list could work temporarily in versions prior to 1.13 but it is deprecated in the api and should not be used! I do not plan to make this plugin working on previous versions of 1.13 because I do not think a lot of you are using it. If it is usefull for you I will try to provide a fix for that though.
Warning! Some options values have been changed in this update please check your configs from the new default config values (can be found in the spigot plugin page) or generate a new one!
- Changed config options values for more visibility (changed some options "respawn" keyword by "death" for example).
- Added death processed commands (from server or player).
- Added respawn processed commands (from server or player).
- Removed respawn potion effects (can be used with commands now).
- Removed death items lost option.
- Added death items dropped option.
- Added death items destroyed option.
- Added whitelisted items option.
- Fixed default values being loaded even if you removed it from config.
- Fixed removed items not randomly chosen.
- Added money lost on death option
- Added items lost on death option (keepInventory must be enabled)
- Effects penalty can now be edited in game (with /dpedit)
- Removed target respawn world option
- Fixed in game value changing preventing the plugin from working with some options
WARNING! This update changed a lot of things in config format in order to add per world and default configuration values. Please delete your existing configuration to generate a fresh one or update it manually.
- Added per world configuration
- Added config option to chose if death penalties are applied from dying or respawning world
- Added edit command (edit per world per option values)
- Changed state command (now shows full informations about a world values)
- Changed configuration format to add per world configuration support
- Removed toggle command (now use edit command)
- Removed enable command (now use edit command)
- Removed disable command (now use edit command)