Whitelist
The Whitelist module: a server lets in only site accounts that meet its conditions, such as a confirmed e-mail, a role, an approved application or a manual staff decision.
With this module a server lets in only players who have a site account with a linked game account and who meet its conditions. Each server sets its own conditions: a confirmed e-mail, one of the roles, an approved application. The GameLink plugin asks the site every time a player joins, and kicks anyone who loses access while on the server.

| Dependencies | Games | Permissions | Studio blocks | Bot commands | Cron tasks |
|---|---|---|---|---|---|
| Flute 2.0; optionally Rewards and Tickets (applications need both) | servers whose plugin supports whitelist.enforce (CS2); Squad and other games through a list by address | admin.whitelist, admin.whitelist.view | none | none | "Whitelist: recount the server lists", every 10 minutes |
Install and first setup
Install the module from the marketplace as described in first steps; every install option is in Installing modules. The module has no admin menu row of its own: each server sets up its whitelist on its "Whitelist" tab, and the shared defaults live in AdminExtensionsModulesWhitelistSettings.
The server must be connected through GameLink. The "Plugin" line on the tab tells you whether its plugin can check players: "The server plugin checks players as they join.", "The server plugin cannot enforce a whitelist." or "The server plugin has not reported yet."
Close a server to outsiders
Example: a CS2 server should only let in players with a confirmed e-mail and the VIP role.
Open the server's Whitelist tab
Open the server in AdminServers and go to the "Whitelist" tab. While the whitelist is off, the "Mode" line says "Whitelist is off" and the table says "The whitelist is off, the server lets everyone in."
Set the mode and conditions
Click "Set up". In "Mode" pick "By the conditions", tick "Confirmed e-mail" and pick the VIP role in "Roles". With several roles, any one of them is enough.

Save and confirm your login
Click "Save". Switching the whitelist on or changing its mode asks you to confirm your admin login again. You then see "The server whitelist is saved.", and the "Lets in" table fills with the accounts that already meet the conditions.
Check it on the server
Join the server from an account without the role. The plugin refuses and shows "This server lets in whitelisted players only. How to get in: …" with the site address. Your own refusal text goes into "Refusal message".
"With approval" needs both the conditions and an approval: an application, a manual grant by staff or the "Whitelist access" reward. In "By the conditions", a manual staff decision lets a player in even without the conditions.
The module recounts the list on its own when a player confirms an e-mail, changes roles, gets blocked or links a game account. A blocked account loses its place at once, and a player who is on the server at that moment is kicked. Every 10 minutes a background task goes over all accounts; the "Recount" button on the tab does the same for one server.
Let a player in by hand
On the "Whitelist" tab, click "Let a player in", pick the account, "This server" or "Every whitelisted server", and the term. A term of 0 means for good, and the comment shows in the player's history. The decision appears in the "Decisions" table marked "Staff: name".
The player card has the same actions: "Whitelist: let in" and "Whitelist: shut out" with a reason. "Drop decision" in the "Decisions" table puts the player back under the conditions alone.
Access by application
With the Tickets module, "Application" lets you pick the ticket category where Tickets takes applications. On a server with such a category the player's profile shows "Apply and wait for approval" with a link to the form. Approving the application gives the "Whitelist access" reward, and the server starts letting the player in. That reward type comes from the Rewards module, so applications need Rewards too.
With the Rewards module, the "Set up" window gains "Extra conditions" from the Rewards condition set. Without Rewards the tab says "The extra conditions are not checked: the rewards module is off.", while e-mail, roles and manual decisions keep working.
What the player sees
The "Server access" card in the player's profile shows "You are in" or "No access" for each server and what is missing: "Link your game account", "Confirm your e-mail", "A site role is needed". When access appears or goes away, the player gets the notices "You are let onto a server" and "A server no longer lets you in" with the reason.

In the admin player card, the "Whitelist" line shows how many servers the player is on, for example "2 of 3 servers". A player with no site account is marked "no site account, never on a whitelist".
Games and the list by address
The join check is done by a GameLink plugin that reports the whitelist.enforce action. The CS2 plugin, for example, does this. When the server's plugin cannot do it, the tab warns "The whitelist is on, but this server's plugin cannot enforce it: nobody will be stopped.", and the admin home shows "The whitelist of «…» does not work".
Games that read a list by address themselves work without a plugin. Pick a format in "List by address": "Squad (Admins.cfg)", "One identifier per line" or "JSON". The address appears in the "List by link" line on the tab. For Squad, add it as a line in RemoteAdminListHosts.cfg; players land in the group from "Group in the Squad list" with the reserve right.
The list address is derived from the server's GameLink token. After "Issue a new one" on the "Plugins" tab, the old address stops working and the game needs the new one.
Settings
Defaults for new servers and notices: AdminExtensionsModulesWhitelistSettings. Each server sets its mode and conditions in its own "Set up" window. The module settings page opens with admin.whitelist together with the site settings permission admin.system.

| Field | What it changes | Default |
|---|---|---|
| "Ask for a confirmed e-mail" | what a new server's whitelist starts with | on |
| "While the site is down" | what a new server's plugin does while the site does not answer: "Let in by the last answers" or "Let nobody in" | "Let in by the last answers" |
| "Tell that a server lets the player in" | a notice to the player when access appears | on |
| "Tell that a server no longer lets the player in" | a notice to the player with the reason | on |
| "«Server access» card in the profile" | the player sees per server what is missing | on |
| "Accounts per recount step" | recount batch size, 50 to 5000 | 500 |
| "Seconds an answer about a player is kept" | 1 to 30, a new list revision drops it at once | 30 |
| "Seconds the list by address is kept" | 0 to 3600 | 60 |
admin.whitelist opens server setup, granting and shutting out, and includes admin.whitelist.view. With admin.whitelist.view alone, the "Whitelist" tab is visible without buttons.
For developers
When access changes, the module dispatches flute.whitelist.granted or flute.whitelist.revoked with serverId, userId, reason and origin, and sends the matching webhooks "Whitelist: access to a server opened" and "Whitelist: access to a server closed".
Your own launcher or join queue can ask the site through GET /api/v1/whitelist/{server}/check?type=steam&value=<SteamID64> with an API key holding the whitelist-members read scope. The answer is {"allowed": true, "reason": "rules"}; a refusal gives no reason. The whitelist-members resource returns who each server lets in.
How the core side works: Events and listeners, API keys and the REST API, Module REST API.
Troubleshooting
For any other message, use the error lookup.
The server plugin cannot enforce a whitelist
The server's plugin has not reported the whitelist.enforce action, so the whitelist stops nobody. Update the GameLink plugin from the server's "Plugins" tab. If the game has no such plugin, switch on "List by address".
| Message | What to do |
|---|---|
| "Nobody meets the conditions yet." | check the conditions in "Set up" and that players have a linked game account |
| "Nobody gives or takes their own access." | another staff member decides about your own account |
| "Group name: Latin letters, digits, «-» and «_», up to 32 characters." | fix "Group in the Squad list" |
| "The message is longer than 2000 characters." | shorten "Refusal message" |
| "Unknown application category." | the category was deleted in Tickets, pick another in "Application" |
While the site is down, a plugin in "By the last answers" lets in players it already knows and keeps new ones out. To let nobody in during an outage, pick "Nobody" in the server's "While the site is down".