Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.16.x
Platforms
Tags
Creators
Details
Licensed MIT
Published 3 years ago
š 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
- Download the latest
DeathBan.jar - Place it in your
pluginsfolder - Restart your server
- Configure
plugins/DeathBan/config.ymlto your needs
Enjoy! š


