Browse docs

Permissions

Configure ACE-backed administrator access for Sky Fire Job commands and protected features.
Admin command not working? Make sure the bootstrap ACEs are present in your server.cfg and your player is in group.admin. Sky wires every per-command permission to ACE automatically.

How Sky checks command permissions

Administrator commands and protected features are gated by Config.CommandPermissions in sky_firejob/config/config.lua. At server start, sky_base reads that table and emits one add_ace per command and group.

sky_firejob/config/config.lua
Config.CommandPermissions = {
    skyfire = { "god", "superadmin", "admin" },
    skyfiremenu = { "god", "superadmin", "admin" },
    skyfirestop = { "god", "superadmin", "admin" },
    skyfirestopnear = { "god", "superadmin", "admin" },
    skyfireclear = { "god", "superadmin", "admin" },
    skyfirelist = { "god", "superadmin", "admin" },
    skyfiredebug = { "god", "superadmin", "admin" },
    skyfiredecal = { "god", "superadmin", "admin" },
    skyfirescenariocreator = { "god", "superadmin", "admin" },
}

For the snippet above, sky_base creates permissions such as:

add_ace group.god        sky_firejob.skyfire allow
add_ace group.superadmin sky_firejob.skyfire allow
add_ace group.admin      sky_firejob.skyfire allow

At runtime each command resolves with a single IsPlayerAceAllowed(src, "sky_firejob.<command>").

If a command is not listed in Config.CommandPermissions, only the server console can use it.

Framework setup

QBox

server.cfg
add_principal identifier.license:<license> group.admin

QBCore

server.cfg
add_principal identifier.license:<license> qbcore.admin

Or, if an existing administrator is already online:

/addpermission 1 god

ESX Legacy

/setgroup 1 admin

vRP

Assign the player's group through your vRP admin tooling, then ensure the matching group.<name> principal is registered.

Custom groups

To allow another group such as supporter to use one command, add it to the relevant entry:

sky_firejob/config/config.lua
Config.CommandPermissions = {
    skyfire = { "god", "superadmin", "admin", "supporter" },
}

Then grant the player the matching principal and restart sky_firejob.

Activating boss permissions with /setboss

Once your admin group is set, run /setboss to grant every permission to a specific job grade:

/setboss firefighter 4

See the Commands page for the full admin command list.

Troubleshooting

Support

Need help? Our support team is always ready to assist.

Join Discord