Installation

Follow these steps to install this resource to your server.

  1. Ensure you have all dependencies installed.

  2. Extract the resource.

  3. Configure the resource to your liking. (See Configuration for help)

  4. Add the items to the resource of your choice using the guide below.

  5. Place the extracted resource in your resources directory.

  6. Add ensure gfg_mining to your server.cfg after the dependencies.

  7. 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

  1. Navigate to ox_inventory/data/items.lua

  2. Somewhere in your item list, add the entry below for each raw resource item you'd like to have.

  3. Make sure the item name matches the itemName in the Config.RockOptions.rewards and the refinedFrom in the Config.RefiningOptions.refinedItems

["rawstone"] = {label = "Raw Stone", weight = 1000, stack = true, description = "Some Raw Stone"},

Adding Refined Resources

  1. Navigate to ox_inventory/data/items.lua

  2. Somewhere in your item list, add the entry below for each refined resource item you'd like to have.

  3. Make sure the item name matches the itemName in the Config.RefiningOptions.refinedItems

["refinedstone"] = {label = "Refined Stone", weight = 1000, stack = true, description = "Some Refined Stone"},

Last updated