Type Minecraft commands in the panel's Console without a slash, or in the game's chat with a slash. The Console needs no operator status. In the game, you need to be an operator with a high enough level, shown for each command below.
Where to type a command
- In the panel Console: open your server in the panel, click Console, click the box that says Type a command, type the command without a slash and press Enter. The server must be running. See How to use the Console on your Minecraft server.
- In the game: open the chat, type a slash and the command, for example
/time set day. See How to op yourself and manage permissions on your Minecraft server.

The examples below are written for the Console. In the game, put a slash in front. The level column is the operator level needed in the game.
Some commands only change the running game. For a setting you want after every restart, use Settings: Minecraft server properties explained. Game rules are also on Settings, Game Rules: How to change game rules on your Minecraft server.
Players and access
| Command | What it does | Level |
|---|---|---|
list | Lists the players on the server | 0 |
msg Alex hello | Sends Alex a private message | 0 |
say Restart in 5 minutes | Shows a message to everyone | 2 |
op Alex | Makes Alex an operator | 3 |
deop Alex | Removes Alex's operator rights | 3 |
whitelist add Alex | Adds Alex to the whitelist | 3 |
kick Alex | Removes Alex from the server for now | 3 |
ban Alex | Bans Alex | 3 |
pardon Alex | Lifts Alex's ban | 3 |
ban-ip 203.0.113.5 | Bans an IP address | 3 |
pardon-ip 203.0.113.5 | Lifts an IP ban | 3 |
banlist | Shows the ban list | 3 |
whitelist also takes remove, list, on, off and reload. The Players page does all of these without commands: How to manage players on your Minecraft server with the Players page.
Game and world
| Command | What it does | Level |
|---|---|---|
gamemode creative Alex | Sets Alex's game mode | 2 |
defaultgamemode survival | Sets the mode new players start in | 2 |
difficulty hard | Sets the difficulty | 2 |
time set day | Changes the time of day | 2 |
weather clear | Sets the weather | 2 |
tp Alex Sam | Teleports Alex to Sam | 2 |
give Alex diamond 16 | Gives Alex 16 diamonds | 2 |
effect give Alex speed 60 | Gives Alex an effect for 60 seconds | 2 |
xp add Alex 10 levels | Gives Alex experience | 2 |
kill Alex | Kills Alex | 2 |
gamerule keep_inventory true | Changes a game rule | 2 |
setworldspawn 100 64 -200 | Sets the world spawn to those coordinates | 2 |
worldborder set 5000 | Sets the world border's size | 2 |
locate structure #village | Finds the closest village of any kind | 2 |
seed | Shows the world seed | 2 |
Game rule names changed in Minecraft 1.21.11: before it, keep inventory is written keepInventory. The Game Rules page shows the names your version uses.
Saving and stopping
| Command | What it does | Level |
|---|---|---|
save-all | Saves the world to disk now | 4 |
save-off | Turns off automatic saving | 4 |
save-on | Turns automatic saving back on | 4 |
stop | Stops the server | 4 |
The Stop and Restart buttons in the panel are the usual way to stop or restart. If you use save-off, always run save-on afterwards.
Run commands without typing them
Quick Tasks has ready-made Minecraft tasks such as Save World, Announce to Players and Reload Whitelist, and can run a command on a schedule. See How to use Quick Tasks on your Minecraft server.
Plugin commands
Plugins add their own commands, listed in each plugin's documentation. Type help in the Console to list the commands your server knows.



