Skip to content

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) and oxmysql are 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:

FrameworkRemove
Anyillenium-appearance, fivem-appearance
QBCore / Qboxqb-clothing
ESXesx_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

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 setr

Start 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.

TableUsed forNotes
playerskinsThe current look (QBCore, Qbox, ox_core, standalone)illenium's schema, used as is
users.skinThe current look on ESXESX's own column
player_outfitsThe outfit bagillenium's schema
player_outfit_codesShare codesillenium's schema
management_outfitsJob and gang uniforms saved by bossesillenium's schema
cc_illumium_owned, cc_illumium_outfit_photos, cc_illumium_stores, cc_illumium_store_staff, cc_illumium_store_ledger, cc_illumium_store_salesOwned pieces, outfit photos, player-owned storesOurs, 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

  1. Start the server and read the console. A line like [cc_illumium] config: Prices.stores.binco_x is not a store id in Config.Stores names the exact key to fix. Fix it and restart cc_illumium.
  2. Join, walk into the Binco on Strawberry Avenue, stand on the marker, press E.
  3. As an admin, run /illumium_shoot male tops once to see the thumbnail shooter work, then read docs/THUMBNAILS.md for the full run.

6. Make it yours

  1. Prices: server/config.lua → ServerConfig.Prices. Per piece by default; set visit = { clothing = 2500, barber = 2000 } for a flat fee per visit.
  2. Stores: config.lua → Config.Stores. GTA's 28 shops are in. Add your MLO's chairs as extra spots.
  3. Lockers and uniforms: Config.JobLockers (public) and ServerConfig.Uniforms (secret). Your police and EMS lockers go here.
  4. Look: Config.UI (accent, light/dark, your crest, city name), Config.Brands.
  5. Ownership: config_owner.lua (which stores players may buy) and ServerConfig.Ownership (the economy). Config.Owner.enabled = false turns 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.