Any server

RCON Command Reference

Every game has its own console vocabulary and none of them agree. This is the same set of jobs — see who is on, warn them, save, stop — expressed per game, with the commands that cannot be undone marked as such.

Connection

RCON, TCP 25575

Commands are sent without the leading slash.

Players

  • list

    Who is online, and the player cap.

  • kick <player> [reason]

    Disconnect someone. They can rejoin immediately.

  • ban <player> [reason]

    Ban by name. Survives a name change only if the server resolves it to a UUID.

  • ban-ip <address>No undo

    Ban an address. Careful behind shared connections.

  • pardon <player>

    Lift a ban.

  • op <player>No undo

    Grant operator. Level comes from op-permission-level.

  • deop <player>

    Remove operator.

  • whitelist add <player>

    Add to whitelist.json.

  • whitelist remove <player>

    Remove from whitelist.json.

  • whitelist reload

    Re-read whitelist.json after editing it by hand.

World

  • save-all

    Flush every loaded chunk to disk. Returns when finished.

  • save-offNo undo

    Stop autosaving — for taking a filesystem snapshot.

  • save-on

    Resume autosaving. Never leave a server with save-off.

  • time set day

    Also accepts night, noon, midnight or a tick number.

  • weather clear [duration]

    Also rain and thunder.

  • difficulty <peaceful|easy|normal|hard>

    Changes immediately, no restart.

  • gamerule <rule> <value>

    keepInventory, doDaylightCycle, randomTickSpeed and the rest.

  • seed

    The world seed.

Server

  • say <message>

    Broadcast to chat.

  • stopNo undo

    Save and shut down. The server does not come back on its own.

Games are listed here only when their command set could be stated with confidence. A reference containing a plausible-looking wrong command is worse than a shorter one — RCON has no confirmation prompt.

How this works

RCON is a small protocol: you connect, authenticate with a password, and send text the server would have accepted at its own console. What differs is entirely the vocabulary. The reference is grouped by what you are trying to do rather than alphabetically, because the question is almost always 'how do I ban someone on this game' rather than 'what does banid do'.

What people get wrong

Commands marked as having no undo are marked because RCON does not ask twice. There is no confirmation prompt, no dry run, and no history — a rollback command in Don't Starve Together or a world regeneration takes effect the moment it is sent. The other thing worth internalising: several of these consoles authenticate with a single plaintext password, so the port belongs on a VPN or behind an SSH tunnel and never on a port-forwarding rule.

Support & Help