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.luais public. Every player downloads it. It holds places, zones, blips, catalogs and the blacklist.server/config.luais 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
- Back up your database.
- Stop
illenium-appearance, then startcc_illumiumaftercc_liband your framework. Never run both at the same time. - Move your config with the tables below.
- Start the server. Read the console:
config:warnings name every key that does not fit. - To roll back, stop
cc_illumiumand startillenium-appearanceagain. The tables are the same, so nothing is lost.
Stores (Config.Stores → Config.Stores)
| illenium | cc_illumium | Notes |
|---|---|---|
type = "clothing" | kind = 'clothing' | Also 'barber', 'tattoo', 'surgeon' |
| array index | id = 'binco_strawberry' | Required. Unique, 32 characters at most. Logs and Prices.stores use it |
coords (store) | coords = vector3(...) | Where the blip sits |
showBlip = false | blip = false | blip = { sprite = 73 } overrides one field |
spots[n].coords | spots[n].coords | A vector3. The heading is not needed |
spots[n].size, .rotation | same keys | Box zone. Leave them out for a sphere of Config.Interaction.radius |
spots[n].customizationPosition | same key | A vector4. The player turns to w |
teleportOnOpen = true | same key | Off 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 |
storeCost | ServerConfig.Prices.stores[id] | In the secret file. 0 makes the store free |
usePoly, points | not used | cc_lib's target has no poly zones. Use one spot per chair |
targetModel, targetScenario, Config.TargetConfig | not used | cc_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.
| illenium | cc_illumium |
|---|---|
Config.ClothingCost = 2500 | ServerConfig.Prices.visit.clothing = 2500 |
Config.BarberCost | ServerConfig.Prices.visit.barber |
Config.SurgeonCost | ServerConfig.Prices.visit.surgeon |
Config.TattooCost with ChargePerTattoo = true | ServerConfig.Prices.tattoos.default (per tattoo). Leave visit.tattoo out |
Config.TattooCost with ChargePerTattoo = false | ServerConfig.Prices.visit.tattoo |
storeCost on one store | ServerConfig.Prices.stores = { store_id = 4000 } |
| cash only | ServerConfig.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
| illenium | cc_illumium | Notes |
|---|---|---|
Config.ClothingRooms | Config.JobLockers | Add id and label. job = "x" becomes group = 'job', name = 'x' |
room spots | locker spots | Same 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.Catalogs | Rename the keys (see the key table below). Ranges { from, to } are allowed |
Config.PlayerOutfitRooms | Config.Wardrobes | One entry per closet: id, label, coords, heading. No owner list: put it behind a door |
citizenIDs on a room | exports.cc_illumium:registerWardrobe({ ..., owners = { ... } }) | Housing scripts register home wardrobes at runtime |
OnDutyOnlyClothingRooms | not used | The 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)
-- 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
joband each gang undergang. - Grades can be numbers or
{ from, to }ranges. A preset fits exactly those grades. - illenium took a hat, glasses or ear item
0to mean none. In cc_illumium, none is-1. - illenium ignored
watchesandbraceletsin 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 tofalseto keep its behaviour. - Uniforms that bosses saved in
management_outfitsshow next to the presets with no change.
Restrictions
| illenium (custom) | cc_illumium | Notes |
|---|---|---|
Config.BannedClothing | Config.Blacklist (public, greyed out) or ServerConfig.Blacklist (secret) | Both are enforced on every quote, commit, outfit and uniform |
Config.HiddenClothing | ServerConfig.Locked | Each rule: drawables plus jobs, gangs or ace. List the jobs whose lockers hand the piece out |
Config.FemaleBaseMax | not needed | Leave 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 + /allclothing | ACE cc_illumium.allclothing on each Locked rule | add_ace identifier.license2:xxxx cc_illumium.allclothing allow in server.cfg. Identifiers never go in Lua |
BlacklistBypassLicenses | not available | Nobody may buy a blacklisted piece. A piece someone already wears is not taken off |
Category keys
| illenium | cc_illumium | illenium | cc_illumium | |
|---|---|---|---|---|
jackets / torso2 | tops | masks / mask | masks | |
shirts / t-shirt | undershirts | scarfAndChains / accessory | chains | |
upperBody / arms | arms | hats / hat | hats | |
lowerBody / pants | legs | glasses / glass | glasses | |
shoes | shoes | ear | ears | |
bags / bag | bags | watches | watches | |
bodyArmor / vest | armour | bracelets | bracelets | |
decals | decals |
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
| illenium | Why |
|---|---|
UseTarget, UseRadialMenu, TextUIOptions, NotifyOptions | cc_lib chooses the target, prompt and notify resource |
EnablePedMenu, PedMenuGroup | Only freemode models are dressed. Use an admin menu to change model |
DisableComponents, DisableProps | Not available as a switch. Blacklist the drawables you do not want sold |
HideRadar | Config.Session.hideRadar |
AutomaticFade, InvincibleDuringCustomization | Not available. The camera does not fade |
ReloadSkinCooldown | ServerConfig.Cooldowns.read |
OutfitCodeLength | ServerConfig.Outfits.codeLength |
PreventTrackerRemoval, TrackerClothingOptions | Not available. Lock the tracker drawable with ServerConfig.Locked, or use an appearanceFilter hook |
NewCharacterSections, InitialPlayerClothes | Config.Creator.starter |
ShowNearestShopOnly, NearestShopBlipUpdateDelay | Blips are short-range by default (Config.Blips) |
RCoreTattoosCompatibility | Not available |
BossManagedOutfits | Always on: bosses save uniforms from the locker (ServerConfig.Uniforms.bossGrades) |
Related: [[cc_illumium]], [[illenium-appearance-ui]].