Skip to main content

Authorization

Resolved by FlagAuth from pole attributes, falling back to Config.

Modes​

ModeAllowed when
GroupPlayer rank in GroupId ≥ MinGroupRank
Teamplayer.Team.Name == TeamName
EitherGroup or Team passes
AnyoneAlways (useful for testing)

With default Either + GroupId = 0, only the Team check can succeed until you set a group id.

Flow​

  1. Player triggers the pole ProximityPrompt
  2. Server checks FlagAuth.isAuthorized
  3. Denied → Notify toast with Config.DenyMessage
  4. Allowed → OpenPicker with poleId
  5. Client selects a nation → RequestSetNation
  6. Server re-checks auth and applies TextureID