Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
Platforms
Links
Tags
Creators
Details
Licensed ARR
Published 8 months ago
Updated 3 days ago
BetterTempBan
I made BetterTempBan to keep temporary bans simple. Ban anyone, online or offline, with one command. Banned players get a clean disconnect screen showing who banned them, when, why, and how long is left.
Bans are tied to the player's UUID, so changing their name doesn't get them around it. Running a cracked server? Flip one setting in the config and it tracks usernames instead.
Features
/tempban <player> <time> [reason]bans a player. The reason is optional./tempunban <player>unbans from in-game or console./tempbanlistshows every active ban with who banned them, the reason and the time left./baninfo <player>shows a player's ban, UUID, IP and full ban history.- Time units are
s,m,h,dandw, and you can combine them, e.g.30m,7dor1d12h. - Optional IP banning to catch alt accounts.
- Discord webhook for bans, unbans and expired bans (off by default).
- Every message and the ban screen are configurable in
config.yml, along with the date format and timezone. - Full ban history is saved to
banlog.yml, including unbans and expiries. - Expired bans are cleaned up automatically.
Offline players can only be banned if they have joined the server before. Cracked mode has no such limit.
Commands
| Command | Description | Permission |
|---|---|---|
/tempban <player> <time> [reason] |
Temporarily ban a player | bettertempban.ban |
/tempunban <player> |
Remove a temporary ban | bettertempban.unban |
/tempbanlist |
List all active temp bans | bettertempban.list |
/baninfo <player> |
View ban info and history | bettertempban.info |
/tempbanreload |
Reload the config | bettertempban.admin |
Permissions
| Permission | Description | Default |
|---|---|---|
bettertempban.ban |
Access to /tempban |
OP |
bettertempban.unban |
Access to /tempunban |
OP |
bettertempban.list |
Access to /tempbanlist |
OP |
bettertempban.info |
Access to /baninfo |
OP |
bettertempban.admin |
Access to /tempbanreload |
OP |
bettertempban.bypass |
Can't be banned and ignores bans | false |
Installation
- Drop the latest
BetterTempBan-x.x.jarinto yourplugins/folder. - Restart the server.
- Edit
plugins/BetterTempBan/config.ymlif you want, then run/tempbanreload.
Requires Paper 1.21 or newer and Java 21 or newer.


