FAQ / Troubleshooting
Q: The script canβt detect ESX/QB. A: Ensure
es_extended
orqb-core
is started before this resource. If auto-detection fails, setConfig.Framework
to"esx"
or"qb"
.Q: Players canβt digβkeeps saying βYou do not have a shovel.β A: Check that the
shovel
item name is correct in your database and script referencesConfig.Upgrades["shovel"].item
properly. Also confirm the player actually has that item in inventory.Q: Battery or radius upgrades do nothing A: Make sure your client logic references
Config.Upgrades["max_battery"]
or"radius"
levels.Q: Scoreboard doesnβt update A: The script calls a scoreboard refresh event when a new item is discovered. Confirm your server logs for errors if the scoreboard fails to refresh. Also, ensure
data.json
is writeable if itβs storing scoreboard data.Q: The metal detector canβt be used in certain areas A: The script might check for surfaces or ground presence. If
getSurface()
logic or your allowlist doesnβt include the ground type, it might block usage in that area.
Last updated