Installation
Follow these steps to install this resource to your server.
Ensure you have all dependencies installed.
Extract the resource.
Configure the resource to your liking. (See Configuration for help)
Add the items to the resource of your choice using the guide below.
Place the extracted resource in your
resources
directory.Add
ensure gfg_mining
to yourserver.cfg
after the dependencies.Restart your server.
If you are using the default raw and refined resource items included in the config, you can check out the inventory folder for images and code snippets for ox and qb.
Adding Raw Resources
Navigate to
ox_inventory/data/items.lua
Somewhere in your item list, add the entry below for each raw resource item you'd like to have.
Make sure the item name matches the
itemName
in theConfig.RockOptions.rewards
and therefinedFrom
in theConfig.RefiningOptions.refinedItems
Adding Refined Resources
Navigate to
ox_inventory/data/items.lua
Somewhere in your item list, add the entry below for each refined resource item you'd like to have.
Make sure the item name matches the
itemName
in theConfig.RefiningOptions.refinedItems
Last updated