#qb-adminmenu

1 messages · Page 1 of 1 (latest)

sour thorn
#

qb-adminmenu doesn't support saving player permissions to the database, so any permissions set reset when the player exits. Can anyone recommend a better admin menu that stores permissions in the database? or Is there any way to modify the existing admin menu to support these changes? Thanks!

buoyant cairn
#

Permissions are done through the server.cfg

#
add_ace group.admin command allow # allow all commands
{{addPrincipalsMaster}} # This is the way txAdmin assigns permissions to the server owner

# Resources
add_ace resource.qb-core command allow # Allow qb-core to execute commands

# Gods
add_ace qbcore.god command allow # Allow all commands

# Inheritance
add_principal qbcore.god group.admin # Allow gods access to the main admin group used to get all default permissions
add_principal qbcore.god qbcore.admin # Allow gods access to admin commands
add_principal qbcore.admin qbcore.mod # Allow admins access to mod commands

# Players
add_principal identifier.license:xxxxxx qbcore.god # Player Name
add_principal identifier.license:xxxxxx qbcore.admin # Player Name
add_principal identifier.license:xxxxxx qbcore.mod # Player Name```