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
@eddoras
If I get this correct you want a max limit of Items to transferred. If this limit would be reached you have two Possibility of transferring: 1st: strait line down the inventory (random = false), 2nd: search the items to be transferred randomly and be transferred (random = true). Also if I get it right, there should be a Flag to transfer equipped items (helmet, chest, ...) too.
If i'm wrong on this, correct me. This should be possible. (My English is not the best too, i'm from Germany)
Could u add random item and max transfer number?
I mean if randomitem enabled and if max transfer number is 1 and i have dia sword, iron helm, golden boots, when im died plugin choose randomly one of these 3 item and transfer one ıf this because max transfer no. set to, sorry for bad english and i hope u understand what i mean ^_^
@HUDuser
okay. I'm on it. The Problem is the old Event system which is completely different from the new one. Single Chest is already working. I'm on Double-chest now.
I'm testing it now with 1.1 R4. It seems to be possible after all. ;) I don't know, if I can get all stuff to work. I have no idea of LWC pre 1.2.3. So this will probably not be included.
Okay. Got it to work with DoubleChests. Version 1.0 will support BukkitVersion: 1.1.R4!
@Tobiyas
Shortly after posting I actually figured out the issue. I did not realize the version difference in the download and my Bukkit. My Bukkit is only in 1.1 R4 because that is what Tekkit runs Minecraft and Bukkit as. So the problem was that I needed the updating, not the plugin. Which means, though, I cannot use this sadly :/ Maybe you could make it backwards compatible for the Tekkit fans out there?
@HUDuser
very strange. I just tried to start it without any of the other plugins and it did not error. Could you give the Stack-Trace for the Error? This would help a lot. Which Craftbukkit version are you running?
@Tobiyas
Should all be accurate. The sign is placed on the side of the block directly behind the chest. I press enter once when the sign is placed, and then I enter [DeathChest] and exit it. The sign just stays normal though.
I am listed as admin in the Permissions and the node for the plugin is inputted correctly.
I have neither LWC or WorldGuard installed and have disabled both of those. Vault is installed and seems to function.
The error that appears is during the loading of DeathChest. It says "an error occurred when enabling DeathChest v 1.0 (Is it up to date?)" It should be up to date because I downloaded this yesterday.
@HUDuser
Have you posted it in the Second line of a sign? Is there any error in the console? Is there any output to you? Do you have Vault installed? (Plugin) Do you have WorldGuard or LWC? Just some questions so I can locate the Error.
If you don't have LWC installed, try disabling LWC options in the config If you don't have WorldGuard installed, try diabling WorldGuard options in the config
I'm having problems creating a chest too, even though I should have the permissions and I did enter [DeathChest] into the sign above the chest. Any suggestions?
@Pendar2
haha :) lol. I didn't mention the obvios thing of all... Editing it into the Text. I need critic so I can correct descriptions and fix bugs I might not find myself.
How do I create a deathchest with a sign. Really useful plugin btw because i dont have to use negative nodes which can be annoying with inheritance.