QBCore Setup
Complete guide for setting up 0r-multicharacterv3 with QBCore framework.
β
Requirements
QBCore (latest version)
ox_lib
oxmysql
A compatible inventory
A compatible clothing script
π Quick Setup
Step 1: Disable Default Multicharacter
If you have qb-multicharacter installed:
# server.cfg
# ensure qb-multicharacter <-- Comment out or remove
ensure 0r-multicharacterv3Step 2: Configure QBCore
Edit qb-core/config.lua:
QBShared.DefaultSpawn = false -- Let multicharacter handle spawningStep 3: Start Order
ποΈ Database
QBCore uses the players table for character storage. The script reads:
citizenid
Unique character identifier
cid
Character slot number
license
Player identifier
charinfo
Character information (JSON)
job
Job data (JSON)
money
Money data (JSON)
position
Last position (JSON)
π§ Character Data Format
The script converts QBCore data to a standardized format:
π Housing Integration
qb-houses
The script automatically loads house data:
qb-apartments
Configure in config/apartments.lua:
β‘ Events
Server Events
Client Events
π Character Deletion
Configure tables to clean up in config/database.lua:
β Troubleshooting
"Player already loaded" error
This usually means qb-core is trying to load the player before multicharacter:
Ensure
QBShared.DefaultSpawn = falseCheck start order in server.cfg
Characters not saving
Check oxmysql connection
Verify
playerstable existsCheck server console for SQL errors
Clothing not loading
Verify clothing script is started
Check
playerskinstable has dataEnsure
citizenidmatches
Spawn issues
Disable
basic-gamemodeCheck spawn selector configuration
Verify position data in database
Last updated