Custom Inventory
Learn how to add and configure custom inventories.
Learn how to add and configure custom inventories.
If you are using a custom inventory system and want to integrate it with the Crafting resource, follow these steps to set it up.
Locate the Inventory Files
Navigate to the src/inventories folder inside the resource directory.
Create a Custom Inventory File
Copy one of the existing inventory files (e.g., qb.lua or ox.lua) and rename it to match your inventory system's name.
Modify the Functions Open the newly created file and update the functions to work with your inventory system's API and event structure.
Set the Inventory in Configuration
In the config.lua file, set the Inventory value to your custom inventory's name:
Restart the Resource Save all changes and restart the Crafting resource on your server.
For additional help, contact us on our Discord server.