Retro Goldpanning
Nothing happens when I use the Gold Pan
Section titled โNothing happens when I use the Gold PanโCheck the server console when the resource starts.
The resource prints the detected framework and inventory. If detection is incorrect, set them manually:
Config.Framework = 'qb'Config.Inventory = 'ox'Also make sure the Gold Pan is registered as a usable item.
I get โGet closer to the waterโ
Section titled โI get โGet closer to the waterโโThe player must face a valid water surface within the configured probe distance.
Check:
Config.WaterYou can disable the requirement:
Config.Water.required = falseI get โYou canโt pan for gold hereโ
Section titled โI get โYou canโt pan for gold hereโโThe player must be inside an enabled gold zone.
Open:
/goldzonesEnable Show Zones and verify:
- The polygon covers the shoreline where the player stands
- The zone is enabled
- The zone height and depth include the player
The zone should cover the ground where players stand, not only the water.
How do I create a gold zone?
Section titled โHow do I create a gold zone?โRun:
/goldzonesCreate a new zone and select Draw.
Controls:
| Key | Action |
|---|---|
| E | Add point |
| G | Remove last point |
| Mouse Wheel | Adjust top height |
| Shift + Mouse Wheel | Adjust bottom depth |
| Enter | Finish |
| X | Cancel |
Configure the zone name, chance multiplier and find pools before saving.
What does the zone multiplier do?
Section titled โWhat does the zone multiplier do?โThe zone multiplier changes the configured chance of every find.
For example, a zone multiplier of:
2.0doubles the base find chances.
What happens when a zone pool is empty?
Section titled โWhat happens when a zone pool is empty?โEach find has its own pool.
If only the gold pool is empty, other finds can still be rolled.
When all limited pools are depleted:
Config.Depletion.blockDip = falseallows players to continue dipping, but depleted finds are no longer awarded.
With:
Config.Depletion.blockDip = truenew dips are blocked when all configured pools are empty.
Do zone pools reset after a server restart?
Section titled โDo zone pools reset after a server restart?โNo.
Zone depletion statistics are persisted.
The reset interval is controlled by:
Config.Depletion.resetHoursAdmins can also manually refill a zone from the zone panel.
The pan is not positioned correctly in the playerโs hands
Section titled โThe pan is not positioned correctly in the playerโs handsโEnable:
Config.Debug = trueStart panning and run:
/gptuneAdjust the pan live.
Run the command again to print the final values to the F8 console and copy them into config.lua.
The camera position is not right
Section titled โThe camera position is not rightโEnable debug mode and use:
/gptune camThe available controls allow you to tune the configured camera values live.
The highbanker cannot be placed
Section titled โThe highbanker cannot be placedโCheck:
Config.RigPlacement can fail because of:
- No valid gold zone nearby
- Too far outside
zoneMargin - Too close to another highbanker
- Terrain too steep
- Water too deep
- Placement is too far from the player
- Per-player highbanker limit reached
- A custom
Editable.CanPlaceServerrestriction
The placement preview displays whether the current location is valid.
The pump cannot be placed
Section titled โThe pump cannot be placedโThe pump must meet the configured placement rules.
Important settings:
Config.Rig.hoseLengthConfig.Rig.pumpSuctionLengthConfig.Rig.maxWaterDepthConfig.Rig.maxSlopeThe pump discharge side must be close enough to the machine and the suction side must be able to reach water.
The hose will not connect
Section titled โThe hose will not connectโMake sure:
- You started the hose interaction from the highbanker
- The pump is within
Config.Rig.hoseLength - You are attaching it to the correct pump
- You did not walk beyond the allowed hose distance
If the player moves too far while carrying the hose, it returns to the machine.
The highbanker is not processing buckets
Section titled โThe highbanker is not processing bucketsโUse Check Status on the machine.
Typical reasons include:
- Pump is not connected
- Pump is off
- Machine is off
- Fuel is empty when fuel mode is enabled
- Hopper is empty
- Collection mat reached
maxGoldOnMat - Required setup is incomplete
I cannot pick up the highbanker
Section titled โI cannot pick up the highbankerโOnly the owner can pick up placed equipment.
Before picking up the machine:
- Pick up or disconnect the pump as required
- Disconnect the hose
- Collect finds from the mat
- Empty the stash when your inventory integration requires it
Buckets still waiting in the hopper are lost when the machine is removed.
The highbanker stash does not work
Section titled โThe highbanker stash does not workโNative stash support depends on the configured inventory.
For a custom inventory or ESX default inventory, implement:
Editable.Inventory.OpenStashinside:
editable/server.luaOptionally implement:
Editable.Inventory.StashCountto prevent pickup while items remain in the stash.
The work light cannot be placed
Section titled โThe work light cannot be placedโCheck:
Config.LightBy default the light must be inside a gold zone or within the configured zone margin.
Placement rules also use relevant highbanker placement restrictions.
The work light is not turned on during the day
Section titled โThe work light is not turned on during the dayโThis is intended.
The work light is designed for nighttime use and its GTA spotlight becomes active at night.
Turn the light toward the area you want to illuminate before placing it.
No target options appear
Section titled โNo target options appearโIf using:
Config.Interaction = 'target'verify:
Config.Targetand make sure your target resource starts before rs_goldpanning.
Supported built-in target integrations are ox_target and qb-target.
For another resource, use the custom target bridge.
The floating interaction prompt does not appear
Section titled โThe floating interaction prompt does not appearโFor the built-in system, use:
Config.Interaction = 'dui'Stand close enough to the relevant interaction point.
Prompt distance is controlled by:
Config.Dui.distanceBuyer prices keep changing
Section titled โBuyer prices keep changingโCheck:
Config.Sell.price.modeModes:
fixed- always usesfixedrandom- random price on every salemarket- each buyer has a market price that refreshes periodically
Market refresh timing is controlled by:
Config.Sell.price.marketHoursA player cannot sell more items
Section titled โA player cannot sell more itemsโThe configured sale limit may have been reached.
Check:
Config.Sell.itemsConfig.Sell.limitEach item can have its own limit.
A limit of:
0means unlimited.
Buyer orders did not refresh after restart
Section titled โBuyer orders did not refresh after restartโThis is intended.
Orders are persisted and do not reroll simply because the server restarts.
They refresh according to:
Config.Sell.orders.refreshHoursAn admin can reset a playerโs orders with:
/goldorders <player id>How do I reset a playerโs prospector level?
Section titled โHow do I reset a playerโs prospector level?โUse:
/goldlevel <player id> <level>The playerโs XP is moved to the beginning of the specified level.
The admin command says I do not have permission
Section titled โThe admin command says I do not have permissionโCheck:
Config.AdminThe resource supports:
- Framework group
- ACE
- Discord ID
- Custom permission check
Admin access is granted if any enabled method succeeds.
How do I use ACE permissions?
Section titled โHow do I use ACE permissions?โSet:
Config.Admin.ace = 'rs_goldpanning.admin'Then add to server.cfg:
add_ace group.admin rs_goldpanning.admin allowHow do I use Discord IDs for admin permissions?
Section titled โHow do I use Discord IDs for admin permissions?โEnable:
Config.Admin.discord = trueThen add IDs to:
Editable.AdminDiscordIdsinside:
editable/server.luaCan I restrict panning to a specific job?
Section titled โCan I restrict panning to a specific job?โYes.
For immediate client-side feedback, use:
Editable.CanStart()For the actual secure server-side restriction, also use:
Editable.CanStartServer(source)Important restrictions should always be validated server-side.
Can I restrict placement by job or custom area?
Section titled โCan I restrict placement by job or custom area?โYes.
Use:
Editable.CanPlaceServer(source, kind, coords)inside editable/server.lua.
Can I use my own notification resource?
Section titled โCan I use my own notification resource?โYes.
Edit:
Editable.Notifyinside:
editable/client.luaCan I use my own progress bar?
Section titled โCan I use my own progress bar?โYes.
Set:
Config.ProgressUI = 'custom'and implement the custom backend in:
editable/progress.luaCan I add another language?
Section titled โCan I add another language?โYes.
Copy:
locales/en.jsonrename it, translate the values and set:
Config.Locale = 'your_locale'Do not change the JSON keys.
Other ropes on the server look like the gold panning hose
Section titled โOther ropes on the server look like the gold panning hoseโThe resource includes a custom:
stream/rope.ytdto make GTA rope look like the highbanker hose while used by the script.
This can affect other nearby systems that also use GTA rope textures.
If you prefer the default rope appearance, remove the custom rope texture. The highbanker hose will then use the standard dark rope appearance.
Can I use MySQL instead of JSON?
Section titled โCan I use MySQL instead of JSON?โYes.
Set:
Config.Storage = 'mysql'Make sure oxmysql is running before the resource.
The required tables are created automatically.
Does the resource require ox_lib?
Section titled โDoes the resource require ox_lib?โNo.
ox_lib is optional.
The resource includes fallback notifications and built-in UI systems. ox_lib can be used when you want its notification, TextUI or progress features.