ReferenceConfiguration
allowlist.json
Allowed players when allow-list is enabled.
Players permitted to join when allow-list=true is set in server.properties. BDS rejects connections from anyone not on this list.
Use the allowlist add <gamertag> server command instead of editing by hand when possible - it resolves XUIDs for you and reloads the file in place. Gamertags containing spaces must be quoted: allowlist add "Example Name".
Sample
[
{
"ignoresPlayerLimit": false,
"name": "PlayerName"
},
{
"ignoresPlayerLimit": true,
"name": "AnotherPlayer",
"xuid": "2533274912345678"
}
]Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Xbox Live gamertag. Case-insensitive. |
xuid | string | No | Xbox user ID. Recommended - prevents impersonation if a gamertag is renamed. Auto-populated when the matching player first connects, or when added via allowlist add. |
ignoresPlayerLimit | bool | No (default false) | If true, this player can join even when max-players is reached. BDS still enforces a soft cap of max-players + 1 (or 30, whichever is higher) on total connections. |
Server commands
| Command | Description |
|---|---|
allowlist on / off | Enable or disable allowlist enforcement at runtime. Does not modify allow-list in server.properties. |
allowlist add <gamertag> | Add a player. Resolves XUID on first connect. |
allowlist remove <gamertag> | Remove a player. |
allowlist list | List current entries. |
allowlist reload | Reload after a manual edit. |
Migrating from whitelist.json
allowlist.json was previously named whitelist.json. For backward compatibility, if a whitelist.json is present BDS uses it instead of allowlist.json. To migrate:
- Delete the auto-generated
allowlist.json. - Rename
whitelist.jsontoallowlist.json. - Restart the server.