DayzHUBMods

Mod · version 1.0.9

DayzHUB CraftBench

CraftBench puts a real workbench into your DayZ server. Players build it from a kit, attach a generator to it, hang their own tools on the pegboard and craft items with timed crafts that keep running while they are away.

Needs DayzHUB Core DayZ 1.30 @DayzHUB_CraftBench Product page
CraftBench

CraftBench puts a real workbench into your DayZ server. Players build it from a kit, attach a generator to it, hang their own tools on the pegboard and craft items with timed crafts that keep running while they are away. Finished items go into the storage of the bench. You decide every recipe, its time, what it needs and what it costs, in game, in the recipe editor. Recipes can be free or sold: a priced recipe is bought once by a player and is his for good.

There are two kinds of bench:

  • Player bench: built from a Workbench Kit (the box carries the DayzHUB logo). It needs power from an attached generator and can be dismantled like any base item.
  • Admin bench: placed by an admin from the admin bar, for example at a trader. It is always complete, needs no power, cannot be damaged or dismantled by players and comes back after every restart. Each admin bench can have its own profile (its own recipes and rules, for example a VIP bench).

The mod needs DayzHUB Core 1.0.11 or newer. Licence: see dayzhub.net.

A placed bench with its vice and pegboard and the DayzHUB generator beside it.

Updating to this release (2026-12-04): install DayzHUB CraftBench 1.0.9, client and server parts together, before you start your server. DayzHUB Core 1.0.11 or newer is needed. Your data and settings are kept.

Install (server owners)#

  1. DayzHUB Core is required (free with any DayzHUB mod, download it from My mods). Load @DayzHUB_Core first.
  2. Client mod: @DayzHUB_CraftBench goes into -mod=, for the server and for every player.
  3. Server mod: @DayzHUB_CraftBenchServer goes into -servermod=. It is for the server only, never give it to players.
    Example: -mod=@CF;...;@DayzHUB_Core;@DayzHUB_CraftBench and -servermod=@DayzHUB_CraftBenchServer
  4. Copy keys\DayzHUB.bikey (from the mod folder you downloaded) into your server's keys folder. The client mod is already signed by DayzHUB.
  5. Licence: on dayzhub.net, My mods > DayzHUB CraftBench, add your server's public IP and game port (the server needs a licence slot). There is no licence file: the server checks in by itself at start. The status is in <profiles>\DayzHUB\Licenses\STATUS_CraftBench.txt.
  6. Start the server once. CraftBench writes its files to <profiles>\DayzHUB\DHUB_CraftBench\ (below).
  7. types.xml (recommended): the Extra folder of the mod has a types.xml. Copy it into your mission folder (for example as craftbench_types.xml) and register it in cfgeconomycore.xml:
    <ce folder="."><file name="craftbench_types.xml" type="types"/></ce>
    It registers the four classes (placed bench 45 days, admin bench 1 year, kit, generator) with the central economy and spawns nothing. Use types.OPTIONAL-worldloot.xml instead if the generator and the kits should also appear as rare world loot. Pick one of the two, never both. Restart and check the RPT for "craftbench_types" errors. The class names are in Extra\ClassNames.txt for your traders and for admin spawning.
  8. Admins: put your Steam64 ID in <profiles>\DayzHUB\DHUB_Core\Config\admins.json (written by DayzHUB Core). The admin bar opens with Insert.
Without a licence CraftBench pauses and the server keeps running; the script log prints the link to add your server. Add it and CraftBench runs again with the next licence answer, no restart needed. If the licence server cannot be reached, the server is never stopped: the mod keeps working for a 3 hour grace period, then only CraftBench pauses.

Your files (written once, never overwritten by an update)#

Everything is in <profiles>\DayzHUB\DHUB_CraftBench\ (folders Config, Data, Backups and Logs). You can change everything on the admin page, or edit the files by hand and then press Reload on the admin page (Insert > CraftBench), or Reload every DayzHUB mod on the Overview page, or restart. Console.json is only read at server start: restart.

Updating from an older version: at the first start the files move to this folder by themselves and every setting is kept. A copy of each original file stays in Backups\<date>\pre-migration\. If the move cannot finish, the old files stay in use and the move is tried again at the next restart.

FileWhat it holds
Config\Settings.jsonevery setting (below)
Config\Recipes.jsonthe recipes: items made, ingredients, time, price
Config\Profiles.jsonbench profiles: which recipes a bench offers, speed, item needed, Steam ID lists, VIP benches
Config\AdminBenches.jsonthe admin benches (up to 200): name, place, turn, profile, who placed it, hidden on the map or not. Written by the admin bar and the DayzHUB Console; not for hand edits
Config\AccessLists.jsonthe DayzHUB Console access lists of the listOnly bench profiles: profile name and its Steam64 IDs (17 digits, up to 2000 per list). Not created on a fresh start: written when an access list is edited in the DayzHUB Console. Kept by the Console; do not edit by hand
Config\Console.jsonDayzHUB Console link (on by default); only written when the DayzHUB Console agent is installed. Read once at server start: restart after a change
Data\storage, bought recipes, craft queues and which generator sits at which bench (Attached.json): saved safely by the mod in their own files; not for hand edits. layout.txt marks that the new folder layout is in use
Backups\<date>\the first state of each config file every day; the newest 7 days are kept. A .v<N>.json copy is made before a file is upgraded, and a damaged file is copied as .broken.json. pre-migration\ holds the copy of your old files made when they moved to this folder
Logs\server, crafts, admin, security and error logs, one file a day, written through DayzHUB Core, plus a README.txt written again at each start. The log level and the days kept are set in DHUB_Core\Config\Logger.json (logLevel, keepLogsDays)
Updates keep your values. Every file has a version. When an update adds new keys, the file is upgraded once: your values stay, new keys get their defaults and a copy of the old file is kept in Backups\<date>\ (.v<N>.json). A value out of range is replaced by a safe value with a line in the log.

For players#

Build the bench#

Take the Workbench Kit in your hands and aim at open, flat ground. A ghost shows where the bench will stand: green = it fits, red = blocked (a wall, a car, another bench, or too steep). The spot at the left end of the bench is kept free for the generator: the ghost turns red and tells you why when it is blocked. Hold the deploy action to build it. The bench comes complete, with its lamp, vice, drill press and pegboard.

Placing the kit: the green ghost shows where the bench will stand.

Power: attach a generator#

A player bench needs power. Fill a generator (the DayzHUB Generator or the vanilla one) with fuel, pick it up so it is in your hands, look at your bench and press F: Attach generator. The generator is put down at the left end of the bench, logo side to the front, and is plugged in straight away. With the generator on the ground the action only reminds you to take it in your hands first. The attached generator is locked (no pick up, no move) but you can still refuel it, switch it on and off and fit a spark plug. Detach generator frees it. The link and the generator are kept across restarts, and taking the bench apart frees the generator. The menu shows the generator, its fuel and whether the bench has power; the power and fuel indicator is green for full, amber for medium and red for low. When the generator stops or runs dry, crafting pauses and continues by itself when power is back.

The DayzHUB Generator. Refuel it like any generator.

Hang your tools on the pegboard#

Some recipes need a tool. Put your own vanilla hammer, pliers, wrench and screwdriver into the bench slots: they hang on the pegboard and count as tools for the recipes. Tools wear out a little with every craft (2 % by default); the menu shows the condition of each tool.

Tools on the pegboard.

Use the bench#

Look at the bench from close by (1.3 m) and press F - Access workbench, from any stance. The menu has four tabs: Craft, Storage, Shop and Bench. Admin benches have no storage, so they show three tabs: 1 Craft, 2 Shop, 3 Bench. It closes with F, Esc or the X, and by itself when you walk 0.5 m away, when you are restrained or when you get into a vehicle (restrained players and players in a vehicle cannot open it).

On the Craft tab the list on the left holds the recipes, with a search and category chips. Every recipe shows its state:

State (chip colour)Meaning
READY (green)you have everything and the bench has power
MISSING (red)an ingredient is short
NO POWER (amber)the bench has no running generator attached
NEEDS TOOL (orange)a tool the recipe needs is not on the pegboard
LOCKED / price (purple)the recipe is for sale and you have not bought it yet
CRAFTING (teal)this recipe is being made now (teal is also the colour of an admin bench)
IDLE (grey-blue)nothing is being made, or the bench has no generator attached

The same colours are used on every chip of the menu: green is ready or done, red is missing, orange needs a tool, amber has no power, purple is for sale, teal is crafting or an admin bench, grey-blue is idle.

A bench without a running generator: every recipe says NO POWER.
Powered: the recipe is READY. Pegboard, generator fuel and storage are shown on the right.

The queue#

Press Add to queue. A bench holds up to 5 crafts (3 per player by default). The queue shows a progress ring and the time left. Crafts keep running when you close the menu, walk away or log out; cancel gives the ingredients back.

A craft in progress at 25 %; the next slots are free.

Storage#

Every bench has its own 200-slot storage (Storage tab, or Open on the right of the Craft tab). Click an item of yours to store it, click a stored item to take it back. Each stored item shows its real condition; ruined items are dimmed, tagged "Ruined" and cannot be stored. Crafts use the storage as ingredients, and finished items are put into it. If the storage is full, the result goes to your inventory when you are near (within 30 m) and otherwise onto the ground; a message tells you where it went. Who may open a player bench's storage is set by storageAccess: the owner only (the default), the owner and his LB group (the default when LB Groups is loaded), or anyone.

The Storage tab: what is in the bench in the middle, your items on the right.

Buying recipes#

Some recipes are free, others have a price that your admin sets. A priced recipe shows its price in the list and a Buy button; the Shop tab shows only the recipes still for sale. A purchase is made once, is saved for you and survives restarts. The price is paid in this order (the default, the admin can change it with payWith):

  1. your DayzHUB Banking account, when DayzHUB Banking is on the server;
  2. the cash items you carry: the cheapest notes go first and the change comes back as cash;
  3. your LBmaster bank balance, when LB is on the server.

When the server pays from the bank, a recipe that is for sale shows your bank balance next to its price. If you cannot pay, a message tells you the price.

A priced recipe: a one-time purchase. A weapon can come with its parts already fitted.

Dismantle the bench#

With pliers or a hammer in your hands use Dismantle workbench. It only works when the bench is empty: the storage is empty, no tools are on the pegboard, the queue is empty. Taking the bench apart frees an attached generator. Otherwise the action says what is still on it. You get the kit back with the condition of the bench. Players cannot dismantle admin benches.

Admin page (Insert > CraftBench)#

Only admins can see and change the data; the server checks every action again. Changes are checked before they are saved, are used at once and are written to the log with your name. The page has four tabs, a Reload button (read the files again); every tab with settings has an amber Save button in the page header.

The Settings tab.
TabWhat you do
Settingscrafts per bench, crafts per player, craft speed, bench size, benches per player, pay with, currency sign, tool wear, generator fuel, raid rule, LB map markers
Benchesevery bench of the server (admin and player) in one list: name or owner, place, power state. Go to, Edit and Move (admin benches) and Remove on each row. Place a new admin bench where you stand, with a profile and a name. Removing a player bench puts what was stored in it on the ground
Playersthe players online with the number of priced recipes each one owns. Pick a player (or type a Steam64 ID) to see his recipes, Take back one, Give recipe for free, or reset them all
Recipesevery recipe with its item name, price, Edit, Copy and Delete, and the recipe editor
The Players tab: give a recipe, take one back or reset a player.

Admin benches#

On the Benches tab choose a profile, type a name and place the bench where you stand. Admin benches are always complete, need no power, cannot be damaged and the results go straight to the crafter. They are saved in AdminBenches.json and come back after every restart. With LB Advanced Groups they show on the LB map (see below).

Edit a bench. Every admin bench in the list has an Edit button. Change its name or its profile, then press Save bench. The bench keeps its place.

An admin bench in the list: Go to, Edit, Move and Remove.

Required item#

For each profile (player, workshop, VIP) you can set an item the player needs to use a bench of that profile. Type the item's class name in Required item and press Set item. Leave the field empty and press Set item to remove it: then no item is needed. The player can carry the item anywhere: in the hands, in clothes or in a backpack.

The recipe editor#

A full window, only for admins. On the left: every recipe with picture, name, id, category and price; search, category chips and + New recipe. On the right: the recipe.

  • Id (fixed once saved), title (empty = the name of the first item made), category, craft time and success chance, price (0 = free for everyone), fuel (ml) (empty = the generatorFuelPerMinute rate while it crafts; a number = the ml the whole craft burns, 0 = none), pegboard tools needed, hidden until bought, player picks one result.
  • Makes (up to 6): type the item class; suggestions appear while you type. The amount is a number or a range like 2-4. The picture shows at once; a red ring means the game does not know that class.
  • Uses (up to 10): item class (several allowed: ClassA/ClassB = any of them), amount, and how it is used: ITEMS (used up), QTY (only that much of its quantity, for example 12 nails or 0.5 l), TOOL (needed, kept).
  • Save recipe checks everything (an unknown item, a bad or used id, time, chance and category are refused with the reason), saves Recipes.json with a backup, reloads every bench at once and logs your name. Duplicate makes a copy to save under a new id. Delete and leaving a changed recipe ask for a second click.

Kitted parts of a result, its health and quantity, and the exact class or minimum health of an ingredient stay as they are when you edit a recipe; set them in Recipes.json.

The recipe editor: what the recipe makes and what it uses.

Which cash items count#

To let players pay with cash, the mod needs to know your money. It reads the first source that exists, when the server starts and on Reload:

  1. currencyItems in Settings.json: your own list (class and value of ONE unit).
  2. With LBmaster loaded: the file of LB, profiles\LBmaster\Config\Common\Currencies.json.
  3. With DayZ Expansion Market loaded: its money.
  4. The shared file profiles\DayzHUB\DHUB_Core\Config\Currencies.json, written empty by DayzHUB Banking in the LB format and never overwritten. On a server that already has DayzHUB\DayzHUB_Core\Config\Currencies.json, that file keeps working. If you use neither LB nor Expansion, list your cash items here (itemclassname and value) and press Reload.

The server log shows the result as CURRENCY source=lb|expansion|dayzhub|settings items=N. The sign before a price comes from the same source, or from currencyName.

Settings.json#

Switches: write true/false or 1/0, both work; the server saves 1/0. A value outside its range is replaced and a warning naming the key is logged.

KeyDefaultMeaning
enabledonSwitches CraftBench on or off (needs a restart)
maxQueue5Crafts one bench can hold in its queue (1-5)
perPlayerQueue3Crafts one player may have queued on one bench
craftSpeed1.00.1-10. 1.0 = the recipe time, 2.0 = twice as fast
storageAccessowner (group with LB Groups)Who may use the storage of a player bench: owner, group (owner + LB group) or anyone. The default is owner; with LB Groups loaded the file is written with group
benchScale10.5-1.0 of the model size
maxPlayerBenches1Benches one player may build (0 = no limit)
toolWearPercent2Condition a pegboard tool loses per craft
generatorFuelPerMinute20Default millilitres of extra fuel the generator burns per minute of crafting (0-1000), for any generator that powers a bench, vanilla or DayzHUB. 0 = only the normal generator burn. A recipe with its own Fuel in the recipe editor burns that amount per craft instead
benchesCanBeDestroyedoffOff: a player bench can only be dismantled. On: it can be destroyed; its storage and parts drop, nothing is lost
lbMapMarkersonShow admin benches on the LB map (only with LB Advanced Groups)
abuseKickoffAsk the Console to kick a player who floods the server with requests
payWithauto (bank, cash, lb)The order of the money sources for priced recipes. Default auto = the DayzHUB Banking account first when it is installed, then cash, then the LB bank. Set your own order: cash (cash only), bank (bank only), cash,bank (cash first) or bank,cash (bank first). An order you set yourself stays as it is. The CraftBench link is built into DayzHUB Banking: nothing extra to load
currencyNameemptySign before a price. Empty = the sign of the money source
currencyItemsemptyYour own list of cash items (class and value of ONE unit); wins over every other source. A value above the allowed maximum is left out with a warning in the log, like the other cash sources. Each entry: cls, value, depositableOnly; an entry without cls or with a value below 1 is dropped. File only: not in the DayzHUB Console
benchOnlyVanillaRecipesemptyVanilla hand crafts (class names) that may only be done at a bench

LB map markers#

With LB Advanced Groups on the server, every admin bench shows on the LB map and GPS with a marker, so players find your benches. It is switched by lbMapMarkers and the marker is removed when the bench is moved or removed. On the Benches page of the admin bar you also choose per admin bench whether it shows on a map (LB Advanced Groups and the DayzHUB Console). Player benches are never marked: an LB server marker is public and a base must stay private.

An admin bench on the LB map near Chernogorsk.

DayzHUB Console#

With the DayzHUB Console agent on your server, CraftBench links by itself (Console.json, on by default; set "enabled": 0 to switch it off, then restart: the file is read once at server start). Every action is refused while the licence is paused.

  • Map markers: every bench with its state (idle, crafting, waiting for power), power, generator fuel, queue, storage use, owner, who placed it, last craft and the tools on the pegboard. The colour follows the state: blue = admin bench, gold = player bench, green = crafting, amber = waiting for power.
  • Events: crafts done or failed, bench placed, built and dismantled, power plugged or lost, recipe bought, fuel out, storage full, tool broken, raid hits and request floods.
  • 20 actions:
WhereActions
Status and filesStatus, Reload config, Set a setting, Stop all jobs
RecipesList recipes, Add or edit a recipe, Remove a recipe, Set a price, Give a recipe to a player, Take a recipe back, Reset the bought recipes of a player
BenchesGo to a bench, Repair, Refuel its generator, Move an admin bench, Remove an admin bench, Inspect a storage, Clear the queue of a player
Players and accessGive a Workbench Kit or a DayzHUB Generator; VIP access lists: add, remove, show (per bench profile)

Changes from the Console go through the same checks, backup and log as the admin page.

Console Store perk: craft_speed makes a player's crafts up to 50 percent faster (the menu shows the real time; the fuel of a recipe with its own fuel stays the same). It needs the Console Store on the Pro or Community plan.

Languages#

The menus follow the game language (English, Czech, German, Polish, Hungarian, Italian, Spanish, French and Portuguese, plus Thai). Thai is available for every DayzHUB mod: set "language": "th" in <profiles>\DayzHUB\DHUB_Core\Config\Settings.json and restart the server.

FAQ and troubleshooting#

The ghost is red
the spot is blocked (a wall, a car, another bench) or the ground is too steep. Aim at open, flat ground.
No "Access workbench" action
stand closer (1.3 m) and look at the bench. Check that the player runs @DayzHUB_CraftBench and the server runs @DayzHUB_CraftBenchServer with a licence.
NO POWER
attach a generator that has fuel and is running (pick the generator up, look at the bench and press F: Attach generator).
NEEDS TOOL
the recipe needs a tool on the pegboard. Put your hammer, pliers, wrench or screwdriver into the bench slots.
A recipe is missing
it may be hidden until bought, or not part of the profile of this bench.
Where did my result go
Into the storage of the bench. If that is full: into your inventory when you are near, otherwise onto the ground.
I cannot dismantle the bench
empty the storage, take the tools off the pegboard, and finish or cancel the queue. You need pliers or a hammer in your hands.
I cannot build another bench
you reached maxPlayerBenches.
Everything is paused
the licence is not confirmed. Add the IP and game port of the server in My mods on dayzhub.net.
Buying says there is no money source
without DayzHUB Banking, LB or Expansion, list your cash items in currencyItems in Settings.json (or in DHUB_Core\Config\Currencies.json) and press Reload.
I edited a file by hand
press Reload in the admin page and look for [WARN] or [ERROR] lines in the logs.

Compatibility#

DayZ 1.30. Tested together with DayZ Expansion, LBmaster and TB mods, the DayzHUB Console agent and the other DayzHUB mods.

Support: dayzhub.net and the DayzHUB Discord.

Settings explorer#

Every setting of this mod in one list. Type to narrow it down. Click a name to copy it.

Settings.json
on

Switches CraftBench on or off (needs a restart)

5

Crafts one bench can hold in its queue (1-5)

3

Crafts one player may have queued on one bench

1.0

0.1-10. 1.0 = the recipe time, 2.0 = twice as fast

owner (group with LB Groups)

Who may use the storage of a player bench: owner, group (owner + LB group) or anyone. The default is owner; with LB Groups loaded the file is written with group

1

0.5-1.0 of the model size

1

Benches one player may build (0 = no limit)

2

Condition a pegboard tool loses per craft

20

Default millilitres of extra fuel the generator burns per minute of crafting (0-1000), for any generator that powers a bench, vanilla or DayzHUB. 0 = only the normal generator burn. A recipe with its own Fuel in the recipe editor burns that amount per craft instead

off

Off: a player bench can only be dismantled. On: it can be destroyed; its storage and parts drop, nothing is lost

on

Show admin benches on the LB map (only with LB Advanced Groups)

off

Ask the Console to kick a player who floods the server with requests

auto (bank, cash, lb)

The order of the money sources for priced recipes. Default auto = the DayzHUB Banking account first when it is installed, then cash, then the LB bank. Set your own order: cash (cash only), bank (bank only), cash,bank (cash first) or bank,cash (bank first). An order you set yourself stays as it is. The CraftBench link is built into DayzHUB Banking: nothing extra to load

empty

Sign before a price. Empty = the sign of the money source

empty

Your own list of cash items (class and value of ONE unit); wins over every other source. A value above the allowed maximum is left out with a warning in the log, like the other cash sources. Each entry: cls, value, depositableOnly; an entry without cls or with a value below 1 is dropped. File only: not in the DayzHUB Console

empty

Vanilla hand crafts (class names) that may only be done at a bench

Check your settings file#

Paste a settings file. The checker finds JSON mistakes, keys it does not know (with a suggestion for typos), values of the wrong kind and numbers outside the documented range. It runs in your browser: nothing is uploaded.

Settings.json

Something missing or wrong on this page? Tell us in the DayzHUB Discord and we fix it.

DayZ Hub

Cookie 設定

選擇是否允許 DayZ Hub 使用我們無 Cookie 的統計功能記錄你的造訪。你可以隨時更改。

必要 Cookie用於登入、安全性、你的語言設定以及儲存此選擇。
一律啟用
統計 — Plausible在不使用 Cookie、不收集個人資料的情況下統計網頁造訪次數,協助我們改善 DayZ Hub。