Configuration
Detailed explanation for global settings, bench setup, item set mapping, recipes, and weapon component configuration
This script has three real configuration areas:
config.luaescrow/bench/config.luaescrow/craft/config.lua
Some builds may also use:
data/in_game_benches.json
If you remember only one rule, remember this:
config.lua= level system, money settings, debug, image pathescrow/bench/config.lua= where benches are, what object they use, and who can access themescrow/craft/config.lua= what can be crafted, what ingredients it needs, and which item sets belong to which benches
Quick Answers
Change item image path:
config.lua->Config.InventoryImagesFolderChange level system or XP table:
config.lua->Config.LevelSystemandConfig.LevelsChange money handling:
config.lua->Config.MoneyAdd, move, disable, or restrict a bench:
escrow/bench/config.luaChange which recipes a bench shows:
escrow/bench/config.lua->itemSetKeyandescrow/craft/config.lua->CRAFT_BENCH_ITEM_SETSChange one recipe or ingredient list:
escrow/craft/config.lua->CRAFTABLE_ITEMSChange supported weapon components:
escrow/craft/config.lua->WEAPON_COMPONENTSRemove the default Camp Fire bench:
escrow/bench/config.lua
What Is Inside config.lua?
The real source file controls:
Config.InventoryImagesFolderConfig.LevelSystemConfig.LevelsConfig.MoneyConfig.debug
This file is for system-wide behavior, not for bench locations or recipe lists.
What Is Inside escrow/bench/config.lua?
This file controls bench placement and access. Real source sections include:
targetableModelsblipOptionscommands.adminMenumakePedInvisibleOnBenchUsebenches
Real source examples include benches such as:
Police Bench
Ballas Bench
Camp Fire
Each bench entry can define:
activelabelbliplocationobjectModelitemSetKeygroupsjobgang
How Do I Add Or Edit A Bench?
Open:
Then edit or add a bench entry under:
This is where you change:
bench label
coordinates
object model
blip state
job or gang restriction
recipe set shown on that bench
How Do I Restrict A Bench To One Job Or Gang?
Use the bench entry fields:
groupsjobgang
If a bench is visible but not usable by the correct players, this is the first file to inspect.
What Is Inside escrow/craft/config.lua?
This file controls the actual crafting data. Real source sections include:
CRAFTABLE_ITEMSCRAFT_BENCH_ITEM_SETSWEAPON_BONESWEAPON_COMPONENTS
That means this file is where you change:
recipe ingredients
crafted outputs
craft duration
reward XP
required craft level
which items belong to each bench item set
supported attachment or component logic
How Do Bench Item Sets Work?
This is the part many server owners miss:
the bench uses
itemSetKeythe recipes shown on that bench come from
CRAFT_BENCH_ITEM_SETS
So if you add a recipe and it does not appear on the bench, check both:
did you add or keep the recipe inside
CRAFTABLE_ITEMS?did you place that recipe inside the correct item set inside
CRAFT_BENCH_ITEM_SETS?does the bench use the same
itemSetKey?
If one of those three does not match, the recipe will not show on the bench.
What About Weapon Components?
The real source includes weapon attachment and component logic in:
If your attachment recipes do not work, check both sides:
the component recipe item exists in your inventory
the weapon component mapping exists in
WEAPON_COMPONENTS
What About The Camp Fire Bench?
The default source includes a Camp Fire bench with:
If your server does not have that object, do not keep debugging recipes first. Disable or replace the bench object in escrow/bench/config.lua.
If Your Changes Do Not Apply
Check these in order:
Did you edit
config.lua,escrow/bench/config.lua, orescrow/craft/config.luain the correct place?Did you restart
0r-craft-v2after the change?Did you change the recipe in
CRAFTABLE_ITEMSbut forget to add it to the rightCRAFT_BENCH_ITEM_SETSentry?Did you change the recipe set but forget the bench
itemSetKey?Is the problem actually the bench object model, not the recipe?
Last updated