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 you add support for Residence? Players in my server keep greifing by repeatedly dying in the res protection and it is really tiresome for us admins
Ok must have misunderstood reference to deathchest being preferred to spawn chest para above.
I figured as much with xp seen hickups with most xp plugins of some sort ( ie deathtpplus)
thanks for reply, keep up the good work. and Please consider adding a command and permission of course for teleport back to death,the kids will appreciate it :)
@ohjays If you have a deathchest there will not spawn a GraveYard Sign (actually no reason why it should.. Stuff is transferred to Deathchest, so we need no extra container on the death position).
I actually did not want a command to port to the death location. It's not really in the intend of the plugin. (maybe gonna add a port to death-container command, lets see).
EXP is very problematic, since it is imposible to check if other plugins save the value and store it to the player afterwards. DeathChest takes all EXP left to the player on it's death and sets it to 0 afterwards. If you have massive problems with the EXP saving, I suggest deactivating it in DeathChest. (set config option: 'plugin.SpawnSign.EXPValue' to 0) This will disable DeathChest saving EXP.
Lockette support is only for creating a DeathChest. Lockette does not have a usefull API for locking a newly created chest. If you are using Spawnchests.
Ive setup a little crypt with deathchests and pasted lockette signs on chests, but the deathsign only appears if i remove the deathchest sign ( similar with the spawnchest)
Also i see i misread the purpose of /dcport any chance of a command to jump to point of death hmm maybe /dcdeath
Ive also had some oddities with xp values on restore , it seem to get confused if other plugins touch xp in some way ie setxp i set my xp but it wont restore it right, yet another command xp <user> amount seems to work ok ??. ( im also using deathtpplus for its /deathtp and [tomb] signs for spawn and teleport and xpshop for changing xp <->$, removed these at the moment, as something was screwing up xp restore badly ) .
how is lockette supposed to work, i havent figured it out it seems :)
thanks for a neat plugin
@erdrickk No, This is not possible for chests at the moment.
Is there somewhere in the config to say how long LWC lasts on a chest? is this possible say to make them locked for only 5 min? I see that option for signs, not chests or am I blind?
Good plugin ! ;D
@Sniffy234 Not sure, if it is because of the old Version. For me everything works. Give your User the PermissionNode: deathchest.signchest.use: true
and for teleportation:
deathchest.signchest.port: true
Just tested it with the upcoming release (1.08). Had no issues.
I'm gonna throw out 1.08 today. So you should wait, if it doesn't work properly.
Im having trouble getting the permissions to work. I'm using PermissionsBukkit. At the moment only admis and ops can make a death chest. I want is so normal users can make there own death chest. I put the permission node under the permission tab in the user group section and reloaded but users still can't make there own.
Hope you can help
@ohjays First: /dcport Found the error. Itterated always throw the wrong location... Should work with the next version correctly. It now searches a 2*1 place filled with air 4*4*4 around the deathchest. And if it doesn't find any, it wont let you teleport there, since you would die again... not usefull ;).
Second: Lockette I will take a look if it is easily possible. Is possible, but very limited, since it it only possible to check permission of a chest and not set them. But it should work.
@Atspulgs I have to take a look how the API of BattleNight works.
EDIT: I checked the API of BattleNight. Well.. I messaged the creator, because I see no easy possibility at the moment. EDIT2: Got an answer. Should be no problem to check.
This plugin isn't very happy working alongside BattleNight plugin. Is it possible to disable the effects of this plugin on a player thats in the battle and enable it once the players back out of it again?
great was looking for a plugin with a deathchest you can set to a location. deathtpplus is great but buggy , and lava means disaster, and the (teleport) [tomb] sign keeps breaking for me.
/dcport does not work properly for me unfortunately, created a deathchest ( which works) but the x coord seems to be wrong when i use /dcport for me. will try some different deathchest locations :)
pity it doesnt support lockette which im using but with fixed chest locations i can slap them on for the kids manually
@erdrickk It works, but sometimes players land in blocks and die because they are in a block. I couldn't actually figure out, when it happens. It sometimes randomly happens. Gonna take a closer look on it.
How well does /dcport work? this is the feature I am waiting for to be stable so I can ditch DeathTPPlus
@Grimlock257 No problem :) Glad I could help.
@Tobiyas
Oh, sorry, Didn't see that :( Sorry for taking your time.
@Grimlock257 Which Version do you mean? There is actually a 1.07 version for Java 6 in the download category.
Does this require Java 7?Later reading down here, You do. Would it be possible to re-compile this plugin in Java 6 please, As I can not up date my Java as Im using a minecraft host that does not give me the option to choose the version of java. Thanks.I just have to say thank you. seeing you have SecureChests support makes me feel all warm and fuzzy inside. if you have any suggestions or comments on the API (which I'm still working on which is why i don't have any documentation on it) Please feel free to ask me anything about it, or make suggestions.
@Ordush
Which errors come with Java 7? I guess I will load an actual version including Java 6, when that many people have problems with Java 7