How to Kick and Ban Players on Your Minecraft Server
Effective server moderation is key to maintaining a fun and safe community.
This guide will show you how to use the essential kick and ban commands to manage players on your server.
Prerequisites
To use these commands, you must have Operator (OP) status. You can run them directly in your server's console or in-game by typing them with a forward slash (/).
Kicking a Player
Kicking temporarily removes a player from the server. They can rejoin immediately. This is useful for minor infractions or getting a player's attention.
Command: /kick <player_username> [reason]
Example: /kick SteveGriefer Please stop spamming chat

Banning a Player
Banning permanently prevents a player from rejoining until they are unbanned. This is for more serious offenses.
Ban by Username:
/ban <player_username> [reason]
Ban by IP Address:
To prevent a player from rejoining with an alternate account from the same internet connection, you can ban their IP address.
/ban-ip <player_username or IP_address> [reason]

Unbanning (Pardoning) a Player
To allow a player to rejoin, you must pardon them from the ban list.
Unban Username:
/pardon <player_username>
Unban IP Address:
/pardon-ip <IP_address>
Viewing the Ban List
To see a list of all banned accounts or IP addresses, use the banlist command.
/banlist [ips|players]
Conclusion
Mastering these commands is a fundamental part of server administration.
Using them fairly and effectively will help you build a positive and respectful community for your players.