DeathPenalties icon

DeathPenalties -----

Control the penalties that are applied to players when they die (health, inventory, commands & more)




- 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!
----------, Feb 11, 2022

- Hotfixed items drop duplication while keep inventory is false
----------, May 13, 2021

- 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
----------, Apr 11, 2021

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
----------, Mar 26, 2021

- Fixed state command message
- Fixed MobArena hook to ignore arena deaths
----------, Mar 20, 2021

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
----------, Mar 13, 2021

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.
----------, Jul 29, 2020

Added missing 1.15 and 1.16 items dependencies that prevented those items from being added to the whitelist
----------, Jul 25, 2020

- Fixed a bug throwing errors in console and preventing items from being destroyed while using the plugin with the keepInventory gamerule disabled.
----------, Jul 19, 2020

Just a small update to add a requested feature and update the plugin to 1.16.

- Added an option to set the chance of items to drop on death
- Added an option to set the chance of items to be destroyed on death
----------, Jun 26, 2020

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.
----------, May 15, 2019

- 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
----------, Apr 26, 2019

- Added Multiverse support
- Fixed percentage default values overwriting other worlds custom flat values
----------, Aug 31, 2018

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)
----------, Jul 26, 2018

- Added health flat value
- Added food flat value
- Updated configuration file (delete it or add update manually to be updated)
----------, Jul 21, 2018

Resource Information
Author:
----------
Total Downloads: 4,122
First Release: Jul 21, 2018
Last Update: Feb 11, 2022
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings