Configuration
Below is a table summarizing each Config setting. If you need more detail, see the example code snippet that follows.
Config.Framework
Determines which framework to use. Accepted values: auto
, esx
, or qb
.
"auto"
Config.Target
Enables/disables a target-based system for interacting with crafting stations.
false
Config.Language
Sets the default language for in-game messages (e.g., "
en
"
, "
de
"
, "
sp
"
, "
fr
"
).
"en"
Config.WeaponAsItem
If using actual item-based weapons (instead of the weapon wheel), set to true
; otherwise false
.
false
Config.showDebug
Enables debug logs when true
; useful for development or troubleshooting.
false
Crafting Stations
(Below are just highlightsβexpand as needed.)
Config.CraftingStations
A table defining multiple crafting stations. Each station can have its own npc
, location
, items
, etc
(See code below)
β
theme
The visual or thematic style for each station (e.g., "
metal
"
, "
wood
"
).
"metal"
β
location
Coordinates (and heading) for placing NPCs, blips, and props.
vec4(x, y, z, h)
β
blip.enable
Enables a map blip for this station.
true
β
prop.model
Which prop (e.g., a workbench) to spawn.
"prop_tool_bench02_ld"
β
items
Items or weapons craftable at this station, each with its own time, requirements, etc.
(See code below)
Locales
A table of translated messages. Extend or edit language keys as needed (English, German, Spanish, French by default).
(See code below)
Last updated