MinecraftHub.io
Server Plugins

DeathBan

A lightweight plugin for hardcore survival servers that bans a player the moment they die. Ban length, delay, IP bans and a PvP-only mode are set in one config file.

MinecraftHub-generated cover art for DeathBan: a floating snowy block island with server racks, under a sunset sky

Screenshot 1 of 1. MinecraftHub-generated cover art for DeathBan: a floating snowy block island with server racks, under a sunset sky

What DeathBan works with.

PlatformJava Edition
LoadersBukkit, Folia, Paper, Purpur, Spigot
Minecraft versions1.16, 1.16.5, 1.20.6, 1.21.11, 26.1.2, 26.2, 26.3

DeathBan is a deathban plugin for Bukkit, Spigot, Paper, Purpur and Folia servers. When a player dies, it bans them, which makes it a natural fit for hardcore survival. It runs on the server only, so players install nothing and join as usual.

Server software and versions

  • Bukkit, Paper, Purpur and Spigot: Minecraft 1.16 to 26.3. The newest build needs no dependencies.
  • Folia: Minecraft 1.21 to 26.3. The newest build needs no dependencies.

What it does

The plugin is deliberately narrow. One event, death, triggers one result, a ban. Everything else is tuning, and all of it lives in a single config file.

  • Ban delay in seconds between death and the ban.
  • Ban duration in minutes, where 0 means permanent. The example config uses 30.
  • PvP mode, which bans only when another player lands the killing blow.
  • IP banning, which blocks the address instead of the player name.
  • Optional spectator mode after death, until the ban lands.
  • Ban messages with colours and formatting through Adventure API MiniMessage, shown again when a banned player tries to rejoin.

Installation

Setup is the standard plugin routine. If you have not done it before, the guide on how to install plugins on a Minecraft server covers it.

  1. 1.Put the DeathBan file in the plugins folder.
  2. 2.Restart the server.
  3. 3.Edit plugins/DeathBan/config.yml to set the ban reason, delay, duration and modes.

Configuration and permissions

The settings block holds banreason, ban-delay, spectator-after-death, ban-time, ban-ip, ignore-permission, player-kill-only and debug. Turn debug on when you need logging to see why a ban did or did not fire.

One permission is documented, deathban.immune, which exempts a player from death bans. Setting ignore-permission to true makes the plugin disregard that node, so everyone is bannable.

The feature set stops at death bans. There is no revive system, lives counter or other hardcore tooling in the documented features, so pair it with other plugins if you want those.

Questions about DeathBan.

5 questions

How do I make a Minecraft server ban players when they die?

Install a plugin such as DeathBan. Put its file in the plugins folder, restart, then edit config.yml to set the ban delay and duration. From then on, any player who dies is banned, unless they hold the deathban.immune permission.

Can DeathBan ban only players killed by other players?

Yes. Setting player-kill-only to true in config.yml limits bans to deaths caused by another player. Deaths from mobs, falling or other causes then no longer trigger a ban.

Does DeathBan work on Folia?

Yes. Folia support arrived in release 1.3.0, and the newest release, 1.3.1, lists Folia among its loaders. Folia builds exist for Minecraft 1.21 and later.

Can I exempt admins from death bans?

Yes. Give them the deathban.immune permission through your permissions plugin. Leave ignore-permission set to false, because setting it to true makes DeathBan disregard that node entirely.

How long does a DeathBan ban last?

You choose. The ban-time setting is in minutes, and 0 makes the ban permanent. The example config uses 30 minutes, with a 3 second delay between death and ban.

More Server Plugins like DeathBan.

Guides for Server Plugins.

Browse all Minecraft server plugins ↗