
Temporary Death Bans for Hardcore Mode
Overview
HardcoreBan is a comprehensive plugin system that adds temporary bans when players die in hardcore mode. Instead of permanent death, players are banned for a configurable duration and can return once their ban expires.
Features
- Temporary Bans - Automatically ban players for a configurable duration when they die
- Velocity Support - Prevent banned players from connecting at the proxy level
- MySQL Storage - Reliable database storage with HikariCP connection pooling
- Spectator Mode - Let players see their death location before being kicked
- Gamemode Reset - Automatically restore survival mode when bans expire
- MiniMessage Support - Fully customizable messages with colors and formatting
- Bypass Permission - Allow certain players to be exempt from death bans
Requirements
- Java 21+
- Paper 1.21.4+
- Velocity 3.4.0+ (optional)
- MySQL or MariaDB
Commands
/hardcoreban check <player> - Check if a player is banned
/hardcoreban list - List all banned players
/hardcoreban reset <player> - Remove a player's ban
/hardcoreban clearall - Remove all bans
/hardcoreban debug - Test database connection
Permissions
hardcoreban.admin - Access to all commands (default: op)
hardcoreban.bypass - Exempt from death bans
hardcoreban.check - Check ban status
hardcoreban.list - List bans
hardcoreban.reset - Remove bans
Configuration
ban-duration:
amount: 24
unit: "hours"
hardcore-world: "world"
set-spectator-on-death: true
kick-delay-ticks: 60
database:
host: localhost
port: 3306
database: minecraft
username: root
password: password
How It Works
- Player dies in the configured hardcore world
- Plugin records the ban in MySQL database
- Player enters spectator mode briefly (configurable)
- Player is kicked with a ban message
- Velocity blocks reconnection attempts to the hardcore server
- When ban expires, player can rejoin with survival mode restored
Installation
- Download both JAR files from the releases
- Place Paper JAR in your server's plugins folder
- Place Velocity JAR in your proxy's plugins folder (if using Velocity)
- Configure database settings in both config files
- Restart your servers
Links
Support
If you encounter any issues or have feature requests, please open an issue on GitHub.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
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
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta