Skip to content

whitelist.json

Stores the server’s whitelist. When enabled, only players whose UUID is in the list can connect. Disabled by default.

File: whitelist.json
Provider: HytaleWhitelistProvider

{
"enabled": false,
"list": [
"550e8400-e29b-41d4-a716-446655440000",
"660e8400-e29b-41d4-a716-446655440000"
]
}
FieldTypeDefaultDescription
enabledbooleanfalseWhether the whitelist is active
listUUID[][]UUIDs allowed to connect

When enabled is false, the whitelist has no effect — all players can connect (subject to bans and other access providers).

The built-in HytaleWhitelistProvider is not directly accessible from the mod API. For custom allowlist logic, register an AccessProvider. See Access Control for the full API.

CommandDescription
/whitelist enableEnable the whitelist
/whitelist disableDisable the whitelist
/whitelist add <player>Add a player
/whitelist remove <player>Remove a player
/whitelist listShow all whitelisted players
/whitelist statusShow whether whitelist is enabled
/whitelist clearRemove all entries

See Access Control Commands for details.