Skip to main content

Default groups

Owner identifiers, default groups, the permission catalog, high-level permissions, and protected groups are configured in editable/server/permissions.lua. You can edit the defaults before first start or manage staff groups from the panel.

Configure owners

Add license, Discord, Steam, or FiveM identifiers to Config.Owners in editable/server/permissions.lua:
Restart yb-admin after changing the owner list.

Permission inheritance

Use inherit to include every permission from a lower group:
A group cannot safely inherit from a group at the same or a higher level. Keep the inheritance chain moving upward in power.

Permission categories

admin.open, dashboard access, announcements, weather, cleanup, and group management.
Player viewing, names, heal, revive, freeze, kill, kick, ban, skin, messages, jail, evidence, inventory, money, job, gang, vehicles, and character removal.
Noclip, bring, goto, and return teleport actions.
Report viewing and management, staff chat viewing, sending, and moderation.
Monitoring, logs, resources, economy, items, bans, and developer tools.

Protected permissions

Config.HighLevelPermissions prevents non-owners from granting sensitive capabilities by default:
  • *
  • admin.groups.manage
  • admin.resources.manage
  • admin.players.character.remove
  • admin.players.ban
  • admin.bans.manage
Config.ProtectedGroups prevents lower staff from editing, deleting, or assigning critical ranks such as owner and superadmin.

Assign staff

Open Groups and select Manage Staff to:
  • Search online and offline staff
  • View character names, identifiers, and available profile information
  • Assign a new staff member
  • Change an existing rank
  • Remove staff access

Duty state

Staff membership and duty are separate states.
  • isAdmin means the player belongs to a staff group.
  • isOnDuty means the staff member has started an active session.
  • Duty is off by default when Config.Duty.defaultOn = false.
  • Going off duty closes protected interfaces and stops active administrative modes.
Use the isOnDuty export alongside hasPermission when another resource needs to authorize a staff action.

ACE assignments

Assign a configured YB Admin group using a FiveM principal:
The group name after yb-admin.group. must match a group configured in editable/server/permissions.lua.