In order to set your server to be public, or to download mods - you will need to authenticate your Factorio account with your server.

We provide an easy way to automatically login with your username and password to download mods. Understandably you may wish to enter the token manually yourself without providing your password to us. In either case, you can easily obtain the token manually using the following steps.

Windows

Head to explorer and enter %appdata%/Factorio/ into the address bar. Open the file named player-data.json. Find the part of the file which says "service-token", copy the text between the speech marks afterward. A token looks like this: "a2d2f7d3a49249e2e4c3f24af9252b".

Linux

Head to your home folder, you'll need to show hidden files. Open the folder named .factorio then open the file named player-data.json. Find the part of the file which says service-token, copy the text between the speech marks afterward. A token looks like this: "a2d2f7d3a49249e2e4c3f24af9252b".

Adding your Token to your Server

To add the token to your server you should navigate to your server in the Control Panel and find the Settings tab. Now on the sub menu find the menu item labeled "Authentication". Paste your token into the field titled Auth Token"and save changes.