Admins are allowed to run commands such as /kick, /ban or /config on your server. A Factorio server initially starts with no admins at all – you define them via the server console or via the file server-adminlist.json.
Add an admin via the server console
-
Open the server console
Open the console of your server via the dashboard. -
Promote the player
Enter the following command – the player should be on the server for this:/promote Username -
Verify the result
Use/adminsto display all registered admins.
Add an admin via the file server-adminlist.json
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open or create the file
In the main directory of your server – the same directory that containsfactorio-current.log– open the fileserver-adminlist.json. If it does not exist yet, create it. -
Add the usernames
Enter the usernames as a simple list:[ "Player1", "Player2" ] -
Start the server
Save the file and start your server.
Remove admin rights
Open the server console and enter the following command:
/demote Username
Command overview
| Command | Description |
|---|---|
/promote <Username> |
Make a player an admin |
/demote <Username> |
Remove admin rights |
/admins |
List all admins |
