Stations
Stations are the physical crafting locations in your server. Each station type has its own model, recipes, and optional restrictions.
Defining Station Types
Station types are defined in Config.StationTypes:
Config.StationTypes = {
['workbench'] = {
label = 'Workbench',
model = 'prop_toolchest_05',
recipes = { 'lockpick_advanced', 'radio', 'repairkit' },
jobs = nil, -- nil = anyone can access
gangs = nil, -- nil = no gang restriction
},
['medical'] = {
label = 'Medical Station',
model = 'prop_medstation_01',
recipes = { 'bandage', 'firstaid', 'medkit' },
jobs = { 'ambulance', 'doctor' }, -- Only EMS can use
},
['weapons'] = {
label = 'Weapons Bench',
model = 'gr_prop_gr_bench_03a',
recipes = { 'weapon_pistol', 'ammo_pistol' },
jobs = nil,
gangs = { 'ballas', 'vagos' }, -- Only these gangs
},
}
Station Options
| Option | Type | Description |
|---|---|---|
label | string | Display name shown in UI |
model | string | GTA V prop model name |
recipes | table | List of recipe IDs available |
jobs | table/nil | Jobs that can access (nil = all) |
gangs | table/nil | Gangs that can access (nil = all) |
zOffset | number | Vertical offset to fix floating |
Popular Model Names
| Model | Description |
|---|---|
prop_toolchest_05 | Industrial tool chest |
prop_tool_bench02 | Work bench with tools |
prop_tablesaw_01 | Table saw |
gr_prop_gr_bench_03a | Gunrunning weapons bench |
v_ret_ml_tablea | Metal table |
v_ret_fh_kitchtable | Kitchen table |
prop_medstation_01 | Medical station |
Placing Stations
Via Admin Menu
- Run
/craftadmin - Go to Stations tab
- Select a station type from dropdown
- Click Place Station
- Use gizmo to position
- Press Enter to confirm
Via Config (Pre-placed)
You can also pre-define station locations in your database. The admin menu automatically saves all placed stations.
Removing Stations
- Open
/craftadmin - Find the station in the list
- Click the trash icon
- Confirm removal
caution
Removing a station will cancel all active crafts at that station!
Fixing Floating Stations
Some prop models have weird origin points and may appear to float. All stations now automatically snap to ground when spawning.
If you still have issues, you can add a manual zOffset:
['drugs'] = {
label = 'Drug Lab',
model = 'v_ret_ml_tablea',
zOffset = -0.5, -- Lower by 0.5 units
recipes = { 'joint', 'meth' },
},
Job/Gang Restrictions
Job-Only Station
['police_bench'] = {
label = 'Police Workbench',
model = 'prop_tool_bench02',
recipes = { 'handcuffs', 'taser' },
jobs = { 'police', 'sheriff' },
},
Gang-Only Station
['gang_bench'] = {
label = 'Gang Hideout',
model = 'prop_tool_bench02',
recipes = { 'drugs', 'weapon_pistol' },
gangs = { 'ballas', 'grove' },
},
Combined Restrictions
If both jobs and gangs are set, players need to match either (not both):
['shared_bench'] = {
label = 'Shared Workbench',
model = 'prop_tool_bench02',
recipes = { 'lockpick' },
jobs = { 'mechanic' },
gangs = { 'vagos' },
-- Mechanics OR Vagos can access
},