COWMODSКаталог модов

Death Penalty

Advanced death penalty system: Economy, EXP, inventory & stats per world or rank

Автор: dhannyjsb330обновлён 18 сент. 2026 г.
ЭкономикаЕдаУтилиты

Описание

💀 DeathPenalty (Free Edition)

The Ultimate Death Consequence, Economy Sink & Survival Balancing Plugin

PaperMC Folia Java Discord


Reward tactical survival, stabilize your server economy, and give real meaning to every death without frustrating your players.


📖 Why DeathPenalty?

In vanilla Minecraft and casual SMP servers, death often feels either completely meaningless (with /gamerule keepInventory true, where dying is used as a free teleport back home) or overly punishing (losing hours of hard-earned gear into lava or despawning items).

Furthermore, server economies suffer from constant inflation: players accumulate millions of currency with very few natural sinks to keep money circulating.

DeathPenalty solves both problems with surgical precision:

  1. Dynamic Economic Balance: Introduce fair, scalable currency deductions (flat rate or percentage) upon death.
  2. Rebalancing KeepInventory: Keep item inventories safe while still enforcing real consequences through EXP loss, respawn fatigue/debuffs, or physical dropped cash.
  3. Immersive Survival Stakes: Death matters again. Careless play incurs consequences, encouraging smart preparation, team strategy, and cautious exploration.
  4. Modern, Lag-Free Architecture: Built from the ground up for modern Paper and Folia regional multi-threading (1.16.5 up to PaperMC 26.2), with dual HikariCP connection pooling for SQLite and MySQL.

🌟 Key Features Breakdown

💰 1. Dynamic Economy Sink Engine

  • Flexible Deduction Models: Choose between a fixed flat cost (e.g. $250.00 per death) or a percentage of player wealth (e.g. 5% of current balance).
  • Minimum & Maximum Floors: Protect impoverished newcomers with minimum balance safety thresholds while ensuring wealthy veterans face meaningful deductions.
  • Physical Cash Drops: Lost funds can optionally drop as physical collectible items on the ground with customizable item materials, display names, and lore—allowing killers or passersby to scavenge the bounty!
  • Full Vault Compatibility: Works out of the box with EssentialsX, EconomyShopGUI, TheNewEconomy, and any Vault-backed economy.

🎒 2. Smart Inventory & EXP Loss Mechanics

  • Selective Slot & Stack Drops: Drop or permanently delete a configurable number of item stacks or inventory slots on death instead of wiping everything.
  • Full KeepInventory Harmony: Functions seamlessly on servers with keepInventory true, injecting controlled consequences without breaking world rules.
  • Soulbound Item Immunity: Protect special lore-tagged gear (e.g. donor items, quest artifacts, soulbound equipment) from ever being dropped or destroyed.
  • Authentic Vanilla EXP Scaling: Precise vanilla leveling calculations ensure experience penalties match genuine Minecraft level formulas rather than arbitrary flat numbers.

💖 3. Respawn Vitals & Debuff Status Effects

  • Custom Health & Hunger: Control the exact amount of hearts, hunger bars, and saturation players respawn with.
  • Debuff Status Effects: Temporarily inflict atmospheric potion effects on respawn (e.g. Slowness, Mining Fatigue, Weakness, Blindness) to discourage reckless "kamikaze" gameplay.
  • Custom Durations & Amplifiers: Set individual durations and potencies for every potion effect directly via in-game menus.

🧟 4. Revenge Revenant Mobs

  • Vengeful Guardians: Automatically spawn an aggressive custom mob (Zombie, Skeleton, Piglin, etc.) directly at the player's death coordinate.
  • Sunlight Protection: Mobs can spawn wearing protective helmets to prevent daylight burning.
  • Loot Defenders: Forces players to earn back their dropped loot by confronting the guardian that watches over their grave.

🌐 5. Dynamic Per-Player Multi-Language (10 Languages)

  • 10 Built-in Language Files: Automatically generated and translated:
    • 🇺🇸 English (en_US)
    • 🇮🇩 Bahasa Indonesia (id_ID)
    • 🇨🇳 Simplified Chinese (zh_CN)
    • 🇯🇵 Japanese (ja_JP)
    • 🇪🇸 Spanish (es_ES)
    • 🇮🇹 Italian (it_IT)
    • 🇸🇦 Arabic (ar_SA)
    • 🇩🇪 German (de_DE)
    • 🇫🇷 French (fr_FR)
    • 🇷🇺 Russian (ru_RU)
  • Instant Per-Player Toggle: Each player can switch their personal language independently via /dp info without affecting other players.
  • Zero Reload Required: All 14 GUIs, death notices, actionbars, and chat prompts update instantaneously.

💾 6. Dual Database Engine (HikariCP)

  • SQLite & MySQL Ready: Store death counts, lifetime money lost, and player settings in lightweight local SQLite or centralized MySQL networks.
  • 1-Click In-Game Migrator: Easily transfer your entire database from SQLite to MySQL on the fly via /dp convert or directly through the GUI.
  • Zero-Lag Asynchronous Pooling: Powered by native HikariCP with a 20-tick debounce buffer, ensuring a 0.00ms tick impact even under heavy player traffic.

🖥️ 7. 100% NMS-Free GUI & Interactive Chat Prompts

  • Full Visual In-Game Admin: Configure every penalty, percentage, and limit visually with /dp config.
  • Safe Chat Input System: Enter numbers and text directly through intuitive chat prompts—no fragile Anvil packets, no NMS dependencies, and completely crash-proof across Minecraft updates.

📸 In-Game Preview

Player Stats & Language Menu (/dp info)Admin Visual Editor (/dp config)
Player Info GUIAdmin Config GUI
Potion Respawn Effects EditorLimits & Drop Controls
Potion Effects GUILimits GUI

🚀 Installation & Quick Start

  1. Verify Requirements:
    • Server: Paper, Purpur, Folia, or Spigot (1.16.5 up to PaperMC 26.2).
    • Java: Java 17, Java 21, or Java 25.
    • Economy Provider: Vault + any economy plugin (e.g. EssentialsX).
  2. Download & Place:
    • Download the latest DeathPenalty-1.9.1.jar and place it into your server's plugins/ directory.
  3. Start Server:
    • Start your server to generate default configuration files and language templates in plugins/DeathPenalty/.
  4. Customize:
    • Modify settings in-game via /dp config or adjust config.yml directly.
    • Run /dp reload to apply file changes instantly!

⌨️ Commands & Permissions

Commands

CommandAliasDescriptionDefault Permission
/dp info/deathpenalty infoOpens personal death statistics & language selector GUIGranted to all players
/dp config/deathpenalty configOpens the full visual administrative configuration editordeathpenalty.admin
/dp reload/deathpenalty reloadHot-reloads configuration, language files, and cachesdeathpenalty.admin
/dp convert/deathpenalty migrateLaunches the database migration wizard (SQLite ⇄ MySQL)deathpenalty.admin
/dp help/deathpenalty helpDisplays the help manual and available commandsGranted to all players

Permissions

Permission NodeDescriptionRecommendation
deathpenalty.adminFull administrative control over configs, reloads, and migrationServer Operators / Admins
deathpenalty.bypassComplete bypass: immune to all penalties, drops, and debuffsStaff / VIP Godmode
deathpenalty.bypass.moneyExemption from all currency deductions and cash dropsDonors / Rank perk
deathpenalty.bypass.expExemption from experience loss upon deathDonors / Rank perk
deathpenalty.bypass.itemsExemption from random inventory drops and item deletionDonors / Rank perk
deathpenalty.group.<group>Assigns custom group-specific penalty overrides defined in config.ymlTiered Ranks (VIP, MVP)

📊 PlaceholderAPI Integration

DeathPenalty provides rich PlaceholderAPI identifiers (%dp_...%) for scoreboards, TAB lists, chat formats, and holograms:

PlaceholderOutput ExampleDescription
%dp_deaths% / %dp_total_deaths_raw%14Total number of deaths for the player
%dp_total_death%14 deathsFormatted death count string
%dp_money_lost_player%$1,250.00Formatted total money lost by the player
%dp_money_lost_raw%1250.00Raw numeric money lost by the player
%dp_total_money_lost%$48,500.00Server-wide total money lost across all players
%dp_total_money_lost_<world>%$12,300.00Total money lost within a specific world (e.g. world_nether)
%dp_top_death%SteveName of the player with the highest death count
%dp_top_money_lost%AlexName of the player who has lost the most money
%dp_lang%en_USActive language code of the player

🛡️ WorldGuard 7 Integration

Want to disable death penalties inside PvP arenas, minigame lobbies, or spawn regions?

DeathPenalty registers a custom WorldGuard flag:

# Disable death penalty inside a specific region:
/rg flag <region_name> deathpenalty deny

# Re-enable death penalty inside a specific region:
/rg flag <region_name> deathpenalty allow

💎 Check Out DeathPenalty Premium

Looking to transform death into an immersive RPG gameplay system? DeathPenalty Premium adds:

  • 💠 Soul Stability System: Dynamic soul instability points, escalating multipliers, and restorative survival rituals (sleep, survival timers, soul shards).
  • 🧙 Multi-Cleric NPC Management: Place persistent cleric NPCs in towns and villages with customizable treatment fees, dialogue, and insurance policies.
  • 🛡️ Death Insurance System: Players can purchase tiered insurance policies to safeguard inventories and recover lost assets.
  • ☠️ Death Curse System: Terrifying soul afflictions inflicted on death requiring herbal cleanses or sacred rituals.

Галерея

Последние версии

Все версии →
release

Death Penalty 1.9.1

1.9.1
18 сент. 2026 г.33Minecraft: 1.19, 1.20, 1.21, 26.2bukkit, folia, paper, purpur, spigot
Скачать
Что нового
We are thrilled to release **DeathPenalty v1.9.1 (Free Edition)**! This update brings our groundbreaking **Dynamic Per-Player Multi-Language System** with 10 international languages, native **Folia multi-threading compatibility**, modernized **Paper Adventure GUI rendering**, and hardened server shutdown lifecycle management. ### ✨ What's New in v1.9.1 #### 🌐 1. Dynamic Per-Player Multi-Language (10 Languages) * **10 Built-in Language Files:** Automatically generated in `plugins/DeathPenalty/lang/`: * 🇺🇸 English (`en_US`) * 🇮🇩 Bahasa Indonesia (`id_ID`) * 🇨🇳 简体中文 (`zh_CN`) * 🇯🇵 日本語 (`ja_JP`) * 🇪🇸 Español (`es_ES`) * 🇮🇹 Italiano (`it_IT`) * 🇸🇦 العربية (`ar_SA`) * 🇩🇪 Deutsch (`de_DE`) * 🇫🇷 Français (`fr_FR`) * 🇷🇺 Русский (`ru_RU`) * **Instant In-Game Cycling:** Players can change their own language preference independently in `/dp info` or `/dp config` with a single click. * **Zero Reloads Needed:** Interface, messages, drop alerts, and chat prompts adapt **instantly** without reloading the plugin or restarting the server. #### ⚡ 2. Zero-Lag Async Engine & Anti-Leak Hardening * **20-Tick Debounce Buffer:** Player language preferences are saved asynchronously, coalescing rapid clicks into a single batch database write. * **Thread-Safe Architecture:** Uses lightweight `ThreadLocal<String>` primitive locale codes, completely eliminating `CraftPlayer` / entity memory leak risks. * **Flapping Protection:** Instantly flushes pending database transactions and evicts caches when players disconnect. #### 🚀 3. Native Folia & Paper 26.2 Adventure Engine * **Folia Regional Multi-Threading:** Tickers and death listeners run safely across `RegionScheduler` and `EntityScheduler` without main-thread blocking. * **Paper Adventure API Modernization:** Replaced legacy reflection calls with native Paper Adventure components, permanently resolving `NoClassDefFoundError: MinecraftComponentSerializer` crashes. #### 🛡️ 4. Server Lifecycle & Shutdown Safety * **Graceful Disable:** Hardened `onDisable()` ensures pending SQLite / MySQL writes flush completely before the server stops. * Clean cancellation for all schedulers, connection pools, and PlaceholderAPI expansions.