ᴍɪɴᴇᴄʀᴀꜰᴛʀᴇꜱᴏᴜʀᴄᴇꜱ

DeathBan

Modrinth

A very simple Minecraft plugin which bans the player when he dies.

18.2K downloads22 followersUpdated 9mo ago

1.3.1 · MC 26.3 · Bukkit, Folia, Paper, Purpur, Spigot

View on Modrinth

Files

  • 1.3.1

    release

    DeathBan 1.3.1

    26.326.226.1.226.1.1+13bukkitfoliapaperpurpurspigot

    2026-01-21 · 13.6K downloads

    DeathBan-1.3.1.jar · 13 KB

  • 1.3.0

    release

    DeathBan 1.3.0

    1.21.111.21.101.21.91.21.8+8bukkitfoliapaperpurpurspigot

    2026-01-20 · 305 downloads

    DeathBan-1.3.0.jar · 12 KB

  • 1.2.2

    release

    DeathBan 1.2.2

    1.21.101.21.91.21.81.21.7+14bukkitpaperpurpurspigot

    2025-02-18 · 3.1K downloads

    DeathBan-1.2.2.jar · 4.6 KB

  • 1.2.1

    release

    DeathBan 1.2.1

    1.21.41.21.31.21.21.21.1+1bukkitpaperpurpurspigot

    2024-12-16 · 294 downloads

    DeathBan-1.2.1.jar · 5.3 KB

  • 1.2.0

    release

    DeathBan 1.2.0

    1.21.41.21.31.21.21.21.1+1bukkitpaperpurpurspigot

    2024-12-15 · 92 downloads

    DeathBan-1.2.0.jar · 5.2 KB

  • 1.1.2

    release

    DeathBan 1.1.2

    1.21.31.21.21.21.11.21bukkitpaperpurpurspigot

    2024-11-23 · 79 downloads

    DeathBan-1.1.2.jar · 3.2 KB

  • 1.1.1

    release

    DeathBan 1.1.1

    1.21bukkitpaperpurpurspigot

    2024-07-16 · 211 downloads

    DeathBan-1.1.1.jar · 3.2 KB

  • 1.1.0

    release

    DeathBan 1.1.0

    1.21bukkitpaperpurpurspigot

    2024-07-16 · 108 downloads

    DeathBan-1.1.0.jar · 3.2 KB

  • v1.0.1

    release

    DeathBan v1.0.1

    1.16.51.16.41.16.31.16.2+2bukkitpaperpurpurspigot

    2023-03-17 · 322 downloads

    deathban-1.0.1-SNAPSHOT.jar · 4.4 KB

Files are delivered unmodified from Modrinth's servers and verified against the SHA-512 hash published by the project. The project's license applies to every file; check it before redistributing.

About

💀 DeathBan

A lightweight and simple plugin that bans players when they die. Perfect for hardcore survival servers!

Got ideas or suggestions? Join our Discord!

discord


✨ Features

  • 🎮 Simple & Lightweight - Minimal resource usage
  • 🔥 Folia Support - Works on modern Folia servers
  • ⚔️ PvP Mode - Ban only when killed by other players
  • 🎨 Colorful Ban Messages - Support for Adventure API with colors and formatting
  • ⏱️ Flexible Timing - Customizable ban delay and duration
  • 👁️ Spectator Mode - Optional spectator mode after death
  • 🔐 IP Banning - Choose between player or IP bans

📋 Configuration

settings:
  banreason: "<bold><red>Game Over!</red></bold>\n\n<gray>You were banned for dying in combat.</gray>"
  ban-delay: 3                # Seconds after death until ban
  spectator-after-death: true # Enable spectator mode after death
  ban-time: 30                # Ban duration in minutes (0 = permanent)
  ban-ip: false               # Ban IP address instead of player name
  ignore-permission: false    # Ignore deathban.immune permission
  player-kill-only: false     # Only ban when killed by other players
  debug: false                # Enable debug logging

Color & Format Support

The banreason field supports Adventure API MiniMessage formatting:

Colors: <red>, <blue>, <green>, <yellow>, <aqua>, <light_purple>, <gold>, <gray>

Formatting: <bold>, <italic>, <underlined>, <strikethrough>

Example:

banreason: "<bold><red>BANNED!</red></bold>\n<yellow>Reason: <gray>Died in combat</gray></yellow>"

🔑 Permissions

PermissionDescription
deathban.immuneImmunity from death bans

📝 Changelog

Version 1.3.1

  • ✅ Colored Ban Messages on Rejoin
  • ✅ Custom PlayerLoginEvent Handler for formatted ban messages
  • ✅ Improved ban message storage and display

Version 1.3.0

  • ✅ Folia Support
  • ✅ Player-Kill-Only Mode
  • ✅ Better Ban Messages (Adventure API)
  • ✅ Debug Mode
  • ✅ Ban Timing Fixed
  • ✅ Safer Teleportation

🚀 Installation

  1. Download the latest DeathBan.jar
  2. Place it in your plugins folder
  3. Restart your server
  4. Configure plugins/DeathBan/config.yml to your needs

Enjoy! 💀