Skip to content

[Server Hosting] Trader Settings

lava76 edited this page Aug 10, 2021 · 36 revisions

Last updated 2021-08-10 - Return to the summary


"m_Version"

Integer.

Contains the current setting version number, never change this value unless you really know what you are doing as it's used internally for automatic conversion of old settings whenever we change something.

"TraderName"

String.

Currently used to choose a trader icon in the market menu and for logging.

"DisplayName"

String.

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

"TraderIcon"

String.

Icon of the trader that will be displayed on the top of the market menu when using this trader. You can find a list of valid icon names at https://github.com/salutesh/DayZ-Expansion-Scripts/wiki/%5BServer-Hosting%5D-Adding-server-markers#m_iconname

"Currencies"

Array [String].

Class names of the currency items this trader will accept. Needs to be a valid currency item with a configuration in an Exchange market category (ExpansionMod\Market\Exchange.JSON).

"Items"

Map [String, Integer].

A list of items the trader can sell/buy. The integer value controls whether an item can be only be bought (0), bought and sold (1), or only sold (2) at this specific trader.


For further information please take a look at the setup guide for the trader entities/NPCs:

https://github.com/salutesh/DayZ-Expansion-Scripts/wiki/%5BServer-Hosting%5D-Setting-up-Trader-Entities-and-NPCs

Raw files

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

Clone this wiki locally