Home›Java›Mods›DeathChest with econemy
DeathChest with econemy
ModsJava

DeathChest with econemy

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
DeathChest is a plugin that gives a dead player the opportunity to buy their items back in a chest.

What the plugin does:

When a player dies the players items get inside a chest in spawn, or anywhere else that it's placed.
[​IMG]

When the player right-click the DeathChest an inventory opens up, where the player can purchase the items back.

[​IMG]

Mark: the chest does NOT spawn, where the player died.

How DeathChest works:

When a player dies is none of his items dropped. All the items is placed into the players own DeathChest. The player goes to a placed DeathChest, typical placed in the spawn region.
The player right-click the chest. A inventory opens up with all the players items he had, when the player dies. In the bottom are there a item, that the player can click on for buy the items back. The player's iventory have to be empty for buying the items.

Create a DeathChest:
A typical DeathChest will be placed in spawn. Only a player with the permission deathchest.new is able to create a DeathChest.
When you a going to create a DeathChest place a chest where you wan't it to be. It can be a singlechest or doublechest. While you use the command /deathchest new look at the chest you want to be a DeathChest. If you have created a singlechest, and want a double chest, simply place a chest next to it, and then it's a working doublechest.

Remove a DeathChest:
If you wan't to remove a DeathChest simply remove the chest. If it's a double chest and you only remove one of the chest's it will still work, but as a single chest. If you wan't to completly remove it just remove both the chests.


Commands:
- /deathchest,dc - Gives a list of all the commands
- /deathchest,dc new - Create a new DeathChest by looking at the choosen chest. You can remove it again by destroying the chest.
- /deathchest,dc see [player] - Opens op an inventory with a players chest
- /deathchest,dc buy - Opens op an inventory, where the player can purchase the items back
- /deathcommands,dc reload - Reloads the config files.


Permissions:
- deathchest.commandlist - Gives permission to see the commands
- deathchest.new - Gives permission to create a new DeathChest
- deathchest.remove - Gives permission to remove a DeathChest
- deathchest.see - Gives permission to see another players chest
- deathchest.buy - Gives permission to buy the players items by a command
- deathchest.reload - Gives permission to reload the config files
- deathchest.* - Gives permission to all commands
If a player is OP, the player automatically get permission to all the commands

Config description:
Code (Text):
chest-options:
   name-over-chest: '&7DeathChest'
   chest-menu-name: '&aDeathChest'
   chest-buy-item:
      item-type: 35;14
      name: '&cBuy'
      lore:
      - '&6Click here'
      - '&6to buy'
      - '&6your items'
      - '&6back'
   cost: 100
   allowNegativeBalance: false
   timeToRemoveItems: 300
name-over-chest is the name that you can see at the first picture. (Hover over chest)
chest-menu-name is the menu name that you can see at the second picture.(Inventory name)

chest-buy-item is some options for the item, that you click on to buy the player's items back. This configuration can you see at the second picture.
item-type is the the item's id, in this case it's red wool
name is the name of the item
lore is a list of the item's lore.

cost is how much it cost's to get the items back. Set it to 0 if it should not cost anything.
allowNegativeBalance can be true/ false if it's false the player have to have the amount of money it costs, if it's true the player get's a negative value if the player don't have enough money.

timeToRemoveItems is the time that goes before the players items will be removed. The time is en seconds, at default it's 300 seconds (5 minutes).

Any trouble, bugs or other stuff please contact me :)

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

DeathChest with econemy is a free Minecraft Java mod. Downloaded 567 times (via Spigot). Download it and open it directly in the game.

Explore more