DeathChest v1.33b (Build 480) When you die and there is a chest in your inventory, it will be placed where you die or in a free spot (searching upwards). The chest will be filled with as many items as possible and any item that does not fit in the chest will be dropped. If you got two chests in your inventory and the items in your inventory do not fit in a single chest, a double chest containing all your items will be created. If you've got a sign in your inventory, a memorial sign will be created above your chest containing the Sign Template (see below). If you rightclick this sign as owner of the chest, all items (leaving those which do not fit in the chest) will be transferred to your inventory. Features: Stores all your item drops in chests when dying if you have got a chest in your inventory Creates a sign with configurable content! (/plugins/DeathChest/signTemplate.tmplt, see "Sign Templates" for further information) Chest expiration! Chests are removed after a certain set of time which is also configurable in the config.yml! When using the Permissions plugin, only users with the permission 'DeathChest.use' can drop DeathChest when dying. If not using it, everyone will drop chests. Adds the Permission 'DeathChest.freeChest' to a group or player will remove the requirement to have a chest in their inventory. This way they will always drop a chest when dying. (They still need to have the 'DeathChest.use' Permission!) Adds the Permission 'DeathChest.freeSign' to a group or player will remove the requirement to have a sign in their inventory to place a memorial sign above their chest. LWC Support: protect chests & signs with LWC if this is enabled in the configuration Local Permissions for non-Permissions users! Easy configuration of permissions with a permissions.yml file! Sign quick loot: click the sign of your chest to loot your chest. Configuration Code: # This is the configuration file of DeathChest # Lines with # are comments and are ignored # placeSigns: true if signs shall be placed, false if not # protectChests: true if LWC shall be used to protect chests # protectSigns: true if LWC shall be used to protect signs # expiration: Time (in minutes) when chests shall disappear with all items. 0 = never. # dropItemsOnExpiration: true if items shall be dropped when deleting an expire chest. # removeUponQuickLoot: true if chest and signs shall be removed when quicklooting # removeChestIfAvailable: true if chests shall be removed from the inventory of a user with the # freeChest permission if they have got one in their inventory # removeSignIfAvailable: the same as removeChestIfAvailable for Signs # permissionSystem: Sets the permission system that should be used: LOCAL, PERMISSIONS, GROUPMANAGER or detect death: placeSigns: true protectChests: false protectSigns: false chests: expiration: 0 dropItemsOnExpiration: true removeUponQuickLoot: false permissions: removeChestIfAvailable: false removeSignIfAvailable: false permissionSystem: detect This is the default configuration (located in /plugins/DeathChest/config.yml). The configuration is created when first time running the plugin. Editing the configuration is either done with an editor (like notepad) or with the in-game configuration editing. This requires Op rights when using a player or can be done through the console: just type in /dc config <node that you want to edit, ex: expiration> <a valid value: ex 0> Note that configuration files from older versions may be incompatible with newer versions and that you have to either delete and generate a new one or to edit the nodes. Sign Templates Code: Line 1: +name+ Line 2: +date+ +time+ Line 3: +cause+ Line 4: R.I.P. Date Format: MM-dd Time Format: HH:mm:ss This is the default Sign Template (located in /plugins/DeathChest/signTemplate.tmptl). At the moment there are 4 variables: +name+, +date+, +time+ and +cause+. +cause+ contains these strings: TNT, Cactus, Drowning, Zombie, Skeleton, Creeper, Spider, Ghast, Giant, Pig Zombie, Slime, the player name of the player who killed you, Falling, Fire, Lava, Suffocation and Suicide (when doing /kill). Date Format and Time Format define how time (or date) are formatted. Ex: MM-dd will give "08-15" (15th of August). The text will be shown on the signs above the chests. Permissions: This plugin is compatible with Permissions 2.51 (All versions except 2.0 and below should work), GroupManager (0.99d+) and it's own local permissions system. These Permission Nodes are used with Permissions 2.51 and GroupManager: 'DeathChest.use' - allows people to use DeathChest 'DeathChest.freeChest' - deletes the requirement to have a chest (or two) in their inventory. (People with this Permission still need 'DeathChest.use' to use DeathChest. 'DeathChest.freeSign' - same as freeChest for signs. 'DeathChest.allowQuickLoot' - allows quicklooting when rightclicking the sign 'DeathChest.protect' - Protects all chests and signs of this users (if enabled in the configuration and if LWC is installed) with LWC Note that when NOT having the Permission or GroupManager plugin, the local Permissions System (only avaible after v1.31b) will be used. It will be located in /plugins/DeathChest/permissions.yml. Read through the file and your questions will be answered. You can also switch the permission systems through the configuration node 'permissionSystem'. (See Configuration) Commands /dchest info|version - shows info about your DeathChest version /dchest config - shows the current configuration /dchest config <node> <value> - edits the configuration and changes the value of <node> to <value> /dchest reload - reloads configuration and sign template. All Commands require Op rights. Download DeathChest(v1.33b) Changelog: After releases with a configuration file changes, I suggest to delete (or rename) your old configuration and let the plugin generate a new one. This way it's more save for you to edit the file. Version 1.33b Bugfixes Code optimization Permissions 2.51 and GroupManager are now both compatible. You can choose your permission system in the configuration. Fixed the permission node 'DeathChest.protect'; this is required for those users whos chests&signs should be protected *I maybe forgot some points here Version 1.32b Updated to newer bukkit builds (tested with 438) Changed commands: from /dc to /dchest. Added new commands: /dchest info|version: Shows info about the DeathChest version, /dchest config: Shows the current configuration. Version 1.31b (300-347) (348+) Fixed a second bug that caused errors when not using LWC Added local permissions system located in /plugins/DeathChest/permissions.yml Fixed for CraftBukkit build 348+ Version 1.3b Fixed a bug that caused errors when not using LWC Added a new configuration node: chests.removeUponQuickLoot. See "Configuration" for further information Added a command: /dc reload; This requires Op rights in-game. It reloads the configuration and sign template without clearing the DeathChest list (which happens when doing a server reload) Added a new Sign Template variable: +cause+; See "Sign Templates" for further information. Didn't add configurable sign position: postponed to v1.4. Version 1.21b (Note, this is a beta release and MAY contain bugs) Fixed a bug that caused errors when placing single chests. Added and modified configuration nodes. Notice that when updating from older versions that some nodes became inactive and were replaced by new ones. See "Configuraiton" for further information Added sign protection Added Permission node 'DeathChest.allowQuickLoot' Version 1.2b (Note, this is a beta release and MAY contain bugs) Added LWC support (new configuration node: useLWCProtection) Added configurable Sign Template (/plugins/DeathChest/signTemplate.tmplt) See "Sign Templates" for more information. Added quickloot sign: owners of DeathChest can click the sign above the chest to completely (or partially if the inventory can not hold all items) loot the chest Added sign-consuming (now needs a sign in the inventory to place a sign above the chest) Added new permission node: DeathChest.freeSign Fixed Bugs: Chests now pick up armor and do not destroy blocks (if not necessary because of space problems) when being placed. Version 1.1 Added expiration timer. Added configuration file. Added Permissions suppport. Added warnings when people destroy your DeathChest. Added warnings before your DeathChest expires. Version 1.0 First public release. Bugs The WorldGuard /slay command does not trigger a DeathChest - This seems to be caused by WorldGuard. If you experience bugs, please submit what doesn't happen right, the version of DeathChest you are using, which craftbukkit build #, the configuration file and the error stacktrace (if there is one). TODO Add configuration for the Sign Position - in progress for v1.4 TODO nodes marked as 'Done' are already coded and will be added in future releases. Info: The plugin was tested with craftbukkit build 300+. It may work with older versions, but this can lead to errors or other unwanted results. Also beta releases (marked with vx.xb) may contain bugs and lead to errors (or worse things). I'm open for suggestions!