Kartik Scripts

Admin Guide - Where To Change What

Most of kartik-clothing is configured in-game, through the UI, not in a config file and not through commands. The commands exist as a fallback for people who prefer typing, and for anything you want to script, but you never have to use them.

Use this page as the index: find the thing you want to change, and it tells you where it lives.


🗺️ The Four Places Settings Live

WhereWhat lives thereHow you change it
🖥️ In-game UIShops, garment restrictions & blacklists, arms/accessory pairing, ped unlocks, design moderationOpen the relevant menu and click. Saved to the database instantly, no restart.
📄 shared/*.luaBehaviour switches, prices, catalogs, categories, themeEdit the file, restart the resource.
💬 CommandsThe same actions as the UI, plus console/scripted useType them in chat or the server console.
🗄️ DatabaseEverything the UI writes (shops, locks, compat, designs, outfits)Read-only in practice, let the UI own these tables.
⚙️ server.cfgLoad order, and the FXServer sandbox grant the Design Studio may needEdit and restart the server, permissions are read at boot.

[!TIP] If a task appears in the In-game UI column, that is the intended way to do it. Reach for the command only when you are batching, scripting, or working from the server console.


🎯 Task Router

Access, restrictions & blacklists

I want to…WhereDetails
Stop a garment being worn by anyone (blacklist)🖥️ LOCK EDITOR in any clothing shop → pencil on the garment → tick BlacklistAccess Control
Restrict a garment to a job / minimum grade🖥️ LOCK EDITOR → Add job ruleItem Locks
Restrict a garment to one player🖥️ LOCK EDITOR → Add citizen ruleItem Locks
Restrict a colour of a garment only🖥️ LOCK EDITOR → THIS COLOUR ONLYItem Locks
Lock a whole store to a job🖥️ /shopmanager → shop → Required Job fieldShop Manager
Decide which categories a store sells📄 shared/categories.lua, per shop type (per-store lists are not supported yet)Configuration
Restrict a ped model🖥️ /shopmanager → Peds & Locking → map it to a Tebex packagePed Catalog
Grey out vs. fully hide restricted items📄 Config.ItemLocksShowLockedConfiguration
Let admins wear restricted items📄 Config.ItemLocksAdminBypassConfiguration
Restrict who may run the appearance commands📄 Config.AdminOnlyCommandsConfiguration
Blacklist a tattoo⏳ Not yet supported, see Access Control

Stores & world placement

I want to…Where
Create, move or delete a store🖥️ /shopmanager
Change a blip or interaction zone🖥️ /shopmanager → Shop Directory → edit the shop
Jump to a store🖥️ /shopmanager → select it on the map or in the directory → Teleport
Make one store cheaper or dearer than the rest🖥️ /shopmanager → price multiplier
Change base prices for every store📄 Config.Prices in shared/config.lua
Move the Design Studio locations📄 Config.Studios in shared/config.lua

Garments & appearance

I want to…Where
Pair correct arms with an addon top🖥️ COMPAT EDITOR in any clothing shop (or /setarms)
Add a "GOES WITH" recommendation🖥️ COMPAT EDITOR (or /addcompat)
Change which categories appear in each menu📄 shared/categories.lua
Change hair / makeup colour swatches📄 Config.HairColors, Config.MakeupColors
Add or edit tattoos📄 shared/config_tattoos.lua
Change what a player wears when a slot is emptied📄 Config.BareDefaults in shared/config_inventory.lua
Turn garments into inventory items📄 shared/config_inventory.lua

Players, peds & designs

I want to…Where
Grant / revoke a ped model🖥️ /shopmanager → Peds & Locking → Customers, or 💬 /pedunlock · /pedlock
See why a player cannot use a ped💬 /pedstatus
Approve or reject player-made designs🖥️ /shopmanager → Design Queue
Grant design credits🖥️ /shopmanager → Credits & Tebex, or 💬 Tebex console commands
Change designer limits, price or credits📄 shared/config_designer.lua

Look & feel

I want to…Where
Recolour the whole interface🖥️ Preview in /shopmanager → Interface Theme, then 📄 paste into shared/config_theme.lua
Change camera framing / zoom📄 Config.Camera in shared/config.lua
Change language📄 Config.Locale + a file in locales/

Server-side plumbing

I want to…Where
Fix Design Studio baking failing with ERR_ACCESS_DENIED / "restricted"⚙️ server.cfg → add_unsafe_child_process_permission "kartik-clothing", see Installation
Change load order / dependencies⚙️ server.cfg ensure lines (Installation)

🛡️ What "Admin" Means

Everything marked admin resolves through one bridge function, so it follows your framework rather than a config list:

FrameworkCounts as admin when
QBXqbx_core permission admin or god, or the command ace
QBCoreHasPermission admin or god, or the command ace
ESXThe player's group is an admin group

Two separate things are being checked, and it matters:

  • Command names are gated by Config.AdminOnlyCommands (chat autocomplete / group.admin).
  • Actions: saving a lock, editing compatibility, granting a ped, approving a design, are re-checked server side every time. A player who spoofs the NUI still cannot write a lock, and a client that never opened a shop still cannot save a garment it is not allowed to wear.

  1. Install and start the resource, the default config is playable as-is.
  2. /shopmanager: place your stores and set the Required Job on job-only stores.
  3. In a clothing shop, hit COMPAT EDITOR and pair arms for your addon tops.
  4. In a clothing shop, hit LOCK EDITOR and blacklist broken addons / lock faction gear.
  5. Only then open shared/config.lua, for prices, camera, and the handful of behaviour switches in Configuration.

On this page