Managing a Minecraft server involves understanding and effectively using a variety of commands. Whether you’re setting up a server, granting admin privileges, enabling cheats, or configuring specific gameplay settings, this guide covers all the essential Minecraft server commands you need to know.
Essential Minecraft Server Commands
Minecraft server commands are crucial for managing your server, controlling player actions, and customizing gameplay. Here are some fundamental commands:

Basic Server Commands
- /help [command]: Displays a list of available commands or detailed information about a specific command.
- /stop: Stops the server safely.
- /save-all: Saves the world data to disk.
- /list: Lists all online players.
Admin and OP Commands
Granting admin privileges (OP status) allows players to use powerful commands that can control various aspects of the game. Here’s how to manage admin commands:
Minecraft Server Give Admin
- Using Console:
- Open your server console.
- Enter the command:shellКопіювати код
op [player]
Replace[player]
with the Minecraft username of the player you want to give admin rights to.
- In-Game Command:
- Join your server.
- Open the chat window and type:shellКопіювати код
/op [player]
Minecraft Server Make Admin
- Access Server Console:
- Log in to your server control panel and access the console.
- Enter OP Command:
- Use the command:shellКопіювати код
op [player]
- Use the command:shellКопіювати код
Minecraft Server Set Admin
- Set Admin via Console:
- Enter the following command in the console:shellКопіювати код
op [player]
- Enter the following command in the console:shellКопіювати код
- De-OP Command:
- To remove admin privileges, use:shellКопіювати код
deop [player]
- To remove admin privileges, use:shellКопіювати код
Enabling Cheats on Your Minecraft Server
Enabling cheats allows the use of various commands to alter gameplay. Here’s how to enable cheats:

Minecraft Server Enable Cheats
- Edit Server Properties:
- Open the
server.properties
file in your server directory. - Find the line:shellКопіювати код
allow-cheats=false
- Change it to:shellКопіювати код
allow-cheats=true
- Save the file and restart the server.
- Open the
- In-Game Method:
- If running a local server, open to LAN and enable cheats from the options menu.
Managing Flying and Other Game Modes
Enabling flying and changing game modes are common adjustments on Minecraft servers. Here’s how to do it:
Minecraft Server Enable Flying Command
- Edit Server Properties:
- Open the
server.properties
file. - Find the line:shellКопіювати код
allow-flight=false
- Change it to:shellКопіювати код
allow-flight=true
- Save the file and restart the server.
- Open the
Changing Game Modes
- In-Game Command:
- Use the following command to change game modes:shellКопіювати код
/gamemode [mode] [player]
- Replace
[mode]
withcreative
,survival
,adventure
, orspectator
, and[player]
with the player’s username.
- Use the following command to change game modes:shellКопіювати код
Using Console Commands
The server console allows you to enter commands directly to control the server and manage players. Here are some useful console commands:
Minecraft Server Console Commands
- /kick [player] [reason]: Kicks a player from the server with an optional reason.
- /ban [player] [reason]: Bans a player from the server with an optional reason.
- /pardon [player]: Unbans a player.
- /tp [player] [location]: Teleports a player to a specified location.
- /whitelist [add/remove] [player]: Adds or removes a player from the whitelist.
Admin Commands for Player Management
Admins have the power to manage players effectively using these commands:
Minecraft Server Commands Admin
- /give [player] [item] [amount]: Gives a player a specified item and amount.
- /tp [player1] [player2]: Teleports one player to another.
- /gamemode [mode] [player]: Changes the game mode for a player.
- /time set [value]: Changes the time of day.
- /weather [clear/rain/thunder]: Changes the weather.

Turning on Cheats in Minecraft
Turning on cheats is essential for using many of these commands:
Minecraft Turn on Cheats
- Single Player:
- When creating a new world, toggle “Allow Cheats” to ON in the world options.
- For existing worlds, open to LAN and enable cheats.
- Multiplayer Server:
- Edit the
server.properties
file and setallow-cheats=true
. - Restart the server to apply changes.
- Edit the
Conclusion
Mastering Minecraft server commands enhances your ability to manage and customize your server effectively. Whether you’re enabling cheats, granting admin privileges, or using the console to control the game environment, these commands are essential tools for any server administrator. Explore the full potential of your Minecraft server by leveraging these powerful commands today!