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.
@Recolance
Its getting better and better ;)
All I need is a plugin to return inventories with players with a perm node... wtf happened to this project.
@iDeViLxD
First, you create your list in lists.txt with a name.
Then you create a handling with a permission node as a condition that your group has. So if your specific group has the node "group.vip", you use that.
Then you add the "keep-items" action with the list name that you created in the beginning as a filter.
Like this:
If you want something else to happen for people without that permission (e.g. keep items that are on another list), simply create another handling and set its priority-order to something higher than 0.
Hi,
I was wondering where do i put the list that I want a specific group to keep in the config.. There's so many options that I really don't need, but I cant figure out where to put the list.
Thanks
@Krixvar Maybe you have the old version installed alongside the new one?
Please give me the complete startup log.
Also, your Java version might be relevant. In many versions of Java there are errors when you change the JAR file of a plugin and then reload the server. Doing a complete restart once should fix it.
Hi, I love this plugin and have been using it for ages. However, with the new update, every time I reload, the plugin defaults to the older style config (not the one with handlers). I'm using the most recent plugin and bukkit for 1.5.2... any ideas? :/ Its making the plugin completely unusable right now :(
@Noxlor
First of all, thank you.
It seems like I forgot to reimplement the override for Essentials. I'll look into it to fix that again.
In the meantime, you can try to disable that feature of Essentials, since you're not intending on using it anyway ;) Dunno if there is a config setting for it or if you have to do it through permissions, but it should be possible.
As an op I am getting the same issue as you already fixed in 1.81. Setting - keep-experience 50% increases the experience after death.
Hi,
thanks for this great update! Now it is really possible to fit it with the individual preferences. Nice job! Also like very much the idea of an inventory log!
@nicktehbrick
Nope, but I love the idea. That's one of the things that really bother me on a server, complaints about lost items that can't really be verified. This would allow that. Nice suggestion, first entry on the new To-Do list ;)
With this plugin is there a way to view what items someone had before their last death? Like death inventory log?
@65416516516514
Yes there is. Sorry, the documentation on variables is not done yet. Here's a raw list of the current variables, I don't have time to get it into wiki format right now: http://pastebin.com/sp1TisVM
Is there a variable to show a player how much money the death cost them? I use percentages so I would like to be able to say "This death has cost you $xx.xx"
I uploaded version 2.0.0 a day ago. Since the approval team is taking its time, here's a direct link to the file until it is approved.
@WASasquatch @Killer2demon Thank you!
This is the best plugin when it comes to death control. Great work!
I highly recommend this plugin for death control, it's very stable, runs well, and does not cause lag on any of my rigs. The new version for 1.6.1 is just the same. Thumbs up all the way.
@Elektroktay Done in 2.0.0.
@Shicking I couldn't find anything broken with the current version (1.9) and Minecraft 1.6.1. Please open a thread in the "Issues" forum including your configuration and what exactly is happening (make sure you enable debug logging in the config to get more information in the console).
2.0.0 is about to be released (hopefully this weekend, unless I find major problems with the MC update).
Hello, When can I expect to see a 1.6 version of this plugin released? My 300 player server has experienced a huge downfall of traffic (300 -> 200) just because this plugin isn't working with 1.6 & everyone who dies loses their inventories.
@Bone008
I run 4 servers mate and they all got your plugin. Most of my plugins are all dev builds.
Ill definitely be glad to test your new version.
Edit: Perhaps I should have read carefuller. Didn't see you wanted all the issues to go into the forum. Sorry. Anyways, this is a brilliant plugin, its working near-perfectly, I'm just trying to fix one thing.