Banning Players 🔨
To ban a player, you must be a server operator (op) or have access to the server console.
By Username
This is the most common method. It bans the player's specific Minecraft account from joining the server.
- Command: /ban <player> [reason]
- <player>: The exact username of the player you want to ban.
- [reason] (Optional): The reason for the ban, which will be shown to the player when they try to connect.
Example: To ban a player named Steve for griefing, you would type: /ban Steve Griefing protected areas
When Steve tries to log in, they will see a message stating they are banned and the reason provided.
By IP Address
Banning by IP address prevents anyone from the specified IP from connecting to the server, which is useful for stopping players who use alternate accounts.
- Command: /ban-ip <ip-address|player> [reason]
- <ip-address|player>: You can either enter the player's IP address directly or their username (the server will look up their last known IP).
- [reason] (Optional): The reason for the IP ban.
Example: To ban the IP address associated with the player Alex, you would type: /ban-ip Alex Evading a previous ban
Unbanning Players (Pardoning) ✅
Unbanning, also known as pardoning, allows a previously banned player or IP address to rejoin the server.
By Username
This reverses a username ban.
- Command: /pardon <player>
- <player>: The exact username of the player you want to unban.
Example: To unban Steve, you would type: /pardon Steve
By IP Address
This reverses an IP address ban.
- Command: /pardon-ip <ip-address>
- <ip-address>: The specific IP address you want to unban. You must enter the IP address itself, not the player's name. You can find the IP on your ban list.
Example: To unban the IP 198.51.100.1, you would type: /pardon-ip 198.51.100.1
Viewing the Ban List 📋
If you need to see who is banned or find a banned player's IP address, you can view the server's ban lists.
- Command: /banlist [ips|players]
- [ips|players] (Optional): Specify whether you want to see the IP ban list or the player ban list. If you don't specify, it will show both.
Examples:
- To see all banned players: /banlist players
- To see all banned IP addresses: /banlist ips