Admin Panel
Staff, Roles & Discord
Where staff access comes from, how ranks work and how Discord roles are kept in sync.
Every staff member gets the highest role from these sources:
| Source | How |
|---|---|
| Owner | Any identifier in ServerConfig.Owners - always every permission. |
| Added staff | Added by hand in the panel (Staff & roles > Added staff) - kept until removed, whatever their Discord roles are. Add an online player, or anyone by Discord ID even when they are offline: the ID is looked up first (picture, names, roles, every game account and character). |
| Discord role | Each role can be linked to Discord role IDs. Anyone with that Discord role gets the role on the server. |
| ACE | add_ace group.admin lg_admin.role.admin allow (turn off with Config.AceRoles = false). |
Ranks
- Every role has a priority. Staff can only act on players and staff with a lower priority, and only manage lower roles.
- Roles and their permissions are edited in the panel and saved in the database.
Config.Rolesonly creates the first set. - Online staff lists everyone with access right now - including people who got it from a Discord role - with their rank and where the access comes from. Someone in the game and on the website at the same time shows once, with an In game and a Website tag.
Discord caching
When a player joins, their Discord profile (names, avatar, banner, roles, dates) is read once. Every time they open the panel or use a staff command, only their roles are checked again (at most once every Config.Discord.RoleRecheckSeconds) and their access changes right away. The full profile refreshes after ProfileRefreshMinutes.
Discord profile
Every player profile has a Discord popout like Discord's own: display name, server nickname, avatar and decoration, banner, roles in Discord order with their colours, account created and server joined dates.
Last updated