SHOPPING CART

Onex

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?#

ScenarioCalibration Required?
Fresh install with default clothes onlyNo
Fresh install with addon clothesYes
Added new addon clothing packYes
Removed an addon clothing packYes
Updated existing addon packYes
Using only base game + DLC clothesNo

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:

ParameterValuesDescription
raritybase, dlc, addonWhich 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 priceOverride flag
  • Updates collection JSON files

Collection Data Structure#

Calibration creates JSON files in the collections/ folder:

collections
base
male
torso.json
shirt.json
pants.json
female
dlc
mpbiker
male
female
addons
mypack
male
female

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#

FieldDescription
localIndexItem's index within the collection
textureCountNumber of texture variations
hashUnique identifier for the item
priceOverrideIf true, manual price is preserved
labelCustom display name (optional)

Components Scanned#

The calibration system scans these clothing components:

Clothing Components (PED Components)#

ComponentIDDescription
face_skin0Face/Head
mask1Masks
hair2Hair styles
arms3Arms/Gloves
pants4Legs/Pants
bag5Bags/Parachutes
shoes6Shoes/Feet
accessory7Accessories
shirt8Undershirt
vest9Body armor/Vest
decals10Decals/Badges
torso11Torso/Jacket

Prop Components (PED Props)#

ComponentIDDescription
hat0Hats/Helmets
glass1Glasses
ear2Earrings
watch6Watches
bracelet7Bracelets

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:

  1. Ensure you're running as admin in-game (not console)
  2. Check ACE permissions are set correctly
  3. Verify onex-creation is started without errors

Items Not Appearing After Calibration#

Problem: New addon items don't show in menus

Solutions:

  1. Run /clothesvalidate to check for errors
  2. Verify addon pack is properly installed (stream folder)
  3. Check collection JSON files were created
  4. 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:

  1. Delete the corrupted collection folder
  2. Re-run calibration for that specific addon
  3. If persistent, check server logs for disk errors

Best Practices#

  1. Backup before major changes - Copy collections/ folder before large operations

  2. Use selective calibration - Only calibrate what changed, not everything

  3. Validate after calibration - Always run /clothesvalidate to confirm success

  4. Document your addons - Keep a list of installed addon pack names for reference

  5. Test in staging - Calibrate on a test server before production if possible

Next Steps#