DeathControl
Overview
This plugin is a powerful tool to control what happens when players die. Its primary feature is to allow players to keep their inventory, but by now it offers plenty of more possibilities about what to do. You can set conditions that have to be met and actions that will be executed.
Flexibility is one of the main objectives of the plugin. Whether you want a simple way to keep inventories, you want enchanted pickaxes named "Pink Elephant" to be destroyed upon death or you just want to change PVP deaths - this plugin makes it all possible.
Main Features
- provides a powerful way to set up handlings for player deaths
- create different behaviors depending on how and where the player died
- able to save a player's inventory, experience and/or food level upon death
- destroy or damage items upon death
- allows item filters to affect only certain items
- economy support: charge them money for it!
- waiting for the player to perform a command can give them the choice of what to do
- disconnecting players are treated with a timeout
- supports every major economy-plugin through Vault or Register
- uses regular permissions system or the OP system
- flexible messaging system that allows localization and customization
- hooks into the API of MobArena and BattleArena to fix deaths in an arena
Donate
If you want to support the development of the plugin, feel free to drop a donation! It really helps to keep this plugin alive. Thank you :)
Pages
- Configuration
- Commands
- Permissions
- Changelog
- FAQ (Frequently Asked Questions)
- Source code
Setup
- If you want to use economy plugins, you need to have Register or Vault installed as a plugin.
Just download the jar from the linked page and put it in yourplugins/
folder, if you haven't yet. - Drop the plugin's jar in the
plugins/
-directory of your server (just like every plugin, eh?). - Start/Reload the server once to generate the configuration files at
plugins/DeathControl/
. - Read the instructions on the Configuration page for config information!
- Make your adjustments to
config.yml
andlists.txt
as you wish - Reload the config files either through reloading the server or, easier, with the command "
/death reload
" - Enjoy the plugin!
Dependencies
The plugin is functional without any other plugins.
To be able to use the "charge" action (and thus make players pay money), you need one of those plugin libraries so this plugin can make use of your installed economy plugin:
One of them needs to be installed as a plugin on your server.
Reporting an issue
If you think you found an error with the plugin:
- Read the FAQ. It might be a common incompatibility.
- Go to the Issues forum and check if the issue was already posted/answered by another user.
- If not, create a new topic in that same forum and describe your issue precisely. Always post your craftbukkit version, plugin version and if relevant your config file(s).
Please do not report issues in the comments! Only use the forums!
To-Do
This section is now represented by the Tickets tab.
I'm doing a pretty big overhaul on my server so technically my survival world is down, however I can test on it and it would be a good way to check for conflicts considering I'm running about 500 other things. Let me know if you still need a tester
I'd like to test it as soon as possible. Tip: are you using hooks in authentication plugins? If not, then it's first thing to fix :p
Hey Bone008!
Great plugin, but can you add an option so that the items with durability (armor, pickaxes, swords etc) will lose a precentage of their durability upon death.
Thank you :)
Good news: I'm pretty much done with the major overhaul of the plugin. DeathControl 2.0.0 will be released very soon. I've finally managed to get the new system in place that I wanted to do for so long.
Expect almost infinite flexibility and a ton of new configuration options!
Biggest change is that I moved away from "death causes" being the primary condition to select stuff from. They're of course still there, but you're not restricted to only them like before.
Instead, for each handling you make, you can specify a list of conditions and actions.
A condition would be for example "victim has permission node x.y" or "killer is a tamed wolf" or "death happened in world abc" (yes, that means proper multi-world functionality now).
An action is what the plugin actually does when the conditions are met. These include for example "keep 50% of the items on list X", "message the player something", "wait x seconds for the player to do the command", "charge the player 5 glowstone", "destroy 80% of the items on that list" ... and a lot more!
I'm so exited to finally bring you this new level of flexibility :)
However: I do not run a production server right now and can't really test everything as extensively as I would like to. Would someone be willing to test a pre-release version to help me get everything as stable as possible?
We might also notice some flaws in the current design.
If you're interested, please send me a private message with your Skype username so we can get in contact.
Thank you for your time and patience!
TL;DR: New version is coming, I'm looking for testers ;)
@Bone008
Take your time, Bone. Don't need to rush into things. Xpecially if you don't feel like it.This plugin is amazing and I'm sure your rework will make it even better!
Sorry for not replying in a while. Work on the recode unfortunately had to be postponed again :( I can't really find a sufficient chunk of both time and motivation to get this done. I've got a system planned out, though.
__
@rsod @Graybot @diannetea @Corsicaman
Will all be possible once I get to finish the update. The current way of handling configuration simply doesn't allow the level of freedom without creating a huge mess.
__
@tommarvolo124 @kathars1s Not really sure why it could break. I'm just using the regular Bukkit API. If they want to look into how their implementation creates problems, they are free to do so.
__
@Noxlor Nice idea. I'll be able to easily add that feature with the new system.
__
@ryan_the_leach That is a mod item providing functionality. Sorry, this is somewhat beyond my scope. I think the mod developers are better people to change the way their items work.
__
@Zilacon You're welcome. I'm glad it works as intended for you :)
__
Regarding "does it work with xyz?": For any given version, it most likely does. Confirmed for 1.5.2. If future versions introduce for example new ways of a player death, they need to be added to the plugin.
Thank you so much for this plugin! I have tried 5 others and none of them work on my MCPC+/Tekkit server, your a lifesaver :D
@therennon
1.9 works fine with CraftBukkit Beta Build (1.5.2-R0.1)
Work in 1.5.2?
Could you add a per-world option so that it can only be applied in the worlds we choose please?
is it at all possible to get support for the charm of keeping?
http://twilightforest.wikispaces.com/Charm+of+Keeping
Expected behavior is that the charm of keeping would keep some of the items based on its level, and the rest of the items could be reclaimed using /death back.
It works fine in 1.5.1
I would like to see the retention per-permission added, I'm working on switching my server over to donation points and it would be great if I could let everyone choose what they want.
Hello ! Can i use in 1.5.1 ? Thank you !
Looks like a great plugin. I'd also appreciate it if you could add support for mcpc+, or if that't outside your realm, maybe giving the guys over there permission to make a port? I'd be ok with the vanilla deaths, i.e. creepers, explosions, lava etc but those don't seem to function either. Thanks for your hard work!
Hi,
is it possible to define an item as a "cost" for keeping inventory? Let´s say. If a player has an emerald in with him, his inventory is saved and he looses one emerald. If its not the case, all inventory is dropped. It would be nice to see this feature.
Greetings, Sebastian
how i can configurate percent of drop per groups?
Could you possibly add support for MCPC plus? Currently only 4 causes of death from vanilla are detected.
Is it possible to make different configs for different groups? Or at least something that will keep all inventory for one group?
@Xghost7 How? When? What's the error? What plugin version? What are you doing when the error occurs? What does your config look like? Come on ...
Make sure you update to the latest version (1.9), it works fine on 1.5 for me.
Can u update it for 1.5 please :) it crashes