How to Set a Password on Your Sons of the Forest Server
Adding a password to your server prevents unauthorized players from joining. The password is set in dedicatedserver.cfg and takes effect after a restart.
You may also want to add admins so trusted players can manage the server without needing the full password.
Steps
- Log in to the Game Control Panel and navigate to your server.
- Stop your server if it is running.
- Click Configuration Files, then open
dedicatedserver.cfgusing the Text Editor or Config Editor. - Locate the
Passwordfield and enter your desired password. - Click Save.
- Start your server. Players will now be prompted to enter the password when joining.
Troubleshooting
- Password not working: Ensure the server was fully stopped before saving. If the server was running when you saved, restart it so the new value loads.
- Remove the password: Leave the
Passwordfield empty and save, then restart.