- Tested MC versions
- 1.19, 1.20, 1.21
BanPlayerOnDeath
A Spigot plugin that bans players for a configurable duration upon death, announces death coordinates, and automatically unbans them when the time expires.
Installation
- Download or build the
PALATA_BanPlayerOnDeath.jar(located in the PALATA repository). - Place the JAR into your server’s
plugins/folder. - Restart (or
/reload) your server. A defaultconfig.ymlwill be generated underplugins/PALATA_BanPlayerOnDeath/.
Configuration
Edit plugins/PALATA_BanPlayerOnDeath/config.yml to suit your server:
# Enable or disable the DeathBan system
isEnabled: false
# Ban duration in minutes after death
minutesToBan: 30
# (Internal) Timestamp when DeathBan will auto-enable
schedule:
enableAt: 0
# (Internal) Map of banned players (UUID → unban timestamp)
bannedPlayers: {}
Keys explained:
isEnabled— toggles the system on/off.minutesToBan— how long (in minutes) a player stays banned after dying.
Commands
All commands require operator (OP) status.
/deathban on
/deathban off
/deathban info
/deathban schedule <minutes>
/deathban unban <player>
/deathban on— enable automatic bans on death/deathban off— disable the system/deathban info— display whether DeathBan is currently on or off/deathban schedule <minutes>— schedule DeathBan to turn on after<minutes>; broadcasts warnings at 1 hour and 30 minutes beforehand/deathban unban <player>— manually lift a player’s ban before it expires
How It Works
- On player death (when enabled):
- Records
banUntil = now + minutesToBaninbannedPlayers. - Sends a death message and kicks the player after 10 seconds, showing their ban duration and death coordinates.
- Records
- On player join:
- If
banUntil > now, immediately kicks them with the remaining ban time. - If
banUntil ≤ now, removes their entry and allows login.
- If
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta