Mineuniverse
Log in Register
Plugins

DeathHappens

DeathHappens - item and XP restoring and deathmessage
by _ForgeUser4634642
Download Claim this project
4,885 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Chat Related General Mechanics

DeathHappens

This Plugin will store your inventory into a previous registered chest when you die. It'll also post a random, message to the server. This messages can be defined by yourself.

Important information on v1.1.9b and following

  • Project requires your server running on Java7 since v1.1.9b
  • make sure you use Java7 or else the plugin will not work

Features

  • deathchests for item storing
  • MySQL or SQLite as database
  • XP restoring
  • random deathmessage
  • configurable ignorelist for worlds where items shouldn't be stored
  • public chest can be added for players without registered chest. This chest will be emptied 2 minutes after death.
  • Database cleanup command

Commands

  • /dh addchest |registers a chest for you
  • /dh removechest |removes your chest from database
  • /dh setchest <playername> |registers a chest for playerxy
  • /dh removechest <playername> |removes chest of playerxy
  • /dh gochest |teleports you to your chest
  • /dh gochest <playername> |teleports you to the chest of the given player
  • /dh setpublic |registers the public chest
Public chest

A public chest will be used for every player without a registered chest. It's usefull if your newbies get a starterkit and you don't want them to loose it. For example you can place it near the spawn so it could be emtied fast. But be carefull in the public chest goes all items from all players who have no registered chest. Also this chest can be reached by the tp command if you write /dh gochest public. But if the player isn't fast enough his items will be autodeleted two minutes after his/her death.

Permissions

  • dh.use |allows to set/remove a chest for own usage
  • dh.tp |gives access to the gochest command
  • dh.tpother |gives access to the gochest of other player command
  • dh.public |gives access to the setpublic command
  • dh.admin |allows you to set/remove chests for other players

Change notes

  • v1.2
  1. fixed SQLite isuue
  2. fixed xp issue
  3. added metrics
  • v1.1.9b (beta for 1.4.5)
  1. added new mobs
  2. better help function
  3. changed configfile to config.yml (should change automatically if any problems accure create a new one)
  4. rewrote a lot of my code Now REQUIRES Java7

known errors in v1.1.9b:

  1. SQLite feature is not working properly sometimes(working on this issue)
  2. found more? please tell me!
  • v1.1
  1. added cleanup command for database
  2. fixed saying killed by "Ghost" when it was a slime or some other
  3. added possibility to use a public deathchest
  • v1.02
  1. now saving xp instead of level
  2. added command to teleport to other players chest
  • v1.01
  1. first release

Known Errors

  1. Exception when trying to add a single chest (to avoid use doublechests when registering)
  2. When someboddy types the add command anybody else gets an error post when left clicking

Planned features

  • support of economy systems (let chest setting cost something or each death)
  • Add possibility to show used item in pvp actions
  • Is anything missing? let me know

Source

source

My other Plugins

PreventDrops

StandardBooks

Here you can see it in action

blackmining.ch

DeathHappens.jar-v1.2
MC CB 1.4.5-R0.2
Release 2012-12-05 Get
DeathHappens.jar-v1.1.9b
MC CB 1.4.5-R0.2
Beta 2012-12-03 Get
DeathHappens.jar-v1.1
MC CB 1.2.5-R4.0
Release 2012-06-30 Get
DeathHappens.jar-v1.02
MC CB 1.2.5-R2.0
Release 2012-05-25 Get
DeathHappens.jar-v1.01
MC CB 1.2.5-R1.2
Release 2012-05-13 Get

More from _ForgeUser4634642

PreventDrops
3,563
StandardBooks
10,023

You Might Also Like

LegendaryMessages
Custom Join Messages
963,227
NoPhantom
Disables and prevents phantom spawning with minimal configuration, removing them from the server
998
Player Profile
Player Profile
996
HubClear
Plugin Request by: LightZz123 -- Clears player's inventory on command /lobby then teleports them to the hub
988
kCmds
kCmds - kCommands
986
PingMe
Legit just a /ping command.
986