DustBowl.Games

Factorio RCON & Console Commands

Every Factorio server command and Lua console shortcut in one searchable reference. Commands starting with /c run Lua in the game context and require admin or RCON access.

Player Management

/kick [player] [reason]Admin

Kick a player from the server.

e.g. /kick PlayerName griefing

/ban [player] [reason]Admin

Ban a player and add them to the banlist.

e.g. /ban PlayerName cheating

/unban [player]Admin

Remove a player from the banlist.

e.g. /unban PlayerName

/whitelist add [player]Admin

Add a player to the server whitelist.

e.g. /whitelist add PlayerName

/whitelist remove [player]Admin

Remove a player from the whitelist.

e.g. /whitelist remove PlayerName

/whitelist getAdmin

List all whitelisted players.

/whitelist clearAdmin

Remove all players from the whitelist.

/whitelist reloadAdmin

Reload server-whitelist.json from disk without restart.

/promote [player]Admin

Grant admin privileges to a player.

e.g. /promote PlayerName

/demote [player]Admin

Remove admin privileges from a player.

e.g. /demote PlayerName

/players

List all connected players.

/admins

List all admins on the server.

Server Status

/seed

Display the map generation seed.

/time

Show how long the server has been running (in ticks).

/evolution

Show the current biter evolution factor (0–1).

/version

Show the Factorio server version.

Server Control

/save [filename]Admin

Save the game to a file. Omit filename to overwrite the current save.

e.g. /save backup-save

/server-saveAdmin

Trigger an autosave on the server.

/quitAdmin

Shut down the server after saving.

Game Control (Lua)

/c game.speed = 1.0LuaAdmin

Set the game speed. 2.0 = double speed, 0.5 = half speed.

e.g. /c game.speed = 2.0

/c game.peaceful_mode = trueLuaAdmin

Toggle peaceful mode on the server. Biters will not attack unprovoked.

/c game.forces["enemy"].evolution_factor = 0LuaAdmin

Reset biter evolution to zero.

/c game.forces["enemy"].evolution_factorLuaAdmin

Get the exact current evolution factor (returns a value 0–1).

/c game.set_game_state{game_finished=true, player_won=true}LuaAdmin

Trigger the win condition (use with caution on multiplayer).

/c game.pollution_statistics.input_counts["carbon-dioxide"] = 0LuaAdmin

Clear accumulated pollution statistics.

Items & Cheats (Lua)

/c game.player.insert{name="iron-plate", count=100}LuaAdmin

Give items to the server console's player reference. Replace name/count as needed.

e.g. /c game.player.insert{name="electronic-circuit", count=500}

/c game.players["PlayerName"].insert{name="item-name", count=1}LuaAdmin

Give items to a specific named player.

e.g. /c game.players["Alice"].insert{name="power-armor", count=1}

/c game.player.character.health = 100LuaAdmin

Set the player's health to a value.

/c game.player.cheat_mode = trueLuaAdmin

Enable cheat mode (free crafting, infinite items from quickbar).

Research (Lua)

/c game.forces["player"].research_all_technologies()LuaAdmin

Instantly unlock all technologies for the player force.

/c game.forces["player"].technologies["tech-name"].researched = trueLuaAdmin

Unlock a specific technology.

e.g. /c game.forces["player"].technologies["nuclear-power"].researched = true

Map & Teleport (Lua)

/c game.player.teleport({x=0, y=0})LuaAdmin

Teleport the console player to a map coordinate.

e.g. /c game.player.teleport({x=100, y=-200})

/c game.players["PlayerName"].teleport({x=0, y=0})LuaAdmin

Teleport a named player to coordinates.

Using RCON vs In-Game Console

The in-game console (press ~) accepts all /command and /c lua forms.

RCON sends the same text over TCP — the server interprets it identically. Connect via mcrcon, factorio-rcon-cli, or any RCON client on the port you configured with --rcon-port and --rcon-password.

Lua commands via /c execute in the game context. Use game.player for RCON access (refers to server console, not a player character).

Connection interrupted

We are restoring your session

Your account remains secure while we reconnect you.

Attempt in progress

A fresh reload verifies your session and pulls current content and security updates from the server.

Unsaved changes may be lost while your session is interrupted.

View system status

Need help? Home · Support · Discord

Check your connection, then try again or review our system status.

A fresh reload verifies your session and pulls current content and security updates from the server.

Unsaved changes may be lost while your session is interrupted.

View system status

Need help? Home · Support · Discord

The server rejected this session. Reload to continue securely.

A fresh reload verifies your session and pulls current content and security updates from the server.

Unsaved changes may be lost while your session is interrupted.

View system status

Need help? Home · Support · Discord

Connection status and recovery controls.