-
Notifications
You must be signed in to change notification settings - Fork 43
[Server Hosting] Adding a new Category to the market
LieutenantMaster edited this page Jul 12, 2023
·
5 revisions
Return to the overview "The Market System"
To add a new category you will need to create and configure one json file per categories. please note, a category shouldn't have items from another category.
Go to DayZServer\ServerProfile (or config)\ExpansionMod\Market
and create a file named MyCategory_Name.json
.
In this file add the following lines:
{
"m_Version": 12,
"DisplayName": "My Category Name Players Will See",
"Icon": "Deliver",
"Color": "FBFCFEFF",
"IsExchange": 0,
"InitStockPercent": 75.0,
"Items": [
{
"ClassName": "MyClassName",
"MaxPriceThreshold": 30,
"MinPriceThreshold": 15,
"SellPricePercent": -1,
"MaxStockThreshold": 250,
"MinStockThreshold": 1,
"QuantityPercent": -1,
"SpawnAttachments": [
"MyAttachment_Classname",
"MyAttachment_Classname"
],
"Variants": [
"MyClassname_Variant",
"MyClassname_Variant"
]
}
]
}
This is using hex color coding. You can use online hex color pickers to find quickly the desired color you want to use.
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.