Skip to content

Troubleshooting

Common problems with Cuxial Multichar and how to fix them.

Most problems come from a missing dependency, the start order or a convar. Check the server console first: the resource reports what is wrong.

The resource does not start

Cause. A required dependency is missing or starts later: OneSync, ox_lib, oxmysql or cuxial_bridge.

Fix. Enable OneSync and start those resources before cuxial_multichar. See the order in Installation.

The selection opens but no character can be loaded or created

Cause. The framework was not detected. Cuxial Multichar requires QBox or QBCore.

Fix. Start your framework before cuxial_bridge, and cuxial_bridge before cuxial_multichar.

The character shows the base body or the creator does not open

Cause. No supported appearance resource is running. Cuxial Multichar uses cuxial_appearance and, if it is not running, illenium-appearance. With starting apartments in use, the creator is not opened by this script either.

Fix. Start one of the two before cuxial_multichar. With illenium-appearance, the look comes from the playerskins table: the character needs a row with active = 1.

Black or empty screen instead of the selection

Cause. The web/build folder is missing or incomplete, or another loading screen resource is running.

Fix. Upload the resource again with its full web/build folder and remove any other loading screen from your server.cfg.

Discord roles give no extra slots

Cause. One of these:

  • discordSlots.enabled is false.
  • The convars are missing. The console warns that Discord slots are enabled but the bot or server convars are missing.
  • The bot is not in your Discord server, or the token is wrong. The console shows the status code Discord answered with.
  • The player has no Discord linked to FiveM.
  • The role ID is wrong, or characters.maxSlots is lower than the slots of the role.

Fix. Check each point. Role changes take up to discordSlots.cacheMinutes to apply, or until the player reconnects.

Extra slots disappear from time to time

Cause. Discord did not answer within discordSlots.timeoutMs. The player gets the base slots, and the request is retried a minute later.

Fix. Raise discordSlots.timeoutMs. For key users, add them to discordSlots.users, which does not depend on Discord answering.

New characters spawn without items

Cause. A starter item does not exist in your inventory, or the inventory did not load in time. The console names the item or the player.

Fix. Create the items or edit starterItems in the config.

Character cards show 0 hours played

Cause. Hours are counted from the moment this version is installed, per character and while that character is played. Characters that already existed start at zero. If they never go up, characters.card.playtime is false or the cuxial_multichar_playtime table could not be created.

Fix. Keep characters.card.playtime = true, check in the server console that oxmysql connects, or import install/cuxial_multichar_playtime.sql by hand.

Slots show initials instead of the portrait

Cause. characters.portraits.enabled is false, no appearance resource is running, or the player has more characters than characters.portraits.max.

Fix. Enable portraits, start cuxial_appearance or illenium-appearance before cuxial_multichar, or raise characters.portraits.max.

The ID card does not appear when creating a character

Cause. The resource set in idCard.resource is not running, or it has no card for idCard.item.

Fix. Start that resource before cuxial_multichar, or set idCard.enabled = false.

The vehicle option is missing in the selection

Cause. The resource set in vehicles.resource is not running, or the character owns no car or motorcycle.

Fix. Start that resource, or set vehicles.enabled = false to hide the feature.

Characters stand still without an emote

Cause. cuxial_emotes is not running. The scene falls back to scene.fallbackScenario.

Fix. Start cuxial_emotes, or use locations with emote = { scenario = '...' }.

A minor character cannot be played

Cause. The request is still pending, or it was rejected or revoked. Minors need staff approval before the first spawn.

Fix. Review the request with the exports.

No logs arrive in Discord

Cause. The cuxial_multichar_webhook convar is empty, logs.enabled is false, or the webhook was deleted. The console shows the status code when the webhook rejects a message.

Fix. Set the convar with set and restart the resource.

The HUD stays visible in the selection

Cause. The hud function in the config is empty or fails. A failure is printed in the client console.

Fix. Call your HUD's export inside hud = function(visible) ... end.

Staff commands answer with no permission

Cause. The player is not in the group set in restricted.

Fix. Add the player to that group with add_principal. See Commands & permissions.

© Cuxial