DXS Multi Character

Dependencies
oxmysql(required)Framework (choose one):
es_extendedwhenConfig.Framework = "esx"qb-corewhenConfig.Framework = "qbcore"Appearance resource (optional but recommended):
illenium-appearance(recommended if available)or
esx_skin+skinchangerscreenshot-basicifConfig.Mugshot.enabled = true
Installation (Step by Step)
Put the resource folder in your server resources:
Example:
resources/[DXS]/DXS_Multichars
Open
server.cfgand ensure start order is correct:
Add admin ACE permission (optional but recommended for commands):
Configure the script in
config.lua:
Set
Config.Frameworkto"esx","qbcore", or"standalone"Set
Config.Locale(en,es,fr,ar,ur)Set
Config.CharacterCountConfigure spawn points in
Config.Spawn.locationsSet appearance provider in
Config.Appearance.providerConfirm mugshot settings in
Config.Mugshot
Start or restart your server.
Verify in console:
No
Config validation failederrorsNo
oxmysql must be started before dxs_multicharserrorCharacter UI opens on player join
Replacing Old Character Scripts (Very Important)
If you are moving from another multicharacter script, do this to avoid double UI, broken spawn, or duplicate identity flow.
Quick Disable/Delete List
Disable these in server.cfg first:
esx_multicharacter(or similar ESX multichar script)qb-multicharacterAny custom multichar selector
Any custom spawn selector that opens its own menu (example:
qb-spawn)
Disable only if it conflicts:
esx_identity(disable if it opens duplicate identity/registration UI)
Do not disable:
oxmysqles_extendedorqb-core(your active framework)Your selected appearance scripts (
illenium-appearanceoresx_skin+skinchanger)
Example server.cfg Cleanup
Before (old setup example):
After (DXS setup):
Disable old character selector resources in
server.cfg:
esx_multicharacter(or any ESX multichar variant)qb-multicharacterAny custom multichar selector resource
Disable old spawn selector resources that open their own spawn UI:
qb-spawncustom spawn selector scripts
any resource that forces spawn UI before this script
For ESX servers:
If
esx_identityis forcing its own registration UI and conflicts with this character creator, disableesx_identity.Keep it only if your server specifically depends on it and you have no conflict.
Do not remove core dependencies:
Keep
oxmysqlKeep your chosen framework (
es_extendedorqb-core)Keep your chosen appearance resources
Test first, then delete folders:
First comment out old
ensurelines and test.After successful test, you can permanently delete old resource folders.
Migration and Existing Data
This script supports two migration paths:
Users table migration (
Config.Storage.migrateUsers = true)
Reads existing rows from
userstable using:identifier = primaryIdor
identifier LIKE 'char%:primaryId'Builds DXS character rows automatically when player opens menu.
Legacy JSON migration (
Config.Storage.migrateJson = true)
Imports from
data/characters.jsonMigration runs only when DXS character table is empty
Optional legacy backup file can be created
Notes:
Schema is auto-created by the resource at startup.
Manual SQL file is available at
sql/dxs_multichars.sqlif you want to pre-create tables.
Database Tables
dxs_multichars_characters(main character data)dxs_multichars_audit(admin/player action logs)dxs_multichars_portraits(saved mugshot images)
Commands
Admin commands:
/mc_view [playerId]/mc_lock [playerId] [slot] [true/false]/mc_reset [playerId] [slot|all]/mc_diag/mc_fixmodels/mc_rebuildindex
Player command:
/charskin(name depends onConfig.Appearance.command)
Important Config Keys
Config.FrameworkConfig.LocaleConfig.CharacterCountConfig.AllowPlayerDeleteConfig.Storage.*Config.Validation.*Config.Appearance.*Config.Mugshot.*Config.Spawn.*Config.AdminAce
Troubleshooting
Character menu does not open:
Check that old multichar/spawn selector scripts are disabled.
Check console for startup errors.
Server says
oxmysql must be started before dxs_multichars:
Move
ensure oxmysqlabove this resource.
Appearance menu does not open:
For
esx_skinmode, ensure bothesx_skinandskinchangerare started.For
illeniummode, ensureillenium-appearanceis started.
Mugshots do not save:
Ensure
screenshot-basicis started.Keep
Config.Mugshot.enabled = true.
ESX identity conflicts:
Disable
esx_identityif it opens duplicate registration flow.
Testing Checklist
Use TEST_CHECKLIST.md after installation to confirm create/edit/delete/spawn/appearance/admin flows.
Last updated