How To Make Use Of The Ban-IP Command In Minecraft

How To Make Use Of The Ban-IP Command In Minecraft


It is the reason that the IP deal with has been banned. The explanation will be exhibited to the participant in the event that they try to hook up with the server from the banned IP address. The rationale will even be displayed in the server logs.

Examples

- Java

Example in Java Version (Pc/Mac)

Here are some examples of methods to ban an IP address on a Minecraft server.

To ban an IP deal with with no purpose supplied:

To ban an IP handle with a motive:

To ban the IP tackle of a player named TheNotWanted that is at present on-line (with no purpose provided):

To ban the IP address of a player named TheNotWanted that's at the moment on-line with a reason:

Learn how to Enter the Command

1. Open Server Console

To run a server command, the instructions differ depending in your version of Minecraft:

- For Java Version (Laptop/Mac), open a server console. Use Command Prompt in Windows or Terminal on a Mac.

2. Sort the Command

We'll cover examples of how to make use of the /ban-ip command so as to add an IP deal with to the server's blacklist utilizing an IP handle as well as the identify of a player that is online.

Ban an IP using the IP Tackle

The easiest way to ban an IP tackle is by specifying the IP tackle within the /ban-ip command.

For example, you might ban an IP handle with the following command:

As soon as the command has been entered, the IP address 172.16.5.128 shall be added to the server's blacklist and banned from the server. Any players (ie: TheNotWanted) which might be connected to the server with that IP tackle will probably be instantly disconnected from the server with the next message:

Ban an IP Tackle using an internet Participant

If you recognize the title of the player that is currently on-line whose IP handle you want to ban, you'll be able to enter the participant name within the command as a substitute.

For example, you may ban an IP handle using the participant identify with the next command:

In this example, we now have entered the participant identify TheNotWanted. For Minecraft adventure servers that IP handle for TheNotWanted is 172.16.5.128, this IP handle will likely be banned and added to the blacklist (or ban listing). For this command to work, the player Should be online while you issue the /ban-ip command utilizing a participant identify.

To enter the /ban-ip command in Minecraft, you will need to enter it as a server command (see under):

It is best to see the message "Banned IP address 172.16.5.128 belonging to TheNotWanted" seem in the server console.

Now any gamers which are connected to the server with that IP handle of 172.16.5.128 shall be immediately disconnected from the server with the next message:

In this instance, the player named TheNotWanted will see the message "Connection Misplaced. You have got been IP banned." in the game window.

Report Page