Don't Starve Together servers can enable a server whitelist, also known as an 'allowlist,' to specify which users can connect to the server. This list will even restrict access to servers with a password, and it is generally the most secure method for making a server private. Users can be added to the list by their Klei IDs, which can be obtained from the website or the server's chat logs.
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Files tab.
4. Find the following directory: /home/container/DoNotStarveTogether/config/server
5. Open the cluster.ini file.
6. Under the [Network] section, add the following line with the desired number of slots: whitelist_slots = 5
Note: Whitelisted slots will take slots from the max player slots. Learn how to change max players here.
7. Press the Save button.
8. Return to the server folder and choose Create > Create File.
9. Enter the desired Klei IDs separated per line.
Note: The number of Klei IDs listed must be equal to or greater than the number of whitelist slots. If there are five whitelist slots, there should be at least five Klei IDs.
Klei IDs can be found from the Account button on the main menu.
10. Choose Create File.
11. Enter whitelist.txt as the file name.