MasaApps360
English
RCONRCON

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.

2 min read · Updated

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.

Java Edition server commands (without the slash) (CAPITALS: your value, [ ]: optional)
CommandWhat it does
listLists the players online
say MESSAGEBroadcasts a message to everyone
op PLAYERGives a player operator status
deop PLAYERTakes operator status away
kick PLAYER [reason]Removes a player, with an optional reason
ban PLAYER [reason]Adds a player to the ban list
pardon PLAYERTakes a player off the ban list
whitelist add PLAYERAdds an account to the whitelist
time set day|noon|night|midnight|ticksSets 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|hardSets peaceful, easy, normal or hard
save-all [flush]Writes the world to disk now
stopSaves 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.
  • stop is final: it saves and shuts the server down, and an RCON session cannot start it again. Use save-all when 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.

  1. On Servers tap the plus button to open Add Server.
  2. Fill in Server Name and Hostname or IP, then set Server Type to Minecraft. The port fills in for that game.
  3. Type the RCON password into RCON Password, tap Test Connection, then Save Server.
  4. 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

More RCON guides