๐Ÿฐ Hytale
How to set a password and whitelist

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:

config.json
"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 on

You 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

CommandDescription
/whitelist onEnables the whitelist
/whitelist offDisables the whitelist
/whitelist add <username>Adds a player to the whitelist
/whitelist remove <username>Removes a player from the whitelist
/whitelist listDisplays all whitelisted players
/whitelist statusShows whether the whitelist is enabled or disabled
/whitelist clearRemoves 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.