Authorization
Resolved by FlagAuth from pole attributes, falling back to Config.
Modes
| Mode | Allowed when |
|---|---|
Group | Player rank in GroupId ≥ MinGroupRank |
Team | player.Team.Name == TeamName |
Either | Group or Team passes |
Anyone | Always (useful for testing) |
With default Either + GroupId = 0, only the Team check can succeed until you set a group id.
Flow
- Player triggers the pole
ProximityPrompt - Server checks
FlagAuth.isAuthorized - Denied →
Notifytoast withConfig.DenyMessage - Allowed →
OpenPickerwithpoleId - Client selects a nation →
RequestSetNation - Server re-checks auth and applies
TextureID