How to set a password and whitelist
You can restrict access to your Hytale server by setting a password, enabling a whitelist, or both. A password requires all players to enter a code to join, while a whitelist only allows approved accounts to connect.
Part 1 โ Set a server password
Step 1
Stop the server from the Console tab. Then go to the File Manager section and open the config.json file in the root directory.

Step 2
Locate the "Password" field and enter your desired password:
"Password": "yourpassword",
Step 3
Click Save content at the top right, then start your server from the Console tab.
Part 2 โ Enable the whitelist
The whitelist is managed through console commands while the server is running.
Step 1
Go to the Console tab and make sure the server is running.
Step 2
Enable the whitelist by running the following command:
/whitelist onYou should see the confirmation message Whitelist enabled! in the console.

Step 3
Add players to the whitelist by running the following command, replacing <username> with the player's Hytale account name:
/whitelist add <username>You should see Added <username> to the whitelist! in the console.

Whitelist commands
| Command | Description |
|---|---|
/whitelist on | Enables the whitelist |
/whitelist off | Disables the whitelist |
/whitelist add <username> | Adds a player to the whitelist |
/whitelist remove <username> | Removes a player from the whitelist |
/whitelist list | Displays all whitelisted players |
/whitelist status | Shows whether the whitelist is enabled or disabled |
/whitelist clear | Removes all players from the whitelist |
โ That's it! Your server is now protected. If you have any problems, contact us via Discord (opens in a new tab) so we can help you.