Installation
Install Eleven Outfits on FiveM: copy outfit-catalog without renaming it, patch illenium-appearance, add it to server.cfg with Qbox or QBCore and test it.
Before you start
- Have the requirements installed and working: your framework, illenium-appearance, ox_lib and oxmysql (plus screenshot-basic if you will take photos).
- Download the resource from Cfx.re Keymaster with the same Cfx.re account that owns your server's license key.
Important
The folder is called outfit-catalog and cannot be renamed. Events, callbacks and the illenium-appearance patch look the resource up by that name. If you rename it, the shop entry does not show and the catalog will not open.
Tip
First time with an escrowed script? The general guide Install with Keymaster walks you through the download, your server license key and escrow step by step.
What's in the package
| Path | What it is |
|---|---|
outfit-catalog/config.lua | All the settings. Editable. |
outfit-catalog/locales/ | Strings in en.json and es.json. Editable. |
outfit-catalog/illenium-appearance-patch/ | The illenium-appearance patch and its guide (README.md). |
outfit-catalog/photos/ | Catalog photos in local mode. Do not delete it: the resource cannot create it. |
outfit-catalog/studio/ | Studio garment photos and framings. Do not delete it either. |
client/, server/, shared/, web/ | Escrowed code and the compiled UI. Leave them alone. |
Steps
1. Copy the folder
Copy outfit-catalog into your resources folder (for example resources/[standalone]/outfit-catalog), without renaming it.
2. Patch illenium-appearance
This is the delicate step. Follow the illenium-appearance patch guide: one patch command or two blocks pasted by hand. Without the patch the catalog does not work.
3. Add it to server.cfg
Put it after illenium-appearance, ox_lib, oxmysql and your framework:
ensure oxmysql
ensure ox_lib
ensure qbx_core # or qb-core
ensure illenium-appearance
ensure screenshot-basic # only needed for photos
ensure outfit-catalog
# Default staff permission. Skip it if your admins already have group.admin
add_ace group.admin group.admin allow
screenshot-basic must start before outfit-catalog.
4. Start the server
On first start the outfit_catalog and outfit_catalog_garments tables are created automatically. Watch the server console:
- If you see
illenium-appearance is not patched: apply outfit-catalog/illenium-appearance-patch/ ...in red, the patch is not applied or illenium-appearance was not restarted after patching. - If you see a warning about
Config.Accountor about the photo URL or webhook, check the configuration and photo storage.
5. Adjust the configuration
Open config.lua and check at least:
Config.Locale:'en'by default,'es'for Spanish.Config.Account:'bank'or'cash'.Config.Staff: who can create and remove outfits.Config.Photos.storage: where photos are stored.
Every key is listed in Configuration.
6. Check it in game
- Go to an illenium-appearance clothing shop with an MP character.
- Open the shop menu: you should see Outfit catalog.
- Open it. As staff you will see New outfit; the catalog starts empty. Carry on with Building the catalog.
Keymaster entitlement error
If the console says something like You lack the required entitlement to use outfit-catalog, the server is not allowed to load the escrowed resource. It is almost always one of these:
| Cause | Fix |
|---|---|
The license key (sv_licenseKey) belongs to another Cfx.re account | Generate the key on the account that bought the resource, or buy with the account that owns the key. |
| You uploaded a copy downloaded by someone else | Download the resource from your own Keymaster. |
| The purchase has not been assigned yet | Wait a few minutes and restart the server. If it persists, open a ticket. |
| You changed escrowed files | Download the package again. Only config.lua, locales/ and the patch are editable. |
Every case is covered in the general guide Install with Keymaster.
What you can change
The code is escrowed (Cfx.re escrow). You can edit config.lua, locales/*.json and, since it becomes part of your illenium-appearance, the patch. For anything else (a new feature, a different behaviour, integration with another script) open a ticket on our Discord.