Skip to content

[Server Hosting] Trader Settings

LieutenantMaster edited this page Oct 18, 2021 · 36 revisions

Return to the overview "The Market System"

NOTE that traders will only act as traders if they are within the radius of a traderzone. See Market Zones Settings


"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/How-to-configure-the-Expansion-Map-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).

"Categories"

Array [String].

Filenames (without JSON extension) of market categories in ExpansionMod\Market that this trader should show. Can be used instead of or in addition to Items.

"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. A special value of 3 is also possible, which means the item should not be shown in the trader menu normally and is only sellable/purchasable as attachment.


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