Articles in this section
Dedicated Server Advanced Setup
After you've configured your server (either through the Dedicated Server Admin Portal or the Alternate Configuration Option you can enable additional settings such as allow-list, and passcodes (if not configured in the Admin Portal).
Note: Cross tenant play is currently unavailable. We hope to have this out in the near future! You will see the options to enable it in the Admin Portal where the setting will apply once available.
Allow-list configuration
You can configure an allow list to limit who can join your server. This cannot be done in the admin portal alone. However, you can either edit the allowlist.json file directly or use in game commands to decide who should be allowed into your sessions.
In Game -
Note: using this method will require turning the allowlist back on or off upon restarting the server. The server will default to the original configuration of the server. This will be changed in a future release.
i.e. If you create the server with the
allow-list = trueproperty in server.properties then the server will have it on by default on each startup. If you have it set tofalseit will default to off and will need to be turned back on each session.
- To enable or disable the allowlist any operator can use the
/allowlist onor/allowlist offcommands. This will enable or disable the allowlist. When the allowlist is on, only players in this list will be allowed into the servers. All others will be blocked. - To add someone to the allowlist use
/allowlist add <DisplayName> - To remove someone from the list use
/allowlist remove <DisplayName>
From Configuration Files -
- To explicitly specify which users can join the server, you can set “allow-list” to
truein the “server.properties” file on when you create your server (server will need to be restarted if running).-
By default, there are no entries in the “allowlist.json” file.
-
As a result, if “allow-list” is set to
truein the “server.properties” file, no users will be able to join the server and will be told they are banned if they attempt.
-
- To add a user to the allow list, edit the “allowlist.json” and restart the server if it is running.
-
If the user whose access you are trying to change has joined in the past, their access will already be saved in the JSON file.
-
Tip: you can also allow certain players to join even if the server is full by setting
ignoresPlayerLimittotruefor that user.
-
Tip: you can also allow certain players to join even if the server is full by setting
- If preventing a specific user from joining is desired, remove the entry containing that user’s name and/or ID from the file.
-
If allowing a specific user to join is desired, add an entry containing that user’s name and/or ID to the file in the following format.
-
Passcode
Important Note: Passcodes are not passwords, since they are not unique to each user. They are instead unique to each server (or at least should be!). They are viewable to admins and shared by users. For example, a classroom could use a passcode to ensure only that class can get into the server, so long as the passcode is only known to the people in the class. It's a good practice to rotate this passcode from time-to-time to ensure it remains known to only those who need it.
You can set a passcode by signing into the Dedicated Server Admin Portal either during server creation, or by selecting Edit.
However, if you prefer you can also enable it via scripting, such as by using the example tooling notebook as in the steps below:
-
The second cell under the
tooling/edit_server_infoheading in the Dedicated Server Alternate Configuration process allows you to set a passcode that will be required to join the server. -
The third cell under the
tooling/edit_server_infoheading allows you to remove a passcode that you have previously set.