DeathPenalty punishes players on death — money lost, levels stripped, items destroyed, and monsters spawned — all from a single config file. Every penalty is tunable per-world and per-permission group, so a VIP player or a dangerous dimension can have completely different rules. No GUI needed, no database, no fluff — just a clean punishment model that makes every death count on your server.
Money Penalties — Take a percentage of the player's balance or a flat amount via Vault. Set a minimum floor, a maximum cap, and a separate PvP multiplier for kills by other players.
⭐ XP / Level Loss — Keep all XP, wipe it entirely, remove a specific number of levels, or let vanilla handle it. Fully configurable per profile.
Item Penalties — Five item modes: vanilla drops, keep all, clear all, randomly drop N stacks, or silently destroy N random stacks.
❤️ Respawn Penalties — Force a custom health amount, food level, and arbitrary potion effects on the player when they respawn.
Spawn Monster on Death — Spawn any mob type at the death location. Optionally equip it with the victim's armor and held item.
Run Commands on Death — Execute any console command with %player%, %world%, and %money_lost% placeholders.
Per-World Config — Override any penalty setting for a specific world. Only list the keys you want to change.
Per-Group Penalties — Assign players to groups via deathpenalty.group.<name> permission and give each group its own penalty profile.
WorldGuard Region Support — Add the death-penalty deny flag to any region to silently disable all penalties inside it.
PlaceholderAPI Leaderboards — Built-in %dp_*% expansion with per-player stats and server-wide top-N leaderboards by deaths and money lost.
️ Exempt & Ignore Permissions — Give a player deathpenalty.exempt to protect their inventory on death, or deathpenalty.ignore to disable the plugin for them entirely. Both support per-world variants.
Automatic Stats Persistence — Death counts and money lost are cached in memory and flushed asynchronously to stats.yml on a configurable interval.
Drop
DzusillCore.jar and
DeathPenalty.jar into your server's
plugins/ folder. If you want money penalties, also add Vault and an economy plugin (EssentialsX works great). Start the server once to generate config files.
Edit
plugins/DeathPenalty/config.yml. The
default: section applies to everyone. Use
worlds: and
groups: to override specific keys for specific worlds or permission groups.
Code (Text):
default:
money:
mode: PERCENT # take 10% of balance on death
amount: 10.0
pvp-multiplier: 1.5 # 15% if killed by another player
worlds:
world_nether:
money:
amount: 25.0 # Nether is more dangerous — lose more