Skip to main content
YB Admin uses server-side groups, inheritance, and action-level permissions. UI visibility improves clarity, but the server remains the authority.

Default groups

Default groups are defined in Config.Groups inside editable/server.lua. You can edit them before first start or manage groups from the panel.

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.

Wildcards

* grants every permission. YB Admin also understands segmented wildcards such as:
Use wildcards sparingly. Individual permissions make audit and rank reviews easier.

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
With oxmysql, assignments persist in yb_admin_staff.

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.lua.