How to Ban Players on Your Server

This guide will show you how to ban and unban players on your Minecraft server.
⚠ Important Notes ⚠
You first need to understand that there are two ways to ban a player. You can either ban them by their Minecraft username, or by their IP.
- Banning a player's username will mean that you are banning just that Minecraft account, so he will be able to join your server from a different account if he has one.
- Banning a player's IP will mean that that player will not be able to join your server again even from another account because their IP will stay the same even if they will connect from a different account. However, if the player finds any way to change his IP, like a dynamic one, they will be able to join again.
The best way to ban an unwanted player is to ban both their username and IP.
🚫 How to Ban a Player 🚫
There are two different ways to ban a player, depending on if you want to ban just the username or the IP.
💠 Banning a Username
To ban a player's username you have to use the following command in-game:
/ban [reason]
/ at the beginning.[reason] argument is optional, you can use the command to ban a player without giving any reason.🤔 Examples:
/ban GGServers
Will ban the player called GGServers.
/ban GGServers hacker
Will ban the player called GGServers with the hacker reason.
💠 Banning an IP
To ban a player's IP you have to use the following command in-game:
/ban-ip [reason]
/ at the beginning.[reason] argument is optional, you can use the command to ban a player without giving any reason.🤔 Examples:
/ban-ip GGServers
Will ban the IP of the player called GGServers.
/ban-ip 0.0.0.0
Will ban the 0.0.0.0 IP.
/ban-ip GGServers hacker
Will ban the IP of the player called GGServers with the hacker reason.
🟢 How to Unban a Player 🟢
There are two different ways to unban a player, depending on if you want to unban just the username or the IP.
💠 Unbanning a Username
To unban a player's username you have to use the following command in-game:
/pardon
/ at the beginning.🤔 Examples:
/pardon GGServers
Will unban the player called GGServers.
💠 Unbanning an IP
To unban a player's IP you have to use the following command in-game:
/pardon-ip
/ at the beginning.🤔 Examples:
/pardon-ip 0.0.0.0
Will unban the IP 0.0.0.0.
📜 How to See the Banned Players/ IPs List 📜
To see the banned player list you have to use the following command in-game:
/banlist players
To see the banned IPs list you have to use the following command in-game:
/banlist ips
🔐 More Security Measures 🔐
If you still have unwanted players joining your server and if want to protect your server better we suggest you also set a Whitelist or a plugin like AuthMe.
❕ Useful Links ❕
Aktualisiert am: 27/02/2025
Danke!