For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to add player to Hospital Admin

/hospitaladmin is gated the same way as other OTHERPLANET admin panels: ACE -> identifier whitelist -> framework rank.

In server.cfg:

add_ace group.admin opambulance.admin allow

Restart server, then run /hospitaladmin in-game.

Option 2 - Identifier whitelist

Edit config/MainConfig.lua:

Config.AdminPanelPlayers = {
    ['license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] = true,
    -- ['discord:000000000000000000'] = true,
}

Use license / discord / character / citizenid identifiers from txAdmin.

Option 3 - Framework rank

Config.RanksPermissions = {
    AdminPanelPlayers = {
        ['esx'] = { 'superadmin', 'admin', 'mod' },
        ['qbcore'] = { 'god', 'admin' },
        ['qbox'] = { 'god', 'admin' },
    },
}

Command name defaults to hospitaladmin (config/AdminConfig.lua -> Config.HospitalAdmin.command). ACE name defaults to opambulance.admin.

Same ACL is used for /fckmenu (CK admin).

Last updated