[Server Hosting] P2P Market Trader Configuration
You can name a p2p market trader configuration file to what ever you want as long as it has the .json file extention and is placed in the mpmissions\MISSIONNAME.MAPNAME\storage_x\expansion\p2pmarket folder it will get loaded by the personal storage system.
Integer.
Current config file version. NEVER CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING!
Integer.
Unique trader ID for this trader. Never use the same ID twice!
String.
Class name of the trader object that will be used to spawn the trader object.
- Need to inherit from "ExpansionP2PMarketTraderNPCAI" when a AI NPC.
- Need to inherit from "ExpansionP2PMarketTraderNPC" when a normal NPC.
- Need to inherit from "ExpansionP2PMarketTraderStatic" when a static object.
Vector.
World position where the p2p market trader object will be created at.
Vector.
World orientation where the p2p market trader object will be facing at.
String.
Loadout file for the trader NPC if it is a AI or normal NPC.
Vector.
World positions where the p2p market will spawn land vehicles at when purchased.
Vector.
World positions where the p2p market will spawn watercrafts at when purchased.
Vector.
World positions where the p2p market will spawn aircrafts at when purchased.
String.
Display name that will be used in the p2p market menu or when the name-tags mod loaded and enabled next to the p2p market mod.
String.
Display icon that will be used in the p2p market menu or when the name-tags mod loaded and enabled next to the p2p market mod. Can be a ExpansionIcon or any valid image path.
String.
Faction for the NPC if it is a AI.
Bolean.
If this trader should display all sale listings from all P2P market traders in the world then set this to 1.
Example configuration JSON file:
{
"m_Version": 4,
"m_TraderID": -1,
"m_ClassName": "ExpansionP2PTraderAIJudy",
"m_Position": [
8551.580078125,
15.703399658203125,
10529.900390625
],
"m_Orientation": [
120.0,
0.0,
0.0
],
"m_LoadoutFile": "SurvivorLoadout",
"m_VehicleSpawnPosition": [
3741.679931640625,
402.8330078125,
5996.14013671875
],
"m_WatercraftSpawnPosition": [
0.0,
0.0,
0.0
],
"m_AircraftSpawnPosition": [
0.0,
0.0,
0.0
],
"m_DisplayName": "Unknown",
"m_DisplayIcon": "Deliver",
"m_Faction": "InvincibleObservers",
"m_IsGlobalTrader": 0
}
Copyright© 2020-2023 DayZ Expansion Mod Team. We do not authorize any entity to publish this DayZ Standalone modification without licensing from the DayZ Expansion Mod Team.