๐งฑPlaceable Crafting Tables Guideled
Placeable tables are crafting benches that players can place and interact with anywhere in the world. These are ideal for systems like portable weapon benches, temporary workstations, or black-market crafting setups.
This guide walks you through how to configure them, assign craftable items, and make them usable through inventory items.
๐ ๏ธ What Are Placeable Tables?
They are configured under:
Config.PlaceableTables
Each entry defines:
The name of the item that places the table
The prop model used
The list of items that can be crafted at the placed table
Once placed, players can interact with the bench, use the crafting UI, and then the table will despawn after a configurable amount of time (or stay forever if configured to do so).
๐ง How to Add a Placeable Table
Here's an example configuration:
Config.PlaceableTables = {
["table_weapon"] = { -- Item name used to place this table
Label = "Weapon Crafting Table",
BenchProp = "gr_prop_gr_bench_02a",
["Items"] = {
["WEAPON_PISTOL"] = {
Label = "Pistol",
DefaultQuantity = 1,
XPEnable = true,
Level = 1,
xpGain = 3,
UseBlueprint = true,
ShowOnList = false,
RemoveBlueprint = true,
BlueprintItem = "blueprint_pistol",
ConsumeDurability = 0,
["Material"] = {
["rubber"] = { Label = "Rubber", amount = 1 },
},
["Prop"] = {
model = "w_pi_pistol",
offset = vector3(1.3, 0.0, -0.3),
rotation = vector3(0, 0, 0)
}
}
}
}
}
๐งพ Step-by-Step Setup
1๏ธโฃ Create the Placeable Item
Make sure an item exists in your inventory system with the same name as the config key (e.g., table_weapon
). When used, it will spawn the bench.
You can name the item however you like:
table_weapon
,portable_bench
,crafting_kit
, etc.
๐ฆ If using ox_inventory or qs-inventory, make sure the item is properly registered in your
items.lua
or database with usable set to true.
2๏ธโฃ Set the Table Label and Model
Label
: The name shown to the player when interacting with the bench.BenchProp
: The model of the table that appears when placed.
3๏ธโฃ Assign Craftable Items
Just like PreSetTables
, each bench can have its own crafting recipes defined under ["Items"]
.
These support:
XP requirements
Blueprint usage
Item durability (if using ox_inventory)
Visual props shown on the table
4๏ธโฃ Configure Table Lifespan
Control how long a placed bench stays in the world:
Config.LifetimeofBench = 999999
This value is in seconds.
Use a high value to keep it indefinitely, or a lower value for realism (e.g., 600 for 10 minutes).
๐ฎ How Players Use It
Player obtains the crafting table item (e.g.,
table_weapon
)They use the item from their inventory
A crafting bench spawns in front of them
They can walk up and use the bench via target interaction
๐ง Tips
Combine placeable benches with black-market systems or reward crates
Restrict some benches to certain jobs or gangs by controlling who can receive the item
Perfect for immersive, mobile crafting mechanics in survival, gang, or RP server.
Last updated