Admin Access
Admin Access
Administrator access is based on FiveM license identifiers.
Config.AdminLicenses = {
['license:YOUR_LICENSE'] = true
}
The Admin Manager also supports runtime administrators, which can be added or removed without editing the base config.
Open Admin Studio
Default client command:
/craftbench
The server validates admin access before sending the Admin Studio payload.
Runtime admin exports
exports['nord_crafting']:AddAdmin(value)
exports['nord_crafting']:RemoveAdmin(value)
exports['nord_crafting']:IsAdmin(value)
exports['nord_crafting']:GetRuntimeAdmins()
value can be a supported license/source form handled by the Admin Manager.
Runtime admins are persisted to:
server/data/runtime_admins.json
This API is useful for staff-management resources such as nord_staff.