Installation Guide
Complete installation instructions for Oxide Multichar.
Table of Contents
- Prerequisites
- Download and Placement
- Server Configuration
- Building the Web UI
- Migration from qb-multicharacter
- First Launch Verification
- Next Steps
Prerequisites
Before installing Oxide Multichar, ensure you have:
| Requirement | Description |
|---|---|
| qb-core | QBCore framework (required) |
| ox_lib | Overextended library for callbacks and utilities (required) |
| oxmysql | MySQL database resource (required) |
| oxide-clothing | Character appearance system - provides qb-clothing (required) |
| qb-apartments | For new character spawn flow (optional) |
| qb-spawn | For existing character spawn selection (optional) |
| Node.js 18+ | For building the web UI (only if not pre-built) |
Download and Placement
-
Download the
oxide-multicharresource from your purchase location. -
Extract the folder to your server's resources directory:
resources/
└── [your-folder]/
└── oxide-multichar/
├── client/
│ └── modules/
├── server/
├── shared/
├── web/
│ └── dist/ # Pre-built UI (or build yourself)
├── config.lua
└── fxmanifest.lua
- Ensure the folder is named exactly
oxide-multichar.
Server Configuration
Step 1: Remove or Disable qb-multicharacter
Oxide Multichar replaces qb-multicharacter. You must remove or disable the original:
Option A - Remove from server.cfg:
# Remove or comment out this line:
# ensure qb-multicharacter
Option B - Delete the resource:
Delete the qb-multicharacter folder from your resources directory.
Important: Do NOT run both resources at the same time.
Step 2: Add oxide-multichar to server.cfg
Add the following to your server.cfg:
# Oxide Multichar - Must start AFTER dependencies
ensure oxide-multichar
Step 3: Ensure Correct Start Order
Your resource start order should look like this:
ensure oxmysql
ensure ox_lib
ensure qb-core
# Appearance system
ensure oxide-clothing
# Other QBCore resources...
ensure qb-inventory
ensure qb-apartments # Optional
ensure qb-spawn # Optional
# Multichar - ensure it starts after dependencies
ensure oxide-multichar
Building the Web UI
If your download includes a pre-built web/dist/ folder, you can skip this section.
Building Locally
-
Ensure you have Node.js 18+ installed
-
Navigate to the web directory:
cd resources/[your-folder]/oxide-multichar/web
- Install dependencies:
npm install
- Build for production:
npm run build
- Verify that
web/dist/was created with:index.htmlassets/*.jsassets/*.css
Development Mode
For UI development with hot reload:
cd web
npm run dev
This starts a local dev server. Changes will auto-refresh in the browser.
Migration from qb-multicharacter
If you have an existing qb-multicharacter installation:
Step 1: Backup Your Server
Create a backup of your resources folder before making changes.
Step 2: Stop Your Server
Shut down your FiveM server completely.
Step 3: Update server.cfg
Replace qb-multicharacter with oxide-multichar:
# Remove this:
# ensure qb-multicharacter
# Add this:
ensure oxide-multichar
Step 4: Configure oxide-multichar
Review config.lua and adjust settings to match your server's needs:
- Character slot limits
- Age range requirements
- Scene preferences
- Logout configuration
Step 5: Start Your Server
Start your server and verify the migration was successful.
What Works Automatically
| Feature | Status |
|---|---|
| Existing characters | Fully compatible |
| Character appearance | Works with oxide-clothing |
| QBCore player data | No migration needed |
| Spawn locations | Uses qb-spawn/qb-apartments |
First Launch Verification
After starting your server, verify the installation:
1. Check Server Console
Look for this startup message:
[ox_lib] Oxide Multichar (QBCore) initialized
2. Test In-Game
- Connect to your server
- The character selection screen should appear automatically
- Verify you can see existing characters (if any)
- Test creating a new character
- Test selecting an existing character
- Test the logout command:
/logout
3. Verify Scene System
- Check that scenes load properly
- Use the scene selector to switch between scenes
- Verify your scene preference persists after reconnecting
Next Steps
- Configure the resource - Customize slots, scenes, and behavior
- Explore features - Discover all capabilities
- Troubleshooting - Common issues and solutions