Minecraft

How to Ban a Player's IP on Your Minecraft Server ๐Ÿšซ

MinecraftยทMarch 22, 2026ยท6 min read

Banning a player's IP prevents them from rejoining, even with another account. It is a useful tool to keep your server safe against cheating or bad behavior. Here we show you how to do it easily. ๐ŸŽฎ

mensaje de ban

Go to your server's console

Open the console and type the following command:

ban-ip (player name)

consola mensaje

The console will display that the player's IP has been banned. How do I unban the IP in case I change my mind?

Simply go to the "Files" section and open the file "banned-ips.json" There you will need to delete the content of the player whose IP you want to unban.

archivo de baneos


Conclusion

We hope this guide has been helpful and remember, do not hesitate to ask on HolyHosting Discordย or contact our support team.

Follow us on Twitter (@HolyHosting) to stay up to date.

holyhosting logo

Best regards!!๐ŸŒŸ

Stuffyย @ HolyHosting

Still have questions?

Come chat with us and we will get back to you as soon as possible!

Contact Support