feature: restrict community servers to picked players, a role or a live event - #470
Merged
Merged
Conversation
This was referenced Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 byserver_allowed_steam_ids()inhasura/functions/servers/server_access.sqlaccessblock (restricted, version, denied); newGET /sanctions/server/:id/accessreturns the full list for the plugin's connect gatesetServerAccessadmin action saves the rules and sendsplayer_management_refresh; no restartsetServerSettings(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