NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

How to use the Console on your Factorio server

FactorioUpdated Nov 3, 20264 min read

The Console tab of a PlayNHost Factorio server shows the server's output live and sends what you type straight to the game. Type a command with its slash, such as /players online or /server-save, and press Enter. The server must be running. You do not need to be a game admin to type commands here.

Send a command

  1. Open your server in the panel and click the Console tab.
  2. Check the badge says Online.
  3. Type the command in the box at the bottom, for example /players online, and press Enter.
  4. The answer appears in the output above.

Which commands are useful from the Console?

From the Factorio wiki console page:

CommandWhat it does
/players onlineLists the players who are on (/players count gives the number)
/server-saveSaves the game on the server now
/save <name>Saves the game under a new name (server console only)
/promote <player>Makes a player admin
/kick, /ban, /unbanRemoves or bans a player
/whitelist <add/remove/get/clear>Manages the whitelist
/admins, /bansLists admins or bans
/seedPrints the map seed
/timePrints the map's age
/versionPrints the game version
/evolutionPrints the enemy evolution factor

Do not type /quit: it is what Stop sends, and the panel's Stop and Restart buttons already end the game cleanly with a save. Lua commands with /c work too, but they turn achievements off for that save for good.

What are the [pnh-update] lines?

The panel's own checks before Factorio starts: the Space Age setting, and whether a newer Factorio build is out. Factorio 2.1.24 (stable) is already installed. Nothing to download. means the server is current. Updated to Factorio ... Saves and mods were not touched. means it has updated. See How to update your Factorio server.

Which lines mean something went wrong?

Run a command on a schedule

On Quick Tasks, Send Command sends a command you write, now or on a timer. Open its menu and choose Schedule… to run it every day, for example /server-save before a busy evening. The general guide: How to schedule tasks and automatic backups.

More on admin commands: How to become admin on your Factorio server. The general console guide: How to use the console and run commands.

Already hosting it somewhere else? Move your server to us

OUR LATEST BLOGS