Skip to content

feature: restrict community servers to picked players, a role or a live event - #470

Merged
lukepolo merged 3 commits into
mainfrom
feature/server-access
Oct 1, 2026
Merged

lukepolo merged 3 commits into
mainfrom
feature/server-access

Conversation

@lukepolo

@lukepolo lukepolo commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Lets an admin restrict who may connect to a community server: hand-picked players, everyone at or above a role, or members of an event while it is live. Moderators and up always get in.

  • servers.access_restricted / access_min_role, server_access_players, server_access_events; resolved by server_allowed_steam_ids() in hasura/functions/servers/server_access.sql
  • Player Management sync returns an access block (restricted, version, denied); new GET /sanctions/server/:id/access returns the full list for the plugin's connect gate
  • Connect info is hidden from anyone not allowed, which also drops the server from Public Servers for them
  • setServerAccess admin action saves the rules and sends player_management_refresh; no restart
  • Includes setServerSettings (feature: save a community server's settings in one call with one restart #473): one save for rotation, plugins and access, restarting the server at most once

@lukepolo
lukepolo merged commit 2ca09b8 into main Oct 1, 2026
2 checks passed
@lukepolo
lukepolo deleted the feature/server-access branch October 1, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant