Multicharacter — Installation
Dependencies
| Resource | Required | Notes |
|---|---|---|
oxmysql | Yes | The database. Tables are created on first start; there is nothing to import. |
| Framework | Yes | es_extended, qb-core or qbx_core. |
| Appearance script | Optional | Dresses the characters in the scene and opens the creator for new ones. See Supported Scripts. FWB Appearance works best. |
| Housing script | Optional | Homes on the spawn map. See Supported Scripts. |
| Inventory | Optional | For starter items: ox_inventory, qb-inventory or qs-inventory. Without one, the framework's own item functions are used. |
Install Steps
- Put
fwb_multicharacterin yourresourcesfolder. - Stop the character menu you use now (see your framework below).
- Add it to
server.cfgafteroxmysql, your framework, your appearance script and your housing script:
cfg
ensure oxmysql
ensure es_extended # or qb-core / qbx_core
ensure fwb_appearance # your appearance script
ensure fwb_multicharacter- Give yourself the admin menu:
cfg
add_ace identifier.license:YOUR_LICENSE fwb_multicharacter.admin allowThe framework's own admins can open it too.
- Restart the server, join, and type
/fwb_multicharacter. The setup wizard opens the first time.
Your Framework
ESX
- Remove or park
esx_multicharacter. Don't run both. - In
es_extended/shared/config/main.luaset:
lua
Config.Multichar = truefwb_multicharacter provides the name esx_multicharacter, so scripts that need it keep working. If ESX is not in multicharacter mode, the server console says so at start.
QBCore
- Remove or park
qb-multicharacterandqb-spawn. Character select and the spawn map are both done byfwb_multicharacter, and the events qb-spawn sends (QBCore:Client:OnPlayerLoadedand others) are sent for you.
Qbox
- Turn off Qbox's own character menu in
qbx_core/config/client.lua:
lua
characters = {
useExternalCharacters = true,
-- ...
}Updating
Keep your own copy of the bridge/ folder (hooks, housing, appearance, starter items, logs). Everything you set in the admin menu is in the database and stays.
