Traders

Tutorial · 3:02

Traders reads the trader configuration of a DayZ server: which NPC sells what, at what buy and sell price, with what stock. You use it when you run a server with TraderX, TraderPlus or Expansion Market and want to find mistakes players can exploit, edit prices, rebalance the whole catalog from the rarity of the loot, or move from TraderPlus to TraderX. You need a server profile folder (the folder given to the server with -profiles=, holding TraderX/, TraderPlus/ or ExpansionMod/); a sample profile is provided when you have none. For the class checks you need the DayZ folder set in Settings, and for the rarity checks a mission folder.

The page reads configuration files only. It never opens player data: bank accounts, vaults, garages, insurance or licence records keyed by SteamID (TraderXDatabase/, TraderPlusDatabase/), nor logs. Of ExpansionMod/ it reads Market/ and Traders/ only: the ATM accounts, groups and personal storage next to them are left alone.

The screen

First steps

  1. Open the page and click Open profile…, then choose your server profile folder. Without a server, click Open the sample profile on the empty page.
  2. Next to Rarity from, choose the mission of your server (or pick its folder with the folder button).
  3. In the left pane, click a category of a trader. The table shows its products.
  4. Click a product. In the inspector, type a new buy price. The row gets an edited badge and the header counts one change not written.
  5. Open the Audit tab and read the errors first.
  6. Stop the server, click Review and write, check the diff, then Write.

Take the tour (in the app)

Common tasks

Find and fix what players can exploit

  1. Open the profile and choose the mission.
  2. Open the Audit tab and click Errors.
  3. Click a finding to open its product, or Open to edit the file in your editor.
  4. Fix the price in the inspector, then Review and write.

Raise or lower many prices at once

  1. In the Products tab, click a category or search, and tick the products to change (or tick none and use the scope "products shown").
  2. In the Prices row choose the scope, buy / sell / both, + % or = set, and a number (-10 lowers by 10 %).
  3. Click Apply: the prices are staged. Prices of -1 are kept.
  4. Review and write.

Rebalance the catalog from rarity

  1. Choose the mission, open the Plan tab.
  2. Set the intent: starting money, reference share, sell ratio; leave the rest at its default at first.
  3. Compute the plan, read the changes and the kept products.
  4. Review and write in the plan's header. Tour of this workflow (in the app)

Change a setting (bank fee, safe zone, trader position)

  1. Open the Settings tab and click the file.
  2. Edit a field: hover its name for the meaning, type and default from the mod's code. In a list, the bin removes an element and Add appends a copy of the last one.
  3. Review and write.

Convert a TraderPlus profile to TraderX

  1. Click Import TraderPlus…, choose the TraderPlus profile folder, then a target profile folder that has no TraderX configuration yet.
  2. Read the preview: the files to create and the notes.
  3. Click Create. Nothing is overwritten and the TraderPlus files are not changed.

Undo a write

  1. Open the Backups tab.
  2. Click Restore on the row of that write. The current files are backed up first.

Start from a recipe

Its empty state lists the recipes for this page as chips (Set up a trader, Sell new items at the trader, Trader shop): a click starts one in Beans Assistant, which asks a few questions, proposes a plan and works step by step with checks. All recipes opens the whole catalogue. The help panel (F1) lists them too.

Examples

Concepts

Pitfalls

For agents

See also