How to Ban/Kick Players from Your Minecraft Server
Learn how to ban or kick players from your Minecraft server by username or IP, with commands to unban and check the ban list.
How to Ban/Kick Players from Your Server
Get rid of players that ruin your gaming experience.
In Minecraft, banning is drastic, permanently barring players for serious or repeated rule violations, ensuring a positive environment for the rest of the players. You can choose between banning a username or banning their IP.
Banning a Player's Username
When banning only the username of a player, be careful as they can join again from a different account. In order to stop this from happening, you will have to ban-IP them.
- Open the in-game chat.
- Type
/ban <player_name> [reason], replacing<player_name>with the username of the player you want to ban, and[reason]with the reason for the ban. - Press the Enter key on your keyboard.
The player is now banned from the server. They will not be able to join again until they get unbanned.
Banning a Player's IP
As the command states, you will ban the player's IP address. Some people that have dynamic IPs can just restart their routers and connect again, so please make sure to also ban their username.
- Open the in-game chat.
- Type
/ban-ip <player_name> [reason], replacing<player_name>with the username of the player you want to ban, and[reason]with the reason for the ban. - Press the Enter key on your keyboard.
The player is now banned from the server. They will not be able to join again until they get unbanned.
Unbanning a Player
- Open the in-game chat.
- Type
/pardon <player_name>to unban someone's username, or/pardon-ip <IP_address>to unban an IP address. - Press the Enter key on your keyboard.
Checking Who Is Banned From Your Server
- Open the in-game chat.
- Type
/banlist playersin order to see the players that have been banned, and/banlist ipsin order to check all the banned IPs. - Press the Enter key on your keyboard and the list will appear in chat.
Need more help?
Search the help center or reach our team directly, we reply in about 10 minutes.