DeathChest
DeathChest v1.13
Features
DeathChest is a Plugin for controlling the death of a Player. Each Player can set his DeathChest somewhere in a world. If he dies, his inventory will be transferred to this chest. You can also set packages of worlds for which the Inventory will be transferred to. A Player can therefore only place one DeathChest in one World-Package.
For example: Player a has the save inventory in world c and world d. His DeathChest is located in world c. He dies in world d. His inventory will be transferred to the DeathChest in World c.
There is also the possibility to place a chest at the death of a Player. The DeathChest created by the player will always be preferred to the SpawnChest on his death location. The SpawnChest can be activated by giving the Player the Permission: deathchest.spawnchest
There is an alternative to the SpawnChest: The Grave Yard signs. When a player dies, a sign is spawned at his death location. If the player destroys it again, his Items and part of his exp will be dropped. It can be changed between Grave Yard Signs and SpawnChests, changeing the option in the config.yml.
If you want weather SpawnChests nor Grave Yard Signs, just set the Config option to: plugin.General.useDeathSpawnType: 'none'
There are also several config-options to limit the transfer to the DeathChest.
HOWTO:
How do I actually create a DeathChest?
This is simple. You just have to create a Sign above a Chest or a DoubleChest with the Letters: "deathchest" (not case sensitive) in any line of a Chest. After placing this sign, the DeathChest will be created and the first line will be filled with your name, the third line will be filled with the worldname the chest is in. (creating a DeathChest needs the Permission: deathchest.signedchest.create, saving your Inventory after you died to this chest needs the Permission: deathchest.signchest.saveto or just simply: deathchest.signchest.use (includes the permission to build, too))
With the Permission: deathchest.signchest.create.other a player can create a DeathChest of another person. Therefore line 0 has to be: "deathchest", line 1 has to be the Name of the Player.
A little guide is located at the Images: link
Commands
Detailed information can be found under Pages -> Commands link
- /dchelp: a short overview over the commands in DeathChest
- /dcreload: reloads the configuration of DeathChest
- /dcversion: displays the Version of DeathChest
- /dcpermcheck: checks all permissions of you and display them
- /dcport: ports to your DeathChest (Still Experimental)
- /dcgravelist [PlayerName]: lists all your GraveYard Signs and the time till witter
- /dcgraveport [Number] [PlayerName]: ports yourself to the GraveStone of Player with the given number
- /dcremove [WorldName] [PlayerName]: removes the DeathChest of 'Player' From 'World'
Config
Config help can be found under: Pages -> Config link
Permissions
Description for Permissions in Pages -> Permissions link ATTENTION! PERMISSIONS CHANGE WITH 1.04
Dependencies (Plugins)
Hard Dependencies:
- none
Soft Dependencies:
- one of the following PermissionPlugins: Vault, PermissionsEx, GroupManager, PermissionsBukkit
- WorldGuard: for Config-Option to check if player may place Chest on this position
- LWC : for Config-Options to check and set Player-Protection to Chests
- SecureChests : for alternate use instead of LWC
- Lockette: for alternate use instead of LWC
- BattleNight: for checking if player is in battle
Other
- If someone finds a Bug or requests a new Feature, just write it in the comments or create a ticket. I will then try to answer and fix / implement it if it seems usefull
Known Bugs
- none to know
Planed for next Version (1.14)
- Nothing new yet
- Bugfixes if found
Can someone help? For some reason, it keeps the XP on death, and you don't lose it all. Can I turn this off? EDIT: I do have the XP restore thing set to 0 in the config, but the player still keeps all XP.
hey, im having issues between deathchest and another plugin, could you please add the ability to disable deathchest within certain regions? thanks :D
@JamieKG
Well than I'm sorry. I don't know Mcpc + very much to tell what's going wrong. When it has the normal Bukkit API, it should work. If not, well than not.
@Tobiyas
I have but for some reason it dont work in one of the worlds although its in the config
@JamieKG
I have never used it. Feel free to test it.
Do you support Mcpc + and the use of your plugin on modded servers ?
@Tobiyas
Thanks for looking into that Tobiyas.
@avataracid
hm... could be an idea to do so. No there is no possibility at the moment to do this. I'll see if that is easy addable.
@Tobiyas
Hello Tobiyas,
I don't suppose there is an option, when using drop chest on death and not sign above double chest, to spawn a double chest?
Example; SpawnChest type: doublechest
The single chest is 9 slots short of a players inventory space, I'd like to get the double chest dropped where they die at the same time don't want them to be able to place a deathchest themselves.
Thanks,
Av
@TacoGerbil
There is a config option for that:
Also if you don't want to have this in the chest, configure your package.yml correct. If the world does not appear in any package, it is deactivated for this world.
@Neiyuki
Thanks for the notice. You are the first to want SuperPerms support. :) I'll look into it.
Excuse me, could you please check the tickets submitted recently?
Is there a way to disable this plugin on certain worlds? I have battle arena and have the maps on a separate world to facilitate this.. Every time they die with a certain kit, their items from that kit (diamond armor.. etc..) appears in their death chest.
@avataracid
Thank you.
That's what the comments are for. ;) To ask questions if something is unclear.
@Tobiyas
So it does! Apologies, don't know how I missed that :) Great plugin.
@avataracid
There is a configuration option (plugin.General.useDeathSpawnType).
If you set this to: 'chest' , chests will spawn instead of Signs.
I have been able to get deathchest to drop a sign/gravestone which a player needs to break in order to collect their items/10% of their experience.
How do I get deathchest to produce a chest where they die instead of the sign/gravestone? We don't wish to use the function of assigning a deathchest via sign, would love to see an option to drop a chest instead of a sign on death.
@paklic9
I tried this at my own Server and it worked. Could you past me a copy of your config.yml here?
Maybe I didn't set something in the config like you.
Hi, i have problem, when i set in config 1 my world at no spawn sing with items, after when i die in this world items lost... items not at ground, but msg say items will at ground. How can fix pls? Sorry for my english, i think you understand me.
New Version (1.13.2) is out. It fixes the Permission error when players die without permission for DC.
Also it fixes a small error in EXP calculation on death.
This version is also tested on 1.6.2. (just to say)
Just have to wait till bukkit staf aproves it.
@rudolfs001
Thanks for the hint.
The issue is already in the ticket section.
I'll fix it today.
@mrnosuch
Should work out of the box. 1.6 api hasn't changed for the stuff I use.