


Once the command has been entered, the IP address 172.16.5.128 will be added to the server's blacklist and banned from the server. You should see the message " Banned IP address 172.16.5.128 belonging to TheNotWanted" appear in the server console. To enter the /ban-ip command in Minecraft, you must enter it as a server command (see below): The easiest way to ban an IP address is by specifying the IP address in the /ban-ip command.įor example, you could ban an IP address with the following command: /ban-ip 172.16.5.128 We will cover examples of how to use the /ban-ip command to add an IP address to the server's blacklist using an IP address as well as the name of a player that is online. Use Command Prompt in Windows or Terminal on a Mac.
:max_bytes(150000):strip_icc()/001_find-a-mac-address-using-an-ip-address-818132-5c6f241246e0fb00014361c5.jpg)
If you are operating a Minecraft server that other players connect to, the /ban-ip command can help manage which players are not allowed to connect the server. The /ban-ip command is an advanced server command that is only used if you are running a Minecraft server. We will continue to show them individually for version history. NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. * The version that it was added or removed, if applicable. The /ban-ip command is available in the following versions of Minecraft: Platform Let's explore how to use this game command. This Minecraft tutorial explains how to use the /ban-ip command with screenshots and step-by-step instructions.

How to Use the Ban-IP Command in Minecraft
