Zurück zu Configs

Ultimate Trader

category.json

$profile:UltimateTrader/Traders/Categories/category.json

Einzelne Trader-Kategorie mit Items, Varianten, Preisen, Stock, Quantity und Attachments.

Beispiel-Config

Passe Werte, Classnames und Positionen an deinen Server an.

{  "ConfigVersion": 1, // Category file format version.  "TraderID": "Base Building", // Trader ID for this category.  "Category": "Codelock", // Category name in UI.  "Items": [ // Items in this category.    {      "ClassName": "CodeLock", // Base item classname.      "Category": "Codelock", // Item category name.      "Variant": "", // Default variant. Can be empty.      "Variants": [ // Selectable variants.        "CodeLock" // Variant classname.      ],      "Description": "Codelock", // Short description.      "Price": 10000, // Buy price.      "SellPrice": 2500, // Sell price.      "Stock": -1, // Stock. -1 = unlimited.      "Quantity": 1, // Amount per purchase.      "BuyFilled": false, // true = spawn filled.      "IsVehicle": 0, // 1 = vehicle, 0 = item.      "Attachments": [ // Attachments on bought item.      ]    }  ]}