Installing cc_illumium
Fresh server, or a server that already has another clothing resource. Ten minutes at most.
Fresh server, or a server that already has another clothing resource. Ten minutes at most.
1. Before you start
cc_lib(Code Cartel's free bridge) andoxmysqlare installed and start without errors.- Your framework is one of: ESX Legacy, QBCore, Qbox, ox_core, or none (standalone).
- You have a database backup if players already have saved looks.
2. Remove the old appearance resource
Stop and remove (or comment out the ensure of) every one of these you run:
| Framework | Remove |
|---|---|
| Any | illenium-appearance, fivem-appearance |
| QBCore / Qbox | qb-clothing |
| ESX | esx_skin and skinchanger (or keep them: see Config.Compat.esxSkin) |
cc_illumium provides illenium-appearance, so resources that list it as a dependency or call its exports keep working. Never run two appearance resources at once: both would answer the same events.
3. server.cfg
ensure oxmysql
ensure cc_lib
ensure qb-core # or es_extended / qbx_core / ox_core / nothing
# your target, inventory and multicharacter here
ensure cc_illumium
# ACE (never a job check or identifier list)
add_ace group.admin cc_illumium.admin allow # /illumium_reloadskin, /illumium_creator, /illumium_migrate, /illumium_store
add_ace group.admin cc_illumium.shooter allow # /illumium_shoot
add_ace resource.cc_illumium command.restart allow # lets the shooter restart the resource after a run
# Optional
setr cc_illumium_locale "en" # language (locales/<code>.json)
set cc_illumium_webhook "https://discord.com/api/webhooks/..." # set, never setrStart cc_illumium after your multicharacter is fine: it loads the saved look on every character load (QBCore:Client:OnPlayerLoaded, esx:playerLoaded, ox:playerLoaded).
4. The database
ServerConfig.Database.autoCreate = true (default) creates the tables on first start. If your database user may not run CREATE TABLE, import sql/cc_illumium.sql by hand.
| Table | Used for | Notes |
|---|---|---|
playerskins | The current look (QBCore, Qbox, ox_core, standalone) | illenium's schema, used as is |
users.skin | The current look on ESX | ESX's own column |
player_outfits | The outfit bag | illenium's schema |
player_outfit_codes | Share codes | illenium's schema |
management_outfits | Job and gang uniforms saved by bosses | illenium's schema |
cc_illumium_owned, cc_illumium_outfit_photos, cc_illumium_stores, cc_illumium_store_staff, cc_illumium_store_ledger, cc_illumium_store_sales | Owned pieces, outfit photos, player-owned stores | Ours, prefixed |
Coming from illenium-appearance: nothing to migrate. Coming from qb-clothing or esx_skin: run /illumium_migrate (dry run, prints what it would change) then /illumium_migrate apply from the server console.
5. First start
- Start the server and read the console. A line like
[cc_illumium] config: Prices.stores.binco_x is not a store id in Config.Storesnames the exact key to fix. Fix it andrestart cc_illumium. - Join, walk into the Binco on Strawberry Avenue, stand on the marker, press E.
- As an admin, run
/illumium_shoot male topsonce to see the thumbnail shooter work, then readdocs/THUMBNAILS.mdfor the full run.
6. Make it yours
- Prices:
server/config.lua→ServerConfig.Prices. Per piece by default; setvisit = { clothing = 2500, barber = 2000 }for a flat fee per visit. - Stores:
config.lua→Config.Stores. GTA's 28 shops are in. Add your MLO's chairs as extraspots. - Lockers and uniforms:
Config.JobLockers(public) andServerConfig.Uniforms(secret). Your police and EMS lockers go here. - Look:
Config.UI(accent, light/dark, your crest, city name),Config.Brands. - Ownership:
config_owner.lua(which stores players may buy) andServerConfig.Ownership(the economy).Config.Owner.enabled = falseturns it off.
Updating
Replace every file except the ones outside escrow you edited: config.lua, config_owner.lua, server/config.lua, custom/, locales/, and web/thumbs/ (your shooter pictures). Read CHANGELOG.md first: a renamed config key is always a major version and listed there.