Skip to content

[Server Hosting] Trader Settings

Steve edited this page Jul 28, 2021 · 36 revisions

Last updated the 22th of June 2021 - Return to the summary


"m_Version"

Integer.

Contains the current setting version number, never change this value unless you know what you are doing.

"m_FileName"

String.

Contains the .json file name of the trader setting file, always has to be the same as the file name.

"TraderName"

String. Name of the trader. We use this name to get this configuration of the trader when ever we create the trader object/NPC. For further information please take a look at the setup guide for the trader object's/NPC's:

https://github.com/salutesh/DayZ-Expansion-Scripts/wiki/%5BServer-Hosting%5D-Setup-Trader-Object's-NPC's

"DisplayName"

String.

Display name of the trader that will be displayed on the top of the market menu when using this trader.

"Currencies"

Array.

Class names of the currency items this trader will accept. Need to be a valid currency item with a configuration in the exchange class.

"Items"

Array.

String array of item class names that this trader will accept as currencies.

"Items"

Map<String, Bool>.

A map array of items the trader will display when using this trader. The bolean controlls when ever the item also can be sold to this trader or not.

Raw files

https://github.com/ExpansionModTeam/DayZ-Expansion-Settings/tree/market/Traders

Clone this wiki locally