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 grants two ACE objects per command and group: command.<command> for FiveM's restricted command gate and sky_firejob.<command> for the resource's runtime permission check.

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" },
    missioncreator = { "god", "superadmin", "admin" },
}

The shared /jobconfig and /setboss commands are configured separately through their matching entries in sky_jobs_base/config/config.lua.

For the snippet above, sky_base creates permissions such as:

add_ace group.god command.skyfire allow
add_ace group.god sky_firejob.skyfire allow
… both objects for every configured command and group

FiveM checks the native command object first; protected resource logic then checks 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