Installation and Configuration
Installation
- Unzip the
k_crafting.zipfile - Drag the unzipped folder into a new folder called
[ks] - Move the new
[ks]folder into your server'sresourcesfolder - Inside your
server.cfg, add a new line after all your other resources have already started:
ensure [ks]Now, navigate into the k_crafting folder and locate the ReadMe.md file and open it up. Make sure to read its contents and follow instructions.
ox_inventory
There is no specific items to bring into ox_inventory but if you're looking to have some of your items be crafted via this script, make sure to have them in format(s) shown in the examples below:
-- Example below shows having a regular item that can be crafted.
['lockpick'] = {
label = 'Lockpick',
description = 'Can be used to open locks',
weight = 160,
consume = 0.20,
decay = true,
client = {
event = 'lockpick:use'
}
},
-- Or another example
['pistol_suppressor'] = {
label = 'Pistol Suppressor',
weight = 35,
stack = false,
},
--Now if you needed blueprints for them, see examples below for blueprints.
['blueprint_lockpick'] = {
label = 'Lockpick Blueprint',
description = 'Shows you how to make a lockpick.',
weight = 200,
decay = true,
unique = true,
stack = false,
client = { metadata = { durability = 100.0 } } -- must keep this (so when you get it, it has durability at 100%)
},
['blueprint_pistol_suppressor'] = {
label = 'Basic Pistol Suppressor Blueprint',
description = 'Build your own basic pistol suppressor.',
weight = 200,
decay = true,
unique = true,
stack = false,
client = { metadata = { durability = 100.0 } }
},
Make sure you go through the README.md file.
Configuration
First thing you will find that is pretty important is the first few lines in the config.lua. These will control wether or not you see the debug zones, enable/disable crafting for the server, grant xp or not and if you want to enforce level requirement for crafting.

The rest of the config files make sure to read the comments and follow the structure for the sections where you'd like to add a new table/prop/location or even enforce job requirements.
If you have any questions you can always reach out to us.