Skip to content
Documentation
R_Gravedigging

r_gravedigging Installation

Install r_gravedigging: download it from the Cfx.re Portal, add the items and ensure it after ox_lib and ESX, QBCore or QBX.

Prerequisites

  • ox_lib
  • ESX, QBCore or QBX
  • OneSync
  • Game build 2699 or newer (the metal detector)
  • Optional: ox_target or qb-target, a dispatch script

Installation Steps

Download & Extract

  1. Download R_Gravedigging from your Cfx.re Portal
  2. Extract the folder into your server's resources directory
  3. Make sure the folder is named exactly r_gravedigging
  • r_gravedigging
    • assetsitems and their images
      • bridgeopen: prompt, bars and custom target
        • cl_bridge.luanotify, phone tips
        • cl_meters.luaR.Meters = 'custom'
        • cl_target.luaR.Target = 'custom'
        • cl_textui.luaR.TextUI = 'custom'
      • client
        • cl_custom.luadispatch alerts
      • localesen, fi
        • server
          • sv_custom.luaDiscord webhook, lb-tablet
        • shared
          • config.luaevery setting
          • config_graves.luacemeteries and graves
        • streamthe Hill Valley open graves map
          • fxmanifest.lua

        Add the items

        Copy the entries from assets/ox_inventory_items.lua into ox_inventory/data/items.lua, and the images from assets/images/ into ox_inventory/web/images/. For QBCore or ESX, add the same nine items in your inventory's own format.

        shovel, gold_tooth, old_coin, wedding_ring, pocket_watch, pearl_necklace, diamond_earrings, diamond_ring, diamond

        The metal detector is GTA's WEAPON_METALDETECTOR. ox_inventory already has it.

        Add to server.cfg

        Put it after ox_lib, your framework, inventory and target:

        ensure ox_lib
        ensure qbx_core
        ensure ox_inventory
        ensure ox_target
        ensure r_gravedigging

        Language (optional, default English):

        setr ox:locale "en"   # en | fi

        Discord logs (optional)

        Paste your webhook into WEBHOOK at the top of server/sv_custom.lua, or set R.Logs.type = 'ox_lib'.

        Restart & connect

        The open graves are a map that replaces the Hill Valley ground, so restart the server and reconnect the first time. A live restart of the resource can leave the ground missing until you rejoin.

        Get a shovel, go to the Hill Valley Cemetery blip at night and walk up to a big headstone.

        The open graves change the Hill Valley ground. If you already run another Hill Valley map or a cemetery MLO, test them together first, and ask us on Discord if the ground looks wrong.

        Updates

        The console tells you when a new version is out. Download it from the Cfx.re Portal and replace the folder, keeping your shared/ configs, bridge/, client/cl_custom.lua, server/sv_custom.lua and locales.

        Keep the folder name r_gravedigging and don't change author in fxmanifest.lua, or the update check stops.

        Next Steps