> ## Content Index
> Fetch the complete content index at: https://knowledgebase.content.iceline.host/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Ban a Player on Your Minecraft Server
- URL: https://knowledgebase.content.iceline.host/how-to-ban-a-player-on-your-minecraft-server/
- Published: 2020-06-26T18:46:52.000Z
- Updated: 2026-05-24T05:34:13.000Z
- Author: Iceline Hosting
- Tags: Minecraft, #Import 2026-11-17 18:38

## What Is a Ban?

A ban is a way for you and your [Minecraft Server](https://iceline-hosting.com/games/minecraft?ref=knowledgebase.content.iceline.host) operators to prevent unwanted players from joining. **Minecraft** includes two commands to ban a player: “**/ban**” and “**/ban-ip**”. The first is used to ban the player’s account, and the second one is used to ban both the account and the player's IP. **Minecraft** also includes two commands to unban a player, “**/pardon**” and “**/pardon-ip**”. The first is used to unban a player who was banned by the “**/ban**” command, and the second is for a player who was banned by the “**/ban-ip**” command.

In this guide, we'll be explaining how to use these commands in your Minecraft Server.

### Before Starting

Make sure you have an active Minecraft server. If you don't have one, consider choosing **Iceline Hosting** as your hosting provider!

**Iceline Hosting** game panel supports instant setup, along with some features like an automatic **Turbo Mode** for mod-heavy CPU performance bursts (like world generation), enterprise-grade **DDoS protection** via the [Iceline Shield Panel](https://iceline-hosting.com/ddos-protection?ref=knowledgebase.content.iceline.host), and global locations (London, Frankfurt, Virginia, Texas, Oregon, Singapore, Sydney) to ensure low-latency play. If you don't have a server, feel free to [check our available plans and start your journey today!](https://iceline-hosting.com/games/minecraft?ref=knowledgebase.content.iceline.host)

![Iceline Hosting Minecraft Hosting page](https://knowledgebase.content.iceline.host/content/images/2026/05/image-23.png)

### How to Ban a Player

1. Join your Minecraft server and make sure you are a server operator.
2. In chat, type the “**/ban**” command and add the player's name after it. Optionally, you can also provide the reason for the ban.  
  1. The command should look like this: “**/ban** Javier Rule Breaker 2nd time”
3. Send the command, and the player’s account will get banned right away

### How to IP Ban a Player

1. Join your Minecraft server and make sure you are a server operator
2. In chat, type the “**/ban-ip**” command and add the player's name after it. Optionally, you can also provide the reason for the ban.  
  1. The command should look like this: “**/ban-ip** Javier Griefing is not allowed”
3. Send the command, and the player’s IP and account will get banned right away

### How to Unban a Player

1. Join your Minecraft server and make sure you are a server operator
2. In chat, type the “**/pardon**” command and add the player's name after it.  
  1. The command should look like this: “**/pardon** Javier”
3. Send the command, and the player’s account will get unbanned

### How to Unban a Player's IP

1. Join your Minecraft server and make sure you are a server operator
2. In chat, type the “**/pardon-ip**” command and add the player's name after it.
  1. The command should look like this: “**/pardon-ip** Javier”
3. Send the command, and the player’s IP and account will get unbanned

---

That's it! With this simple guide, you learned how to use the moderation tools available to all Minecraft servers. 

Remember that you can also **use these commands directly on your** [**game panel console**](https://game.iceline-hosting.com/dashboard?ref=knowledgebase.content.iceline.host), ensuring you can manage the server even when you're not in-game!

![Iceline Hosting Game Panel Console](https://knowledgebase.content.iceline.host/content/images/2026/05/image-24.png)

## Facing Any Issues?

If you have followed all the steps in this tutorial, you should have successfully banned/unbanned the player. If it didn’t work, make sure you have typed the player name correctly, with or without caps. If you are still having issues after this, feel free to [contact our support team for further assistance](https://iceline-hosting.com/contact?ref=knowledgebase.content.iceline.host). We're happy to help!