promotional bannermobile promotional banner

DeathPenalty

Penalize players on death by making them ghosts when they die!
Back to Files

DeathPenalty 2.2

File nameDeathPenalty.jar
Uploaded
Apr 22, 2012
Downloads
117.1K
Size
21.6 KB
File ID
589509
Type
R
Release
Supported game versions
  • CB 1.2.5-R1.0

What's new

v2.2

  • Fixed a bug where players would automatically be banned after their first death after being unbanned.
  • Added an addlife command (this can be used by the console)
  • Sped up the hiding of ghosts

v2.1

  • Updated to CB 1.2.5-R1.0
  • Fixed a bug where players would lose their inventory when they are resurrected. (This still happens if ghostFly is set to true, so players cannot give themselves items when a ghost and then keep the items)
  • Fixed the algorithm for maxGhostTimes so that the number wouldn't have to be one more than the actual number (e.g. 3 would mean they can be a ghost 3 times before they are banned (if banOnGhostLifeDepletion is enabled)
  • Minor bug fixes
  • Added a "fixghosts" command to hide ghosts manually
  • Added a "reload" command to reload the configuration from the file

v2.0.1

  • Added functionality to override Factions and other plugins when the ghost is spawned at the correct location (now they spawn at the location you set rather than their faction's home)
  • Small error fix

v2.0

  • Tested working also with CB 1.2.4-R0.1 (Build 2042)
  • Added a lives system where if you lose your lives, you become a ghost
  • Added a ghost lives system where if you become a ghost too many times and the option in the configuration is enabled, you're banned for a specified amount of time (in seconds)
  • Changed the database structure and reduced calls to database for efficiency
  • Added an option in the configuration to have players be ghosts permanently

v1.4

  • Tested with CB 1.2.3-R0.2
  • Made it so that ghosts are hidden from players but not ghosts or players with the deathpenalty.see permission (operators get this by default)
  • Added a feature to make ghosts able to fly around (configurable). This makes them switch to creative mode, but they can't do anything. When they are made a player again, their inventory is cleared so they can't get items from creative.

v1.3

  • Added the ability to have a location for ghosts to go to when they are made a player again
  • Added a command to check how much longer a ghost has to wait

v1.2

  • Changed the saving location of the ghost spawn (you may delete the ghostSpawn value in the config
  • Made the spawn also save the world (so that you can have a ghost spawn in whatever world you want, not just the main world)
  • Added a resurrect command (with a permission node or just from the console; If usePermissions is off, admins do NOT get this command by default)

v1.1

  • Added a feature to let players eat cake and have their ghost time decreased by a value in the config
  • Added a config value to enable/disable end/nether portal use when being a ghost
  • Added a death override permission so you don't become a ghost upon death
  • Fixed a check in the code that would not let you teleport to the spawn on death until you reloaded the server (now it teleports you)

v1.0

  • First release

This mod has no additional files