Minecraft server commands: the list an admin actually needs
On a Java Edition server you type commands in the server console without the slash, and over RCON the same text works from a phone. This list covers players, bans, the whitelist, time, weather and saving.
The commands you will use every week
Capitals mark a value you fill in, square brackets an optional one. Names must be spelled like the real account.
| Command | What it does |
|---|---|
list | Lists the players online |
say MESSAGE | Broadcasts a message to everyone |
op PLAYER | Gives a player operator status |
deop PLAYER | Takes operator status away |
kick PLAYER [reason] | Removes a player, with an optional reason |
ban PLAYER [reason] | Adds a player to the ban list |
pardon PLAYER | Takes a player off the ban list |
whitelist add PLAYER | Adds an account to the whitelist |
time set day|noon|night|midnight|ticks | Sets the time: day, noon, night, midnight or ticks |
weather clear|rain|thunder [duration] | Sets clear, rain or thunder |
gamemode survival|creative|adventure|spectator [player] | Changes a player's game mode |
difficulty peaceful|easy|normal|hard | Sets peaceful, easy, normal or hard |
save-all [flush] | Writes the world to disk now |
stop | Saves and shuts the server down |
There are more: give, tp, effect give, gamerule, worldborder set, locate structure and the rest of the Java command set all run from the console too. The Minecraft Wiki lists every one with its arguments.
Console, in game and Bedrock are not the same
- The server console and RCON need no operator status and no slash. In game, the same command starts with
/and needs op rights. stopis final: it saves and shuts the server down, and an RCON session cannot start it again. Usesave-allwhen you only want a backup point.- Bedrock Dedicated Server has no RCON, so this list and the RCON app are for Java Edition only.
Run them from your phone
Turn RCON on in server.properties first (enable-rcon=true, rcon.password, rcon.port), then restart the server.
- On Servers tap the plus button to open Add Server.
- Fill in Server Name and Hostname or IP, then set Server Type to Minecraft. The port fills in for that game.
- Type the RCON password into RCON Password, tap Test Connection, then Save Server.
- Open the server from the list and type the command in the console. No slash in front.
Questions and answers
What are the basic Minecraft server commands?
list shows who is online, say talks to everyone, op and deop manage operators, kick and ban remove players, whitelist controls who may join, and save-all writes the world to disk.Do I type a slash in the server console?
No. The console and RCON take the command without the slash. The slash is only for typing the command in the game chat.
Where is the complete list of Minecraft commands?
The Minecraft Wiki page on commands lists every Java Edition command with its arguments. This page keeps to the ones a server admin reaches for most.
You might also like
- Minecraft whitelist command: what to type and why it sometimes does nothing · RCON
- How to use RCON on a Minecraft server with the RCON app · RCON
- A game server command library on your iPhone · RCON
- Palworld RCON commands for running a server · RCON
- Project Zomboid RCON commands for server admins · RCON