DeathHappens

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


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files