Ultimate P2P
TraderSpawns.json
$profile:UltimateP2P/TraderSpawns.json
P2P-Trader-Spawns, NPC-Klassen, globale Trader, Interaktionsradius und Vehicle-Anker.
Beispiel-Config
Passe Werte, Classnames und Positionen an deinen Server an.
{ // Root object for all P2P trader spawn settings. "Version": 3, // Internal config version. Keep this at the generated value unless the mod update changes it. "Traders": [ // List of all configured P2P traders. { // One P2P trader entry. "TraderId": "ultimate-p2p-devils", // Unique ID for this trader. Used to store local listings and identify this trader. "TraderClassName": "UltimateP2PTraderSurvivor_Mirek", // NPC class that will be spawned as the P2P trader. "TraderName": "Ultimate P2P Main Trader", // Display name shown in the P2P UI. "SpawnTraderObject": 1, // 1 = the mod spawns this NPC, 0 = you spawn/place the NPC yourself. "IsGlobalTrader": 1, // 1 = this trader can see listings from other global traders, 0 = only this trader's local listings. "EnableVehicleTrading": 1, // 1 = vehicle buying/selling is enabled at this trader, 0 = disabled. "ClearDefaultLoadout": 0, // 1 = remove the NPC's default clothes/items before applying custom loadout, 0 = keep default loadout. "UseRadius": 6.0, // Distance in meters from which players can interact with this trader. "VehicleAnchorRadius": 8.0, // Radius around the vehicle anchor where vehicles can be detected for selling. "Position": { // World position where the trader NPC is placed. "X": 6887.0, // East/west world coordinate of the trader. "Y": 402.0, // Height coordinate. If set to 0, the server can resolve terrain height. "Z": 11367.0 // North/south world coordinate of the trader. }, // End of trader position. "Orientation": { // Direction/rotation of the trader NPC. "X": 0.0, // Yaw/heading angle. This controls where the trader faces. "Y": 0.0, // Pitch angle. Usually keep at 0. "Z": 0.0 // Roll angle. Usually keep at 0. }, // End of trader orientation. "VehicleAnchorPosition": { // World position used for vehicle selling, buying and returning cancelled vehicle offers. "X": 6896.91, // East/west world coordinate of the vehicle spawn/sell anchor. "Y": 403.001, // Height coordinate for the vehicle anchor. "Z": 11370.0 // North/south world coordinate of the vehicle spawn/sell anchor. }, // End of vehicle anchor position. "VehicleAnchorOrientation": { // Direction/rotation for vehicles spawned from this trader. "X": 90.0, // Vehicle heading angle when spawned. "Y": 0.0, // Vehicle pitch angle. Usually keep at 0. "Z": 0.0 // Vehicle roll angle. Usually keep at 0. }, // End of vehicle anchor orientation. "LoadoutAttachments": [], // Items attached to the trader NPC, for example clothing, vest, backpack or weapons in slots. "LoadoutInventory": [] // Items placed inside the trader NPC's inventory/clothing/backpack. } ]}