
DeathTeleportPay
💀 Adds a floating corpse system and paid death teleport — recover your items or pay to return to where you died!
DeathTeleportPay – Immersive Death & Teleportation System
DeathTeleportPay is an advanced Paper plugin that completely reworks the player-death experience. It adds interactive corpses, safe teleportation back to your death location, and an optional PvP reward system – all fully configurable.
✅ Features ⚰️ Interactive Corpses
When a player dies:
A laying corpse appears at the exact death spot.
Uses LibsDisguises + ProtocolLib (if installed) for full-body player skin.
Otherwise falls back to an ArmorStand with the player head.
Displays:
Player name
Live countdown timer
Contains the player’s inventory (nothing drops on the ground).
Sneak + Right-Click → destroy corpse (drops items).
Simple Right-Click → access corpse inventory.
🌊 Lava / Water Floating System
If a player dies in water or lava, the corpse automatically floats:
Detects fluid surface height
Positions the corpse just above the surface
🕳️ Void Protection (The End)
If a player dies in the Void:
A floating unbreakable glass platform is generated
The corpse appears safely above it
Teleportation leads the player back onto this safety block
⏱️ Corpse Timer
Corpses stay for a configurable duration (default 5 minutes). When the timer ends:
Items drop or the corpse is deleted (configurable).
🛡️ Protection Timer
Corpse can be protected for a few seconds after death: Only the owner can open it.
💰 Paid Teleportation
When a player respawns:
A GUI menu pops up with:
Teleport (pay x€)
Cancel
Price, text, and GUI content are fully configurable.
Player is teleported exactly to their death spot, with:
Glass protection if death happened in water, lava, or Void
Open space cleared if suffocated by sand/gravel
⚔️ PvP Kill Rewards (Configurable)
When a player kills someone:
Killer receives X% of the victim’s balance, without removing money from the victim.
Amount is rounded (no decimals).
Cooldown per victim (default: 1 hour).
Fully configurable in config.yml.
⚙️ Dependencies
Not required, but recommended:
Vault (mandatory for economy)
ProtocolLib (optional for skins)
LibsDisguises (optional for full-body corpse skins)
🛠️ Compatibility
Paper 1.21.x
Works with EssentialsX economy through Vault
Fully configurable features
