Command Palette
Search for a command to run...
COLLECTIONS & CALIBRATION#
The calibration system scans your server's clothing files to build a collection database. This is required when you add or remove addon clothing packs.
When Is Calibration Needed?#
| Scenario | Calibration Required? |
|---|---|
| Fresh install with default clothes only | No |
| Fresh install with addon clothes | Yes |
| Added new addon clothing pack | Yes |
| Removed an addon clothing pack | Yes |
| Updated existing addon pack | Yes |
| Using only base game + DLC clothes | No |
Default clothes (base game and DLC) are automatically detected without calibration. Calibration is only needed for custom addon clothing packs.
Calibration Commands#
Full Calibration#
/clothescallibrateall
Scans all clothing collections (base, DLC, and addons) in one operation.
When to use:
- First-time setup with addon clothes
- After major changes to multiple clothing packs
- When you're unsure what needs updating
Requirements:
- Must be run by an admin player in-game
- Cannot be run from server console
Full calibration can take several minutes depending on how many addon packs you have. The server will notify you when complete.
Selective Calibration#
/clothescallibrate [rarity] [addonName]
Scans a specific rarity tier or individual addon collection.
Parameters:
| Parameter | Values | Description |
|---|---|---|
rarity | base, dlc, addon | Which tier to scan |
addonName | (optional) | Specific addon name |
Examples:
# Scan only base game clothes /clothescallibrate base # Scan only DLC clothes /clothescallibrate dlc # Scan all addon clothes /clothescallibrate addon # Scan specific addon pack /clothescallibrate addon mypack /clothescallibrate addon eup_clothing
Use selective calibration after adding a single new addon pack - it's much faster than full calibration.
Validate Collections#
/clothesvalidate
Checks all collection data files for errors and integrity issues.
What it checks:
- Missing collection files
- Corrupted JSON data
- Mismatched item counts
- Invalid component references
When to use:
- After calibration to verify success
- When items aren't appearing in menus
- After server crashes during calibration
Reprice All Items#
/creationrepriceall
Regenerates prices for all clothing items based on your pricing configuration.
Behavior:
- Recalculates prices using pricing rules
- Preserves items with manual
priceOverrideflag - Updates collection JSON files
Collection Data Structure#
Calibration creates JSON files in the collections/ folder:
Collection File Format#
Each component has a JSON file containing item data:
collections/addons/mypack/male/torso.json{ "items": [ { "localIndex": 0, "textureCount": 3, "hash": "mypack_torso_0", "priceOverride": false, "label": null }, { "localIndex": 1, "textureCount": 1, "hash": "mypack_torso_1", "priceOverride": false, "label": null } ], "collection": "mypack", "componentId": 11, "gender": "male", "component": "torso", "lastUpdated": "2025-01-15T10:30:00Z", "version": 1, "pricing": { "basePrice": 150, "currency": "$", "multiplier": 1 }, "rarity": "addon" }
Field Descriptions#
| Field | Description |
|---|---|
localIndex | Item's index within the collection |
textureCount | Number of texture variations |
hash | Unique identifier for the item |
priceOverride | If true, manual price is preserved |
label | Custom display name (optional) |
Components Scanned#
The calibration system scans these clothing components:
Clothing Components (PED Components)#
| Component | ID | Description |
|---|---|---|
face_skin | 0 | Face/Head |
mask | 1 | Masks |
hair | 2 | Hair styles |
arms | 3 | Arms/Gloves |
pants | 4 | Legs/Pants |
bag | 5 | Bags/Parachutes |
shoes | 6 | Shoes/Feet |
accessory | 7 | Accessories |
shirt | 8 | Undershirt |
vest | 9 | Body armor/Vest |
decals | 10 | Decals/Badges |
torso | 11 | Torso/Jacket |
Prop Components (PED Props)#
| Component | ID | Description |
|---|---|---|
hat | 0 | Hats/Helmets |
glass | 1 | Glasses |
ear | 2 | Earrings |
watch | 6 | Watches |
bracelet | 7 | Bracelets |
Calibration Workflow#
Initial Setup (First Time)#
Install addon clothing packs on your server#
Place your addon clothing packs in the server's resources folder.
Start server and join as admin#
Launch your server and connect as an admin player.
Run full calibration#
/clothescallibrateall
Wait for completion notification#
The server will notify you when calibration is complete.
Validate the results#
/clothesvalidate
Record previews#
See Previews Guide for recording preview images.
/clothesstudio
Adding New Addon Pack#
Install the new addon pack#
Place the new addon pack files in your server's resources folder.
Restart server#
Restart the server or refresh resources to load the new addon.
Calibrate the specific addon#
/clothescallibrate addon newpackname
Validate#
/clothesvalidate
Record previews for new items#
/shootclothes addon newpackname
Removing Addon Pack#
Remove the addon pack files#
Delete the addon pack from your server's resources folder.
Delete the collection data#
Delete the folder: collections/addons/packname/
Delete the preview images#
Delete the folder: previews/addons/packname/
Restart server#
Restart the server to apply changes.
Troubleshooting#
Calibration Fails to Start#
Problem: Command does nothing or returns error
Solutions:
- Ensure you're running as admin in-game (not console)
- Check ACE permissions are set correctly
- Verify onex-creation is started without errors
Items Not Appearing After Calibration#
Problem: New addon items don't show in menus
Solutions:
- Run
/clothesvalidateto check for errors - Verify addon pack is properly installed (stream folder)
- Check collection JSON files were created
- Ensure game build supports the addon (sv_enforceGameBuild)
Calibration Takes Too Long#
Problem: Full calibration runs for extended time
Solutions:
- Use selective calibration instead:
/clothescallibrate addon packname - Calibrate during low-population periods
- Check for very large addon packs causing delays
Collection Data Corrupted#
Problem: Validation shows errors
Solutions:
- Delete the corrupted collection folder
- Re-run calibration for that specific addon
- If persistent, check server logs for disk errors
Best Practices#
-
Backup before major changes - Copy
collections/folder before large operations -
Use selective calibration - Only calibrate what changed, not everything
-
Validate after calibration - Always run
/clothesvalidateto confirm success -
Document your addons - Keep a list of installed addon pack names for reference
-
Test in staging - Calibrate on a test server before production if possible