All Mods Resource Packs Data Packs Shaders Modpacks Plugins
DeathBan

DeathBan

by jqshuv • Downloads: 9 • Followers: 0
Description
Gallery
Changelog
Versions

💀 DeathBan

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

Got ideas or suggestions? Join our 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

Permission Description
deathban.immune Immunity 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! 💀

How to Install DeathBan (Plugin)

DeathBan by jqshuv is verified for Bukkit, Folia, Paper, Purpur, Spigot across Minecraft versions 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.20, 1.20.1 (latest release: 1.3.1, file size: 13 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.20, 1.20.1) and platform (Bukkit, Folia, Paper, Purpur, Spigot).
  2. Make sure you have the compatible loader or environment installed for Bukkit, Folia, Paper, Purpur, Spigot.
  3. Move the downloaded DeathBan file into your Minecraft .minecraft/plugins folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2 26.1.x +1
Bukkit Folia Paper Purpur Spigot
2mo ago 5
1.21.x
Bukkit Folia Paper Purpur Spigot
2mo ago 2
1.21.x 1.20.x
Bukkit Paper Purpur Spigot
2mo ago 2
1.21.x
Bukkit Paper Purpur Spigot
2mo ago 1
1.21.x
Bukkit Paper Purpur Spigot
2mo ago 1
1.21.x
Bukkit Paper Purpur Spigot
2mo ago 1
1.21
Bukkit Paper Purpur Spigot
2mo ago 1
1.21
Bukkit Paper Purpur Spigot
2mo ago 1
1.16.x
Bukkit Paper Purpur Spigot
2mo ago 1
[1.3.1] DeathBan 1.3.1 by jqshuv on Oct 15, 2026
Download
# Bug Fixes & Improvements! (1.3.1)
  • Colored Ban Messages on Rejoin**: Ban messages now display with full Adventure API formatting (colors, bold, etc.) when banned players try to rejoin the server.
  • PlayerLoginEvent Handler**: Added custom event handler to intercept and format ban messages with MiniMessage support.
  • Improved Ban Message Storage**: Ban reasons are now stored in memory with formatting preserved for display on rejoin attempts.

# New Features! (1.3.0)
  • Folia Support**: Now works on Folia servers.
  • Player-Kill-Only Mode**: Ban only when killed by other players (PvP deaths).
  • Better Ban Messages**: Colorful formatted messages with Adventure API.
  • Debug Mode**: Optional debug logging to troubleshoot issues.
  • Ban Timing Fixed**: Bans now work correctly regardless of respawn behavior.
  • Safer Teleportation**: Improved teleport handling for Folia.

# New Features! (1.2.2)
  • ...existing code...


[1.3.0] DeathBan 1.3.0 by jqshuv on Oct 15, 2026
Download
# New Features! (1.3.0) 🪩
  • Folia Support**: Now works on Folia servers.
  • Player-Kill-Only Mode**: Ban only when killed by other players (PvP deaths).
  • Better Ban Messages**: Colorful formatted messages with Adventure API.
  • Debug Mode**: Optional debug logging to troubleshoot issues.
  • Ban Timing Fixed**: Bans now work correctly regardless of respawn behavior.
  • Safer Teleportation**: Improved teleport handling for Folia.



[1.2.2] DeathBan 1.2.2 by jqshuv on Oct 15, 2026
Download
# New Features! (1.2.2)
  • Added function to ignore permissions for a user.
  • Fixed Bug where the player items were duplicated after ban.

[1.2.1] DeathBan 1.2.1 by jqshuv on Oct 15, 2026
Download
# New Features! (1.2.1)
  • Added IP-Ban functionality.

[1.2.0] DeathBan 1.2.0 by jqshuv on Oct 15, 2026
Download
# New Features! (1.2.0)
  • Updated to 1.21.4
  • Added ban delay.
  • Added spactator mode after death.
  • Added ban time.

[1.1.2] DeathBan 1.1.2 by jqshuv on Oct 15, 2026
Download
# UPDATE TO 1.21.3! (Version 1.1.2)
  • Multi version support from 1.21 to 1.21.3
[1.1.1] DeathBan 1.1.1 by jqshuv on Oct 15, 2026
Download
### UPDATE TO 1.21! (Version 1.1.1)
  • Small performance fixes.

#### In version 1.1.0
  • Updated to 1.21
  • Added permission deathban.immune for immunity
  • Added config to edit ban reason.

[1.1.0] DeathBan 1.1.0 by jqshuv on Oct 15, 2026
Download
### **UPDATE TO 1.21!** (Version 1.1.0)
  • Updated to 1.21
  • Added permission _deathban.immune_ for immunity
  • Added config to edit ban reason.
DeathBan Icon
Download DeathBan
Select game version
Select platform