
Minecraft Server Commands
Without changing files, you may manage participants, regulate games, and set up your server using Minecraft server commands. Knowing the most popular admin commands makes managing servers lot simpler, whether you're using a big public network or a tiny private server.
The most common commands used by server owners and administrators are covered in this tutorial, along with their syntax and useful examples.
Console vs In-Game Commands
There are two ways to run Minecraft server commands:
- Server Console – Commands entered in the server console don't require a
/at the beginning and have full administrative access. - In-Game Chat – Players with permission (usually operators) must start commands with
/.
Example:
Console
say Server restarting in 5 minutes!In-game
/say Server restarting in 5 minutes!Granting Operator Status
Operators (OPs) can use administrative commands.
Grant operator status:
/op <player>Remove operator status:
/deop <player>Whitelist Commands
A whitelist allows only approved players to join.
Enable whitelist:
/whitelist onDisable whitelist:
/whitelist offAdd a player:
/whitelist add <player>Remove a player:
/whitelist remove <player>View all whitelisted players:
/whitelist listReload the whitelist:
/whitelist reloadModeration Commands
Kick a Player
Disconnects a player from the server.
/kick <player>Kick a player with a reason.
/kick <player> <reason>Ban a Player
Permanently bans a player from the server.
/ban <player>Ban a player with a reason.
/ban <player> <reason>Unban a Player
Removes a player's ban.
/ <player>Ban an IP Address
Bans a player's IP address or a specific IP.
/ban-ip <player>or
/ban-ip <IP Address>Unban an IP Address
Removes an IP ban.
/unban-ip <IP Address>Why Permission Plugins Beat Raw OP
Giving players OP gives them access to a variety of potent commands, which can pose a security issue on public servers.
Plugins for permissions allow you to:
- Give gamers only the commands they truly require.
- Make unique staff positions.
- Use groups to control permissions.
- Minimize the possibility of unintentional or intentional misuse.
- As your server expands, scale permissions.
It is advised to use LuckPerms for the majority of multiplayer servers rather than assigning operator status to each employee.





