Integrations
Edit rcore_housing/configs/config.integrations.lua to define admin groups, boss-grade detection, and framework event names.
🛡️ Admin Groups
Config.AdminGroups = {
[Framework.ESX] = { 'admin' },
[Framework.QBCORE] = { 'god', 'admin', 'mod', 'support' },
[Framework.QBOX] = { 'god', 'admin', 'mod', 'support' },
}Admin groups receive every nil-permission action in Config.PropertyCreator.Permissions (see main config). Add or remove group names to match your framework setup.
🏷️ Job & Boss Detection
Config.Job = {
BossGrades = {
'chief', 'boss', 'captain', 'commander', 'director', 'superintendent',
'chef', 'patron', 'commandant', 'commissaire', 'directeur', 'capitaine',
'kommandant', 'direktor', 'hauptmann', 'leiter', 'vorgesetzter',
'jefe', 'capitan', 'comandante', 'comisario', 'superintendente',
},
BossIncludesSecondHighest = true,
}BossGrades
Grade names always treated as boss, regardless of numeric grade. Localized for EN, FR, DE, ES.
BossIncludesSecondHighest
When true, both the highest and second-highest grades are treated as boss.
📡 Framework Events
Config.Events maps internal player-load/job-update event names to each framework's actual event names:
Only override these if you've forked your framework and renamed the events. The defaults match stock ESX, QBCore, and QBox.
Config.Events.shared.addonAccount (esx_addonaccount:getSharedAccount) is used to obtain ESX society accounts for the business system.
Last updated