SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
    • Features
    • Installation
    • Framework Setup
    • Core Settings
    • Characters and Slots
    • Identity
    • Spawn Selector
    • Camera and Scene
    • Arrival and Welcome
    • Starting Items
    • Loading Screen
    • Discord
    • Logs
    • Theme and Branding
    • Translations
    • Commands and Permissions
    • Database
    • Integrations
    • Hooks
    • Exports and Events
    • Examples
    • Security
    • Troubleshooting
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
  • 🚌Bus Job
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Multicharacter
  3. /Commands and Permissions

Multicharacter

Commands and Permissions

Player and admin commands, framework group permissions, and ACE setup.

On this page3 sections
  • Player commands
  • Admin commands
  • Permissions

Player commandsLink copied

CommandDescription
/relogSaves the character and returns to character select. Name and cooldown are in Config.Relog.

Admin commandsLink copied

Commands work in game chat with / and in the server console without /. The console always has full access.

CommandACE permissionDescription
getcharacters <license>sc_multicharacter.adminPrints all characters of a license to the server console as JSON.
forcedeletechar <citizenid>sc_multicharacter.adminDeletes a character right away, without confirmation or cooldowns.
lockchar <citizenid> <reason>sc_multicharacter.adminLocks a character. The player sees it with a badge and reason but cannot play it.
unlockchar <citizenid>sc_multicharacter.adminRemoves the lock.
setslots <player id or identifier> <count>sc_multicharacter.setslotsSets a fixed slot count. 0 removes the override.
scfixdbsc_multicharacter.adminChecks and repairs the database schema on demand.
scspawnshots [force]sc_multicharacter.adminTakes photos of all spawn locations. force retakes them. In game only.
scintrosc_multicharacter.adminPlays the airplane intro. In game only.

setslots

Text
setslots 12 4setslots license:1234567890abcdef1234567890abcdef12345678 4setslots 12 0
  • The first argument is an online player id or the identifier of an offline player.
  • The count is capped at Config.MaxSlots.
  • The value replaces DefaultSlots, SlotOverrides, and Discord role slots.
  • 0 removes the override.
  • Saved in the sc_slots table.

lockchar

Text
lockchar AB12CD34 In custody until further noticeunlockchar AB12CD34

The lock is checked on the server during selection, so a modified client cannot load a locked character. Saved in sc_character_locks on every framework.

getcharacters

Text
getcharacters license:1234567890abcdef1234567890abcdef12345678

The list goes to the server console. From in game, chat only shows the number of characters found.

Every admin action is logged when logs are enabled. See Logs.

PermissionsLink copied

A player may use an admin command when either check passes.

Framework groups

Assign commands to framework groups in config/core.lua:

Lua
Config.AdminGroups = {    superadmin = '*',    admin      = '*',    god        = '*',    mod        = { 'getcharacters', 'lockchar', 'unlockchar' },    support    = { 'getcharacters' },}
  • '*' allows every command.
  • A list allows only the listed commands.
  • Names: getcharacters, forcedeletechar, lockchar, unlockchar, setslots, scfixdb, scspawnshots, scintro.
FrameworkWhat is checked
ESXPlayer group (xPlayer.group)
QBCoreQBCore.Functions.HasPermission
Qboxexports.qbx_core:HasPermission
ox_coreox_core group

You do not need to add admins twice. A framework group is enough.

ACE

Classic FiveM permissions work on every framework and in the console:

server.cfg
add_ace group.admin sc_multicharacter.admin allowadd_ace group.admin sc_multicharacter.setslots allow

sc_multicharacter.setslots is separate, so you can give it to a role without the other commands.

Add a player to a group:

server.cfg
add_principal identifier.license:1234567890abcdef1234567890abcdef12345678 group.admin

Command access

Server commands are registered as restricted. FiveM also needs command.<name> access. Most servers already have:

server.cfg
add_ace group.admin command allow

If not, add the commands one by one:

server.cfg
add_ace group.mod command.getcharacters allowadd_ace group.mod command.lockchar allowadd_ace group.mod command.unlockchar allow

scspawnshots and scintro run on the client, but always ask the server for permission first. A client cannot grant them to itself.

← PreviousTranslationsMulticharacterNext β†’DatabaseMulticharacter

On this page

  • Player commands
  • Admin commands
  • Permissions
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex