Menu
 

Admin Commands - Factorio Wiki

Factorio: Admin Commands & Server Management

As a Factorio server administrator, you have access to powerful tools to manage your community and the game environment. Whether you're dealing with griefers or simply speeding up the early game, these commands are your primary tools.

Becoming an Admin

To gain powers, add your username to server-adminlist.json in your server directory, or use /promote [PlayerName] if you are already an admin.

The Console (~)

Press the backtick/tilde key to open the console. Note: Commands starting with /c will disable Steam achievements for that save!

Essential Player Management

Command Effect
/playersLists all connected players and their online status.
/kick [player] [reason]Disconnects a player. They can still rejoin immediately.
/ban [player] [reason]Permanently prevents a player from joining the server.
/mute [player]Prevents a player from sending chat messages.

Game Flow & Cheat Commands

These commands require the /c prefix and will trigger a warning. Use them wisely!

  • Speed up the game: /c game.speed = 2.0 (Normal is 1.0).
  • Instant Research: /c game.player.force.research_all_technologies().
  • Kill all enemies: /c game.forces["enemy"].kill_all_units().
  • Always Day: /c game.player.surface.always_day = true.

Pro Tip: Use /silent-command [cmd] to execute a script without alerting everyone on the server. Great for administrative cleanup!

Server Stability Controls

  • /save - Manually triggers an autosave. Do this before any major server maintenance.
  • /quit - Gracefully shuts down the server, saving the world state first.
  • /config get [setting] - View current server settings like passwords or visibility.

Master your factory environment. Host your Factorio server with Supercraft and enjoy 100% control with our advanced web panel and full console access.

Top