Troubleshooting
Turn on detail first: ServerConfig.Debug = true (server/config.lua) prints every refusal reason to the server console, and Config.Debug = true (config.lua) prints client steps to F8 and outlines every
Turn on detail first: ServerConfig.Debug = true (server/config.lua) prints every refusal reason to the server console, and Config.Debug = true (config.lua) prints client steps to F8 and outlines every zone. Turn both off again for a live server.
The resource does not start
| You see | Cause | Fix |
|---|---|---|
Could not find dependency cc_lib for resource cc_illumium | cc_lib missing or started after | ensure cc_lib above ensure cc_illumium |
Could not find dependency oxmysql | oxmysql missing | Install and ensure oxmysql first |
@cc_lib/init.lua not found / CC is nil | Old or renamed cc_lib folder | The folder must be named cc_lib; update it |
| Nothing at all, no error | The manifest was saved with a UTF-8 BOM by an editor | Re-save fxmanifest.lua as UTF-8 without BOM |
Resource cc_illumium is not escrowed for this server / asset not owned | Keymaster: the asset is on another account | Download it from the Cfx.re account that owns the server key |
Console warnings at start
| You see | Fix |
|---|---|
config: <key> ... then N config problem(s) above | Each line names one key. Fix it in config.lua / server/config.lua and restart cc_illumium |
could not create a table (run sql/cc_illumium.sql by hand) | Your database user cannot CREATE TABLE. Import sql/cc_illumium.sql, or set ServerConfig.Database.autoCreate = false |
query <name> failed: ... | Usually a table from another resource with a different schema (an old playerskins). Compare it with sql/cc_illumium.sql |
could not register ... with ox_lib | Harmless unless a script uses lib.callback for illenium's getAppearance; update ox_lib |
owned stores could not be loaded | The cc_illumium_stores tables are missing or locked. Every store runs city-owned until a restart |
ServerConfig.Uniforms.presets: unknown category "x" skipped | A preset uses an illenium key. See the category table in docs/MIGRATING-FROM-ILLENIUM.md |
In game
| Symptom | Cause | Fix |
|---|---|---|
| No marker, no prompt at a store | Wrong Config.Interaction.mode, or the spot's coords are off | Set Config.Debug = true to see the zones. In 'target' mode a target resource must run |
| "You walked too far from the store" | The server checks its own distance (ServerConfig.Distance.open, 4 m from the spot) | Move the spot onto the chair, or raise Distance.open a little |
| "Bay in use - This stand is being used by someone else" | One player per spot | Add more spots to busy stores |
| The rack shows numbers, not pictures | No thumbnails yet (they are made on your server, for your clothing) | Run the shooter: docs/THUMBNAILS.md |
| Pictures are wrong or old after a shooter run | The game keeps old files until the resource restarts | restart cc_illumium (the shooter does it itself when allowed: add_ace resource.cc_illumium command.restart allow) |
| The menu opens but the character is naked or invisible | A blacklisted or out-of-range drawable from an old skin | /illumium_reloadskin <id>; check Config.Blacklist |
| The nose / face sliders do nothing on a new character | No head blend on a fresh ped (fixed: the creator sets one). A third-party creator may not | Open the face tab once, or report which multicharacter you use |
| New characters never get the creator | Your multicharacter fires an event we do not know | Call exports['illenium-appearance']:InitializeCharacter(gender) from it, or exports.cc_illumium:allowCreator(src) on the server |
| Characters get the creator every login | Their look never saved: check the server console for query skinInsert failed | Fix the playerskins (or ESX users.skin) table |
| ESX: skins reset on relog | esx_skin and cc_illumium both answer | Remove esx_skin + skinchanger, or keep them and set Config.Compat.esxSkin = false |
| The whole game greys out when the menu opens | A resource set color-scheme on the page root | Not cc_illumium (it scopes it to the panel). Check other NUI resources |
| "Not enough cash in your wallet" though the player has money in the bank | ServerConfig.Payment.account is 'cash' or 'bank' and that account is short | Use 'charge' (cash, then bank) |
REFUND FAILED: <name> was charged $<n> and the save failed | The database failed after payment | Refund the player by hand; check the database |
| Uniforms do not come off off duty | ServerConfig.Uniforms.removeOffDuty = false, or your job script does not fire duty events | Set it to true; on ESX, take the uniform off with exports.cc_illumium:removeUniform(src) |
| Airdrop key does nothing | F7 is bound elsewhere | Players rebind it in Settings > Key Bindings > FiveM ("Answer an outfit airdrop") |
Asking for help
Send: your framework and version, cc_lib version, the full server console from start, and F8 with Config.Debug = true while you reproduce the problem.