Skip to content

Install — CC Multicharacter

About five minutes on a server that already runs. Every step is copy-paste.

About five minutes on a server that already runs. Every step is copy-paste.

1. Requirements

NeededVersionWhy
cc_lib1.11.0 or newer (1.13.0 recommended)The bridge to your framework, clothing, inventory, notify and weather, plus the security gate every event goes through
oxmysqlany currentOur own tables (slots, deletes, playtime, favourites, starter claims)
FiveM server artifact6683+ with OneSync onRouting buckets and server-side ped positions

Optional, detected at start (nothing to configure): a framework (Qbox, QBCore, ESX Legacy, ox_core — or none, see Standalone), a clothing resource, a housing resource. The full list is in COMPATIBILITY.md.

2. Remove the old character screens

cc_multicharacter is the loading screen, the character select and the spawn selector. Two of any of those fight over the same player, so it refuses to start next to one and says which in the console. Remove the ensure line of every one you run:

qb-multicharacter   qbx_multicharacter   esx_multicharacter   ps-multicharacter
um-multicharacter   okokMultichar        17mov_CharacterSystem
qb-spawn            qbx_spawn            cc_loading

Also remove any other resource whose fxmanifest.lua has a loadscreen line (a loading screen). There can be only one.

ESX: set Config.Multichar = true in es_extended/config.lua. Qbox: set useExternalCharacters = true in qbx_core/config/client.lua (qbx_core then waits for us instead of opening its own screen).

3. Drop it in

Put the cc_multicharacter folder in your resources and add it after your framework, clothing, housing and cc_lib:

cfg
ensure oxmysql
ensure qbx_core            # or qb-core / es_extended / ox_core (or nothing: standalone)
ensure illenium-appearance # your clothing resource
ensure cc_lib
ensure cc_multicharacter

Start the server. The console prints framework qbox, housing none (or similar) and the six (seven standalone) cc_multichar_* tables are created on their own. sql/install.sql holds the same tables if your host makes you import SQL by hand.

4. Permissions (ACE)

cfg
add_ace group.admin cc_multicharacter.admin allow     # /ccmc_staff, /ccmc_spot, ccmc_restore

Extra character slots by ACE (optional):

cfg
add_ace identifier.license:xxxxxxxx cc_multicharacter.slots.2 allow   # +2 slots

5. Optional convars

Copy what you need from install/convars.cfg:

cfg
setr cc_multicharacter_locale "en"              # locales/<code>.json
setr cc_multicharacter_preset ""                # merge presets/<name>.lua over config.lua
setr cc_multicharacter_relog_command "relog"    # '' turns /relog off
set  cc_multicharacter_framework ""             # force: qbox | qb | esx | ox | standalone
set  cc_multicharacter_housing ""               # force one, or "none"
set  cc_multicharacter_bot_token "..."          # Discord bot token for role-based slots (set, NEVER setr)

6. Make it yours

  1. config.lua → Config.UI.brand (name, tagline, logo) and Config.UI.theme (colours).
  2. Put your pictures in web/brand/, web/scenes/, web/spawns/, web/map/ and songs you have the rights to in web/music/, then name them in config.lua. The product ships no photos, map or music; until you add them the screens show clean plain panels.
  3. Pick a scene (Config.Scene = 'pier' or 'rooftop') or build your own with /ccmc_spot.
  4. Check the spawn points in Config.Spawn.points against your map.

Every key is explained in CONFIG.md.

Standalone (no framework)

With no framework running, cc_multicharacter keeps the characters itself (cc_multichar_characters) and the whole flow still works. It warns once in the console so a framework that failed to start is never mistaken for standalone. Force it with set cc_multicharacter_framework "standalone". Your own resources read the active character with exports.cc_multicharacter:getCharacter(src) or the replicated state bag Player(src).state.cc_character. See EXPORTS.md.

Updating

Replace every file except config.lua, server/config.lua, presets/, locales/ (if you translated) and your pictures and music in web/. Read CHANGELOG.md for renamed keys first. Tables migrate themselves.

Something not working? TROUBLESHOOTING.md.