A whitelist is an access list that restricts server access to approved Factorio accounts. On most hosted servers, the whitelist is activated as soon as at least one player has been added, and it is stored in a server-whitelist.json file.
Open the live console in the ZAP-Hosting game server management and add the first player to the whitelist. Adding the first name usually activates the whitelist immediately.
/whitelist add PlayerName
If your host offers an explicit activation command, you can also run this before adding users.
/whitelist enable
A restart is usually not necessary for the change to take effect, but a one-time restart after initial setup ensures the whitelist file is written and loaded on startup.
To add more players, run the add command again with their Factorio usernames.
/whitelist add AnotherPlayer
To remove a player, use the remove command.
/whitelist remove PlayerName
To view the current whitelist, use the get command.
/whitelist get
After adding at least one player, try joining with an account not on the list. The connection should be denied. Then connect with a whitelisted account to confirm it works.
If the server still lets everyone in, check that the commands were executed on the correct server and restart the server once to ensure the whitelist file is loaded at startup.
If you have followed all the steps above correctly, your whitelist is now active and you can precisely control who can access the server. If access still does not work as expected, restart the server once and check the file or command output to ensure the change was applied.
If you have further questions or issues, our support team is available daily – don’t hesitate to contact us! 🙂