Articles on: Minecraft

How to Ban Someone on a Minecraft Server

Banning players on a Minecraft server is essential for maintaining an enjoyable server. Whether you're dealing with griefers, hackers, rule-breakers, or other disruptive players, Minecraft offers multiple ways to ban unwanted users.

You can use simple in-game commands like /ban <player> to remove them permanently or /ban-ip <IP> to block the player's IP address.

In this guide, we'll discuss ban methods and provide examples of how to use them in Java and Bedrock.

IP Bans vs. Normal Bans



IP Bans: Blocks the player's IP address, preventing them from accessing the server from that IP.
Normal Bans: Bans a player's username, allowing them to rejoin using a different account.

You can use commands in your client or the server's console to ban/unban players.

Note: You must have server operator status to ban a player using in-game commands. Learn how to become an operator here.

How to Ban a Player on Your Minecraft Server



There are a few methods you can use to ban a player on your Minecraft server:

Method 1: Using the Server Console



Open the server console.
Type the command:

ban <username>


Press Enter.



Method 2: Using In-Client Commands



Open the chat in-game.
Type the command:

/ban <username>


Press Enter.




How to Find a User's IP Address (for an IP Ban)



A user's IP address is displayed in the console when they connect to the server. This helps server operators manage users and apply IP bans if necessary.

Log into your server panel.
Open the "Files" tab and navigate to the "logs" folder.



Open the "latest.log" file.
Use CTRL + F to search for the username. The user's IP will be listed next to their name.




How to IP Ban a Player on Your Minecraft Server



You can IP-ban players using either their username or IP address. If you want to be extra careful, we recommend using the steps from above to find the player's IP address.

Using the Server Console



To IP ban a Minecraft player using the server console:

Type the command:

ban-ip <username>


Press Enter.



Using In-Game Client Commands



To IP ban a Minecraft player using in-game client commands:

Open the chat.
Type the command:

/ban-ip <username>


Press Enter.




How to View the Ban List on a Minecraft



You can view the list of banned players using either the server console or in-game commands.

Using the Server Console



Type the command:

banlist


Press Enter.



Using In-Client Commands



Open the chat.
Type the command:

/banlist


Press Enter.




How to Unban a Player on Your Minecraft Server



Sometimes, you might want to unban a player on your Minecraft server. You can unban a player on your Minecraft server using both the server console, and in game.

Using the Server Console



To unban a player on your Minecraft server using the server console:

Type the command:

pardon <username>


Press Enter.



Using In-Game Client Commands



To unban a player on your Minecraft server using in-game client commands:

Open the chat.
Type the command:

/pardon <username>


Press Enter.




How to Unban an IP on Your Minecraft Server



You can also unban IPs on your Minecraft server in the server console and in-game.

Using the Server Console



To unban an IP on your Minecraft server in the server console:

Type the command:

pardon-ip <IP Address>


Press Enter.



Using In-Client Commands



To unban an IP on your Minecraft server in-game:

Open the chat.
Type the command:

/pardon-ip <IP Address>


Press Enter.




Still Have Some Questions?



If you need further assistance, you can file a ticket here.

Updated on: 20/02/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!