[Server Hosting] P2P Market Settings - salutesh/DayZ-Expansion-Scripts GitHub Wiki
Setting Parameters:
"m_Version"
Integer.
Current setting file verstion. NEVER CHANGE THIS!
"Enabled"
Boolean.
- 0 = Disable the P2P market system.
- 1 = Enablethe P2P market system.
"MaxListingTime"
Integer.
Time in seconds how long a listed item stays on the market before it is deleted forever when the owner does not buy it back in time.
"MaxListings"
Integer.
Maximum amount of listings per trader/market a player can list.
"ListingOwnerDiscountPercent"
Integer.
Players can buy back their listings for a lower price than listed. This value sets the discount percent for the listing price.
Example for a listing with a price of 1000 and a ListingOwnerDiscountPercent
setting of 70:
(Price / 100) x ListingOwnerDiscountPercent
(1000 / 100) * 70 = 700 discount
In this example the listing owner can buy his listing back for 300.
"ListingPricePercent"
Integer.
Players need to pay a fee when putting on sale (listing) a item depending on the price they set on the listing. This value sets the fee percent for the listing price.
Example for putting on sale (listing) with a price of 1000 and a ListingPricePercent
setting of 30:
(Price / 100) x ListingPricePercent
(1000 / 100) * 30 = 300 fee
In this example the player needs to pay 300 to list a item for a price with 1000.
"ExcludedClassNames"
Array[String].
Class names of items that will never be displayed or be available for listing in the P2P market.
"ExcludedClassNames": [
"MyClassnameWithACommaAtTheEnd",
"MyClassnameWithoutACommaSinceItsTheLastOne"
],
"MenuCategories"
Array[ExpansionP2PMarketMenuCategory].
Menu categories for listed items.
"MenuCategories": [
{
"DisplayName": "My Category Name to Display !",
"IconPath": "set:dayz_inventory image:bullets",
"Included": [
"MyClassnameWithACommaAtTheEnd",
"MyClassnameWithoutACommaSinceItsTheLastOne"
],
"Excluded": [
"MyClassnameWithACommaAtTheEnd",
"MyClassnameWithoutACommaSinceItsTheLastOne"
],
"SubCategories": [
{
"DisplayName": "My Sub Category Name to Display !",
"IconPath": "set:dayz_inventory image:bullets",
"Included": [
"MyClassnameWithoutACommaSinceItsTheLastOne"
],
"Excluded": []
}
]
}
],
"SalesDepositTime"
Integer.
Time in seconds how long the sales of a purchesd listing will be saved before it is deleted forever when the owner does not retive his sale in time.
Example:
{
"m_Version": 2,
"Enabled": 1,
"MaxListingTime": 691200,
"MaxListings": 20,
"ListingOwnerDiscountPercent": 70,
"ListingPricePercent": 30,
"ExcludedClassNames": [
"SurvivorBase",
"ExpansionMoneyBase"
],
"MenuCategories": [
{
"DisplayName": "Ammo",
"IconPath": "set:dayz_inventory image:bullets",
"Included": [
"Ammunition_Base",
"Box_Base"
],
"Excluded": [],
"SubCategories": [
{
"DisplayName": "Ammo-Boxes",
"IconPath": "set:dayz_inventory image:bullets",
"Included": [
"Box_Base"
],
"Excluded": []
},
{
"DisplayName": "Ammo-Bullets",
"IconPath": "set:dayz_inventory image:bullets",
"Included": [
"Ammunition_Base"
],
"Excluded": []
}
]
},
{
"DisplayName": "Containers",
"IconPath": "set:dayz_inventory image:barrel",
"Included": [
"Container_Base"
],
"Excluded": [],
"SubCategories": []
},
{
"DisplayName": "Consumables",
"IconPath": "set:dayz_inventory image:food",
"Included": [
"Edible_Base"
],
"Excluded": [],
"SubCategories": [
{
"DisplayName": "Drinks",
"IconPath": "set:dayz_inventory image:canteen",
"Included": [
"SodaCan_ColorBase",
"WaterBottle",
"Canteen",
"Vodka",
"ExpansionMilkBottle"
],
"Excluded": []
},
{
"DisplayName": "Fish",
"IconPath": "set:dayz_inventory image:food",
"Included": [
"CarpFilletMeat",
"MackerelFilletMeat",
"Carp",
"Sardines",
"Mackerel"
],
"Excluded": []
},
{
"DisplayName": "Food",
"IconPath": "set:dayz_inventory image:food",
"Included": [
"Zagorky",
"ZagorkyChocolate",
"ZagorkyPeanuts",
"PowderedMilk",
"BoxCerealCrunchin",
"Rice",
"Marmalade",
"Honey",
"SaltySticks",
"Crackers",
"Chips",
"Pajka",
"Pate",
"BrisketSpread",
"SardinesCan",
"TunaCan",
"DogFoodCan",
"CatFoodCan",
"PorkCan",
"Lunchmeat",
"UnknownFoodCan",
"PeachesCan",
"SpaghettiCan",
"BakedBeansCan",
"TacticalBaconCan"
],
"Excluded": []
},
{
"DisplayName": "Meat",
"IconPath": "set:dayz_inventory image:food",
"Included": [
"BearSteakMeat",
"GoatSteakMeat",
"BoarSteakMeat",
"PigSteakMeat",
"DeerSteakMeat",
"WolfSteakMeat",
"CowSteakMeat",
"SheepSteakMeat",
"ChickenBreastMeat",
"RabbitLegMeat"
],
"Excluded": []
},
{
"DisplayName": "Meds",
"IconPath": "set:dayz_inventory image:medicalbandage",
"Included": [
"CharcoalTablets",
"DisinfectantAlcohol",
"PurificationTablets",
"VitaminBottle",
"DisinfectantSpray",
"TetracyclineAntibiotics",
"PainkillerTablets",
"IodineTincture"
],
"Excluded": []
},
{
"DisplayName": "Vegetables",
"IconPath": "set:dayz_inventory image:food",
"Included": [
"Apple",
"GreenBellPepper",
"Zucchini",
"Pumpkin",
"SlicedPumpkin",
"PotatoSeed",
"Potato",
"Tomato",
"SambucusBerry",
"CaninaBerry",
"Plum",
"Pear",
"MushroomBase"
],
"Excluded": []
}
]
},
{
"DisplayName": "Equipment",
"IconPath": "set:dayz_inventory image:body",
"Included": [
"ClothingBase",
"Clothing_Base"
],
"Excluded": [],
"SubCategories": [
{
"DisplayName": "Armbands",
"IconPath": "set:dayz_inventory image:armband",
"Included": [
"Armband_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Backpacks",
"IconPath": "set:dayz_inventory image:back",
"Included": [
"ChildBag_ColorBase",
"DryBag_ColorBase",
"TaloonBag_ColorBase",
"SmershBag",
"AssaultBag_ColorBase",
"HuntingBag",
"TortillaBag",
"CoyoteBag_ColorBase",
"MountainBag_ColorBase",
"AliceBag_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Belts",
"IconPath": "set:dayz_inventory image:hips",
"Included": [
"CivilianBelt",
"MilitaryBelt"
],
"Excluded": []
},
{
"DisplayName": "Blouses & Suits",
"IconPath": "set:dayz_inventory image:body",
"Included": [
"Blouse_ColorBase",
"ManSuit_ColorBase",
"WomanSuit_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Boots & Shoes",
"IconPath": "set:dayz_inventory image:feet",
"Included": [
"AthleticShoes_ColorBase",
"JoggingShoes_ColorBase",
"Sneakers_ColorBase",
"Ballerinas_ColorBase",
"DressShoes_ColorBase",
"HikingBootsLow_ColorBase",
"WorkingBoots_ColorBase",
"HikingBoots_ColorBase",
"CombatBoots_ColorBase",
"JungleBoots_ColorBase",
"Wellies_ColorBase",
"TTSKOBoots",
"MilitaryBoots_ColorBase",
"NBCBootsBase"
],
"Excluded": []
},
{
"DisplayName": "Caps",
"IconPath": "set:dayz_inventory image:headgear",
"Included": [
"BaseballCap_CMMG_Pink",
"BaseballCap_CMMG_Black",
"BaseballCap_ColorBase",
"PrisonerCap",
"PilotkaCap",
"PoliceCap",
"FlatCap_ColorBase",
"ZmijovkaCap_ColorBase",
"RadarCap_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Coats & Jackets",
"IconPath": "set:dayz_inventory image:body",
"Included": [
"LabCoat",
"TrackSuitJacket_ColorBase",
"DenimJacket",
"WoolCoat_ColorBase",
"RidersJacket_ColorBase",
"FirefighterJacket_ColorBase",
"JumpsuitJacket_ColorBase",
"BomberJacket_ColorBase",
"QuiltedJacket_ColorBase",
"PrisonUniformJacket",
"PoliceJacketOrel",
"PoliceJacket",
"ParamedicJacket_ColorBase",
"HikingJacket_ColorBase",
"Raincoat_ColorBase",
"TTsKOJacket_ColorBase",
"BDUJacket",
"HuntingJacket_ColorBase",
"M65Jacket_ColorBase",
"GorkaEJacket_ColorBase",
"USMCJacket_ColorBase",
"NBCJacketBase"
],
"Excluded": []
},
{
"DisplayName": "Eyewear",
"IconPath": "set:dayz_inventory image:eyewear",
"Included": [
"SportGlasses_ColorBase",
"ThinFramesGlasses",
"ThickFramesGlasses",
"DesignerGlasses",
"AviatorGlasses",
"TacticalGoggles",
"NVGHeadstrap",
"EyePatch_Improvised"
],
"Excluded": []
},
{
"DisplayName": "Ghillies",
"IconPath": "set:dayz_inventory image:missing",
"Included": [
"GhillieHood_ColorBase",
"GhillieBushrag_ColorBase",
"GhillieTop_ColorBase",
"GhillieSuit_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Gloves",
"IconPath": "set:dayz_inventory image:gloves",
"Included": [
"SurgicalGloves_ColorBase",
"WorkingGloves_ColorBase",
"TacticalGloves_ColorBase",
"OMNOGloves_ColorBase",
"NBCGloves_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Hats & Hoods",
"IconPath": "set:dayz_inventory image:headgear",
"Included": [
"MedicalScrubsHat_ColorBase",
"CowboyHat_ColorBase",
"MilitaryBeret_ColorBase",
"BeanieHat_ColorBase",
"Ushanka_ColorBase",
"BoonieHat_ColorBase",
"OfficerHat",
"NBCHood"
],
"Excluded": []
},
{
"DisplayName": "Helmets",
"IconPath": "set:dayz_inventory image:headgear",
"Included": [
"HelmetBase"
],
"Excluded": []
},
{
"DisplayName": "Masks",
"IconPath": "set:dayz_inventory image:mask",
"Included": [
"SurgicalMask",
"NioshFaceMask",
"HockeyMask",
"BalaclavaMask_ColorBase",
"Balaclava3Holes_ColorBase",
"WeldingMask",
"GasMask",
"GP5GasMask",
"AirborneMask"
],
"Excluded": []
},
{
"DisplayName": "Pants",
"IconPath": "set:dayz_inventory image:legs",
"Included": [
"MedicalScrubsPants_ColorBase",
"TrackSuitPants_ColorBase",
"PrisonUniformPants",
"Breeches_ColorBase",
"SlacksPants_ColorBase",
"CanvasPantsMidi_ColorBase",
"CanvasPants_ColorBase",
"JumpsuitPants_ColorBase",
"PolicePants",
"ParamedicPants_ColorBase",
"FirefightersPants_ColorBase",
"CargoPants_ColorBase",
"ShortJeans_ColorBase",
"Jeans_ColorBase",
"TTSKOPants",
"BDUPants",
"USMCPants_ColorBase",
"PolicePantsOrel",
"HunterPants_ColorBase",
"GorkaPants_ColorBase",
"NBCPantsBase"
],
"Excluded": []
},
{
"DisplayName": "Shirts",
"IconPath": "set:dayz_inventory image:body",
"Included": [
"TShirt_ColorBase",
"Shirt_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Skirts & Dresses",
"IconPath": "set:dayz_inventory image:body",
"Included": [
"Skirt_ColorBase",
"MiniDress_ColorBase",
"NurseDress_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Sweaters & Hoodies",
"IconPath": "set:dayz_inventory image:body",
"Included": [
"Sweater_ColorBase",
"Hoodie_ColorBase"
],
"Excluded": []
},
{
"DisplayName": "Vests",
"IconPath": "set:dayz_inventory image:vest",
"Included": [
"ReflexVest",
"PoliceVest",
"PressVest_ColorBase",
"UKAssVest_ColorBase",
"SmershVest",
"HighCapacityVest_ColorBase",
"PlateCarrierVest",
"HuntingVest"
],
"Excluded": []
}
]
},
{
"DisplayName": "Explosives",
"IconPath": "set:dayz_inventory image:explosive",
"Included": [
"ExplosivesBase",
"RemoteDetonator",
"RemoteDetonatorTrigger",
"RemoteDetonatorTrigger",
"ExpansionSatchel",
"M18SmokeGrenade_ColorBase"
],
"Excluded": [],
"SubCategories": []
},
{
"DisplayName": "Vehicles",
"IconPath": "set:dayz_inventory image:cat_vehicle_body",
"Included": [
"CarScript"
],
"Excluded": [],
"SubCategories": [
{
"DisplayName": "Cars",
"IconPath": "set:dayz_inventory image:cat_vehicle_body",
"Included": [
"OffroadHatchback",
"Hatchback_02",
"Sedan_02",
"CivilianSedan",
"Truck_01_Base",
"Offroad_02",
"ExpansionTractor",
"ExpansionUAZ",
"ExpansionBus",
"ExpansionVodnik",
"Expansion_Landrover"
],
"Excluded": []
},
{
"DisplayName": "Helicopters",
"IconPath": "set:dayz_inventory image:cat_vehicle_body",
"Included": [
"ExpansionHelicopterScript"
],
"Excluded": []
},
{
"DisplayName": "Boats",
"IconPath": "set:dayz_inventory image:cat_vehicle_body",
"Included": [
"ExpansionBoatScript"
],
"Excluded": []
}
]
},
{
"DisplayName": "Weapons",
"IconPath": "set:dayz_inventory image:pistol",
"Included": [
"Weapon_Base",
"Weapon",
"ButtstockBase",
"OpticBase",
"Magazine_Base"
],
"Excluded": [
"Ammunition_Base"
],
"SubCategories": [
{
"DisplayName": "Attachments",
"IconPath": "set:dayz_inventory image:weaponmuzzle",
"Included": [
"ButtstockBase",
"OpticBase",
"Magazine_Base"
],
"Excluded": [
"Ammunition_Base"
]
},
{
"DisplayName": "Assault Rifles",
"IconPath": "set:dayz_inventory image:pistol",
"Included": [
"FAL_Base",
"AKM_Base",
"AK74_Base",
"M4A1_Base",
"M16A2_Base",
"Famas_Base",
"Aug_Base",
"Expansion_M16_Base",
"Expansion_G36_Base"
],
"Excluded": []
},
{
"DisplayName": "Pistols",
"IconPath": "set:dayz_inventory image:pistol",
"Included": [
"Pistol_Base"
],
"Excluded": []
},
{
"DisplayName": "Rifles",
"IconPath": "set:dayz_inventory image:pistol",
"Included": [
"Izh18_Base",
"Ruger1022_Base",
"Repeater_Base",
"Mosin9130_Base",
"CZ527_Base",
"CZ550_Base",
"Winchester70_Base",
"SSG82_Base",
"Expansion_Kar98_Base",
"Expansion_M14_Base",
"Expansion_M1A_Base"
],
"Excluded": []
},
{
"DisplayName": "Shotguns",
"IconPath": "set:dayz_inventory image:pistol",
"Included": [
"Izh18Shotgun_Base",
"Izh43Shotgun_Base",
"Mp133Shotgun_Base",
"Remington12",
"Saiga_Base",
"SawedoffIzh18Shotgun"
],
"Excluded": []
},
{
"DisplayName": "Sniper-Rifles",
"IconPath": "set:dayz_inventory image:pistol",
"Included": [
"VSS_Base",
"B95_base",
"SVD_Base",
"Scout_Base",
"Expansion_AWM"
],
"Excluded": []
}
]
}
],
"SalesDepositTime": 691200
}