Skip to content

feature: refuse players who are not on a restricted server's access list - #200

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

lukepolo merged 1 commit into
mainfrom
feature/server-access

Conversation

@lukepolo

@lukepolo lukepolo commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

The Player Management plugin now enforces a community server's access list from the panel, refusing players at connect and removing anyone the list no longer allows.

  • Sync response access block (restricted, version, denied); the full list is fetched from GET /sanctions/server/:id/access only when the version changes, and the last list stays in force if the panel is down
  • ConnectClient hook (both runtimes, same signature as the practice plugins): denied players get a blanked ticket, allowed players skip sv_password; open servers are untouched
  • Players the sync reports as denied are kicked once with a translated message (all locales)
  • player_management_status shows the access state

@lukepolo
lukepolo merged commit adad223 into main Oct 1, 2026
6 checks passed
@lukepolo
lukepolo deleted the feature/server-access branch October 1, 2026 13:16
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