SMX logo

SMX Documentation

Production-grade Script Knowledge Base

Build 2026.04 Live Docs



Item Creator

Scripts · FiveM Ready

Operational Playbook

1. Open Menu

Use /itemcreator with an authorized account.

2. Create Item

Set item name, label, weight and flags (rare, canRemove).

3. Validate Live Sync

After save, item list is refreshed and pushed to all open clients.

4. Edit / Rename

Update values or rename item safely with duplicate checks.

5. Delete Item

Remove unused items and verify downstream systems no longer reference them.

Data Validation Rules

Item name:
- lowercased automatically
- spaces become "_"
- only [a-z0-9_]
- length: 2..50

Label:
- trimmed
- length: 2..64

Weight:
- numeric
- allowed range: 0..100000
Tip: Keep naming conventions consistent with your existing item ecosystem to avoid script-specific alias mapping later.

Permission Example

-- ESX
Config.AdminGroups = {
    admin = true,
    superadmin = true
}

-- QBCore
Config.AdminPermissions = {
    qbcore = { 'god', 'admin' }
}

Only permitted users can open and mutate item definitions.