Skip to content
/SLASHPLAY

How to add admins with server-adminlist.json in Factorio

List usernames in server-adminlist.json as [ "AzureDiamond" ]. On SLASHPLAY it isn't kept between runs, so use /promote <player> in the Console tab instead.

server-adminlist.json

The list of admin usernames. Players in it become admin when they join; /promote and /demote update it.

[ "<player>", "<player>" ]

Examples

[ "AzureDiamond", "Cthon98" ]

Two admins.

Arguments

playerRequired
A Factorio username.

What it does

A JSON list of names. Factorio creates it the first time someone is promoted.

Good to know

  • On SLASHPLAY it sits in the server's root folder. SLASHPLAY keeps only saves, mods and config between runs (plus public). So the file goes when the server stops; promote admins again with /promote after a start, or move the list with --server-adminlist.

Run it on your server

Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.

Your own
Factorio server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.