Installation
Requirements
| Dependency | Required? | Notes |
|---|---|---|
oxmysql / mysql-async / ghmattimysql | Yes (one) | Database driver |
FiveM Server 5848+ | Yes | Minimum artifact version |
es_extended / qb-core / qbx_core | Yes (one) | Framework — auto-detected |
| Skin script | Yes (one) | Any supported skin script for character creation |
screenshot-basic | Optional | For profile photo feature |
qb-apartments | Optional | For apartment-based spawn locations |
Steps
1. Extract Resource
Extract the code9_multichar folder into your server's resources/ directory.
2. Add to server.cfg
ensure oxmysql
ensure code9_multichar
3. Database Setup
Import the SQL file:
data.sql
This creates 3 tables (multichar_music, multichar_purchases, multichar_slots) and adds a settings column to the existing players table.
4. Configure
Edit shared/config.lua to set your character slots, spawn locations, backgrounds, poses, starter items, and skin script preferences.
5. Start Server
Restart your server. The multicharacter screen appears automatically when players connect.
