DealerPoint
Located in YourServerProfile\TBMods\Config\TBDynamicTrader\DealerPoints. These files configure specific dealers.
Example Weapon Trader.json:
json
{
"uniqueName": "Weapon Trader", // Name of the trader
"version": "2", // Never touch this value. It is needed internally
"sellTax": 0.10, // Tax for selling items. Range from 1 - 0 | 1 = 100% | 0 = 0%
"position": [ // Location of the trader object
6542.7314453125,
6.188297748565674,
2478.249267578125
],
"orientation": [ // Orientation of the trader object
-48.88920974731445,
0.00231537944637239,
0.0008682372281327844
],
"useExactPosition": 1, // Use exact position; if 0, it will be placed automatically on the ground
"useUTCTime": 0, // Use UTC time for opening hours; if 0, it will use server time
"type": "TBDTTraderMachine", // Type of the trader object (see types.md)
"useTraderChar": 1, // Use a trader NPC character; if 0, it will not spawn an NPC
"traderCharType": "SurvivorF_Judy", // Class name of the trader NPC character
"traderCharAttachments": { // Attachments for the trader character. Items must be configured in the TraderItemConfigs folder
"Gloves": "WoolGlovesFingerless_White",
"Feet": "JungleBoots_Black",
"Shoulder": "M4A1",
"Hips": "MilitaryBelt",
"Headgear": "BallisticHelmet_BDU",
"Legs": "USMCPants_Woodland",
"Melee": "NailedBaseballBat",
"Eyewear": "ThickFramesGlasses",
"Mask": "Bandana_Camopattern",
"Armband": "Armband_Crook",
"Body": "TacticalShirt_Tan"
},
"openTimes": [ // Opening hours configuration
{
"openHour": 11,
"openMinute": 20,
"closeHour": 11,
"closeMinute": 35
}
],
"safeZoneEnabled": 0, // Safe zone toggle: 0 = disabled, 1 = enabled
"safeZoneRadius": 100.0, // Safe zone radius in meters
"safeZoneTimeout": 10, // How long it takes, befor a player count as not in safe zone, when he leave safe zone
"safeZoneRemoveAnimals": 1, // removes all animals in safe zone
"safeZoneRemoveInfected": 1, // removes all infacted in safe zone
"safeZoneRemoveEAI": 1, // removes all ai in safe zone
"uniqueFileNames": [ // List of item unique names available at this trader
"AK101",
"AK74"
]
}