Skip to content

Moving from illenium-appearance to cc_illumium

cc_illumium reads and writes illenium's tables (playerskins, player_outfits, player_outfit_codes, management_outfits). Saved looks, outfits and share codes keep working. Resources that call exports['i

cc_illumium reads and writes illenium's tables (playerskins, player_outfits, player_outfit_codes, management_outfits). Saved looks, outfits and share codes keep working. Resources that call exports['illenium-appearance'] keep working too, because the manifest says provide 'illenium-appearance'. Only your config has to move. This page says where each part goes.

There are two config files:

  • config.lua is public. Every player downloads it. It holds places, zones, blips, catalogs and the blacklist.
  • server/config.lua is secret. It never leaves the server. It holds prices, who may wear what, uniforms and logging.

The shipped files hold vanilla-map defaults only: illenium's own store list, two job lockers and no job catalogs. Add your own uniforms, catalogs and wardrobes in the marked sections.

The swap

  1. Back up your database.
  2. Stop illenium-appearance, then start cc_illumium after cc_lib and your framework. Never run both at the same time.
  3. Move your config with the tables below.
  4. Start the server. Read the console: config: warnings name every key that does not fit.
  5. To roll back, stop cc_illumium and start illenium-appearance again. The tables are the same, so nothing is lost.

Stores (Config.Stores → Config.Stores)

illeniumcc_illumiumNotes
type = "clothing"kind = 'clothing'Also 'barber', 'tattoo', 'surgeon'
array indexid = 'binco_strawberry'Required. Unique, 32 characters at most. Logs and Prices.stores use it
coords (store)coords = vector3(...)Where the blip sits
showBlip = falseblip = falseblip = { sprite = 73 } overrides one field
spots[n].coordsspots[n].coordsA vector3. The heading is not needed
spots[n].size, .rotationsame keysBox zone. Leave them out for a sphere of Config.Interaction.radius
spots[n].customizationPositionsame keyA vector4. The player turns to w
teleportOnOpen = truesame keyOff by default: moving a ped inside an MLO can unload the interior
job = "x" / gang = "x"group = 'job' (or 'gang'), name = 'x'Members only. The server checks it
storeCostServerConfig.Prices.stores[id]In the secret file. 0 makes the store free
usePoly, pointsnot usedcc_lib's target has no poly zones. Use one spot per chair
targetModel, targetScenario, Config.TargetConfignot usedcc_lib picks ox_target, qb-target or a press-E prompt itself

cc_illumium has no Config.CustomStores. Add those entries to Config.Stores.

Prices (shared/config.lua → server/config.lua)

illenium charged one fee per visit. cc_illumium can do that or price each piece.

illeniumcc_illumium
Config.ClothingCost = 2500ServerConfig.Prices.visit.clothing = 2500
Config.BarberCostServerConfig.Prices.visit.barber
Config.SurgeonCostServerConfig.Prices.visit.surgeon
Config.TattooCost with ChargePerTattoo = trueServerConfig.Prices.tattoos.default (per tattoo). Leave visit.tattoo out
Config.TattooCost with ChargePerTattoo = falseServerConfig.Prices.visit.tattoo
storeCost on one storeServerConfig.Prices.stores = { store_id = 4000 }
cash onlyServerConfig.Payment.account = 'cash' ('charge' = cash, then bank)

A flat-fee visit charges only when something billable changed. Putting on pieces the character already owns costs nothing. illenium charged on every save.

Leave visit empty to price per piece: Prices.categories, Prices.drawables, Prices.hair, Prices.overlays, Prices.surgeon, Prices.tattoos, and brandMultiplier for an expensive brand.

Lockers, wardrobes and catalogs

illeniumcc_illumiumNotes
Config.ClothingRoomsConfig.JobLockersAdd id and label. job = "x" becomes group = 'job', name = 'x'
room spotslocker spotsSame shape as store spots
room catalog = "Police"locker catalog = 'Police'The locker opens clothing and accessories, free, showing only that list
Config.Catalogs (in custom/shared/catalogs.lua)Config.CatalogsRename the keys (see the key table below). Ranges { from, to } are allowed
Config.PlayerOutfitRoomsConfig.WardrobesOne entry per closet: id, label, coords, heading. No owner list: put it behind a door
citizenIDs on a roomexports.cc_illumium:registerWardrobe({ ..., owners = { ... } })Housing scripts register home wardrobes at runtime
OnDutyOnlyClothingRoomsnot usedThe locker checks the job or gang, not duty

A catalog leaves a category out → that locker offers nothing in it (the same as illenium).

Uniforms (Config.Outfits → ServerConfig.Uniforms.presets)

lua
-- illenium
Config.Outfits = { ["police"] = { ["Male"] = {
    { name = "Officer", outfitData = { ["torso2"] = { item = 615, texture = 2 }, ["hat"] = { item = 0, texture = 0 } },
      grades = { 1, 2, 3 } },
} } }

-- cc_illumium (server/config.lua)
ServerConfig.Uniforms.presets = { job = { police = { male = {
    { name = 'Officer', grades = { { 1, 3 } }, pieces = { tops = { 615, 2 }, hats = { -1, 0 } } },
} } } }
  • Put each job under job and each gang under gang.
  • Grades can be numbers or { from, to } ranges. A preset fits exactly those grades.
  • illenium took a hat, glasses or ear item 0 to mean none. In cc_illumium, none is -1.
  • illenium ignored watches and bracelets in a preset. cc_illumium applies them if you list them.
  • Presets are worn as an overlay. Going off duty can put the player's own clothes back (removeOffDuty), and going on duty can dress them (applyOnDuty). illenium did neither, so set both to false to keep its behaviour.
  • Uniforms that bosses saved in management_outfits show next to the presets with no change.

Restrictions

illenium (custom)cc_illumiumNotes
Config.BannedClothingConfig.Blacklist (public, greyed out) or ServerConfig.Blacklist (secret)Both are enforced on every quote, commit, outfit and uniform
Config.HiddenClothingServerConfig.LockedEach rule: drawables plus jobs, gangs or ace. List the jobs whose lockers hand the piece out
Config.FemaleBaseMaxnot neededLeave GTA base female drawables out of the blacklist
Config.GangTattoos.<gang> = { names }ServerConfig.LockedTattoos = { { tattoos = { names }, gangs = { gang }, stores = { 'parlour_id' } } }stores sells them only in that gang's parlour
Config.DevAppearance.AllClothingLicenses + /allclothingACE cc_illumium.allclothing on each Locked ruleadd_ace identifier.license2:xxxx cc_illumium.allclothing allow in server.cfg. Identifiers never go in Lua
BlacklistBypassLicensesnot availableNobody may buy a blacklisted piece. A piece someone already wears is not taken off

Category keys

illeniumcc_illumiumilleniumcc_illumium
jackets / torso2topsmasks / maskmasks
shirts / t-shirtundershirtsscarfAndChains / accessorychains
upperBody / armsarmshats / hathats
lowerBody / pantslegsglasses / glassglasses
shoesshoesearears
bags / bagbagswatcheswatches
bodyArmor / vestarmourbraceletsbracelets
decalsdecals

Logging and webhooks

illenium posted to a Discord URL from a shared file. cc_illumium logs through cc_lib's logger. Set the URL in server.cfg with set, never setr:

set cc_illumium_webhook "https://discord.com/api/webhooks/..."

To keep one channel per store kind on the convars you already have, add an afterPurchase hook in custom/server.lua that logs p.kind to your own cc_lib logger channel. Never put a webhook URL in config.lua.

Settings with no cc_illumium key

illeniumWhy
UseTarget, UseRadialMenu, TextUIOptions, NotifyOptionscc_lib chooses the target, prompt and notify resource
EnablePedMenu, PedMenuGroupOnly freemode models are dressed. Use an admin menu to change model
DisableComponents, DisablePropsNot available as a switch. Blacklist the drawables you do not want sold
HideRadarConfig.Session.hideRadar
AutomaticFade, InvincibleDuringCustomizationNot available. The camera does not fade
ReloadSkinCooldownServerConfig.Cooldowns.read
OutfitCodeLengthServerConfig.Outfits.codeLength
PreventTrackerRemoval, TrackerClothingOptionsNot available. Lock the tracker drawable with ServerConfig.Locked, or use an appearanceFilter hook
NewCharacterSections, InitialPlayerClothesConfig.Creator.starter
ShowNearestShopOnly, NearestShopBlipUpdateDelayBlips are short-range by default (Config.Blips)
RCoreTattoosCompatibilityNot available
BossManagedOutfitsAlways on: bosses save uniforms from the locker (ServerConfig.Uniforms.bossGrades)

Related: [[cc_illumium]], [[illenium-appearance-ui]].