Retro Goldpanning
All primary settings are located in:
config.luaThe file is already commented and can be edited without modifying the protected core.
General
Section titled โGeneralโConfig.Locale = 'en'Config.Debug = falseConfig.Locale selects the JSON file inside locales/.
Config.Debug enables additional debugging information and the /gptune tuning command.
Framework
Section titled โFrameworkโConfig.Framework = 'auto'Available values:
autoesxqbqbxcustomUse custom together with editable/server.lua.
Inventory
Section titled โInventoryโConfig.Inventory = 'auto'Available values:
autooxqbqscodemtgianncoreframeworkcustomqb also covers compatible qb/ps/lj inventory setups.
framework uses the frameworkโs own item functions.
Storage
Section titled โStorageโConfig.Storage = 'json'Available values:
jsonmysqlDefault MySQL table names are defined in:
Config.MySQLTablesConfig.Items = { pan = 'gold_pan', rock = 'river_rock',}Highbanker-related item names are configured separately under:
Config.Rig.itemsThe work light item is configured under:
Config.Light.itemFinds are configured in:
Config.Loot.findsExample:
{ item = 'gold_nugget', prop = 'prop_gm_gold_nugget', chance = 0.06, rolls = 3, pool = 150}Inventory item rewarded to the player.
Model displayed inside the pan or highbanker mat.
Chance per roll from 0.0 to 1.0.
Number of independent attempts made for this find.
Default amount available in a newly created gold zone during one depletion period.
0 means unlimited.
Global pan settings:
Config.Loot.rocksConfig.Loot.maxFindsRock Reward
Section titled โRock RewardโBy default, rocks washed out of the pan are visual only.
To give players a rock item:
Config.RockReward.enabled = trueConfigure:
chanceminmaxCrowd Penalty
Section titled โCrowd PenaltyโConfig.Crowd = { enabled = true, freePlayers = 2, penaltyPerPlayer = 0.15, minFactor = 0.35,}The first freePlayers active panners receive the full chance.
Each additional active player lowers the zone chance until minFactor is reached.
Zone Depletion
Section titled โZone DepletionโConfig.Depletion = { resetHours = 24, blockDip = false,}resetHours controls when zone pools reset.
blockDip = true prevents dipping when every configured pool is empty.
With false, players may continue washing but only receive non-depleted results such as rocks.
New Zone Defaults
Section titled โNew Zone DefaultsโConfig.ZoneDefaults = { multiplier = 1.0, heightAbove = 6.0, depthBelow = 4.0,}These values are applied when a new zone is created.
Pan Durability
Section titled โPan DurabilityโConfig.Durability.enabled = falseDurability is supported by inventories with item metadata support such as ox, qb/ps/lj and qs.
Important values:
maxperWashkeykey = 'auto' automatically uses the expected metadata key for supported inventories.
Water Detection
Section titled โWater DetectionโConfig.Water = { required = true, forward = 1.1, up = 1.0, down = 3.0,}When enabled, a water surface must be detected in front of the player before panning can start.
Cooldown and Session Timeout
Section titled โCooldown and Session TimeoutโConfig.Cooldown = 2Config.IdleTimeout = 120Config.Cooldown is the minimum delay between dips.
The cooldown is server-side and is not reset by closing and reopening a panning session.
Config.IdleTimeout closes inactive panning sessions after the configured number of seconds.
Set it to 0 to disable timeout.
Shaking
Section titled โShakingโConfig.ShakeImportant settings:
sensitivity- mouse movement sensitivitysmoothing- how quickly the pan follows the cursormaxOffset- maximum pan movementmaxTilt- maximum tilt anglespring- strength returning the pan to centerdamping- movement dampingdistance- total movement required to wash the rocksminDuration- minimum validated wash timesyncRate- movement updates sent to nearby players
Controls
Section titled โControlsโConfig.KeysDefault controls:
| Action | Key |
|---|---|
| Dip / interact | E |
| Shake / pick | Left Mouse Button |
| Cancel | X |
| Camera | V |
FiveM control IDs can be changed directly in the config.
Hint UI
Section titled โHint UIโConfig.HintUI = 'original'Available modes:
originaloxcustomFor a custom implementation, edit:
editable/client.luaProgress UI
Section titled โProgress UIโConfig.ProgressUI = 'original'Available modes:
originaloxqbcustomCustom progress behavior can be added in:
editable/progress.luaInteraction
Section titled โInteractionโConfig.Interaction = 'dui'Available modes:
duitarget
For target mode:
Config.Target = 'auto'Available target options:
autooxqbcustomBuilt-in floating prompt values are under:
Config.DuiConfig.CameraModes:
firstpersonscriptedfirstperson uses GTAโs first-person view looking down toward the pan.
scripted uses the configured camera offset and field of view.
When debug mode is enabled, /gptune cam can be used for live camera adjustment.
Animations and Props
Section titled โAnimations and PropsโAnimation configuration:
Config.AnimPan and content positioning:
Config.PropsThis controls:
- Pan model
- Nugget model
- Rock model
- Dirt model
- Bone
- Position and rotation
- Hand fitting
- Arm IK
- Dip position and depth
With:
Config.Debug = trueuse:
/gptuneto adjust pan placement live.
Visual Effects and Sync
Section titled โVisual Effects and SyncโWater splash:
Config.EffectsNearby player synchronization:
Config.Sync.distanceHighbanker
Section titled โHighbankerโAll highbanker settings are inside:
Config.RigConfig.Rig.itemsDefault:
gold_highbankergold_pumpgold_bucketConfig.Rig.modelsDefines the machine, water effect, pump, suction and bucket models.
Config.Rig.access = 'owner'Available values:
owner- only the owner can operate the setupeveryone- everyone can use it, but only the owner can pick it up
Placement
Section titled โPlacementโImportant values:
maxPerPlayerzoneMarginminSpacingmaxSlopemaxWaterDepthplaceDistancehoseLengthpumpSuctionLengthrenderDistanceinteractDistanceHopper and Processing
Section titled โHopper and ProcessingโhopperCapacityprocessTimemaxGoldOnMatThe machine pauses when the collection mat reaches maxGoldOnMat.
Highbanker Loot
Section titled โHighbanker LootโConfig.Rig.lootHighbankers use the same configured finds, zone multipliers, crowd factor and depletion pools as manual panning.
rollMultiplier increases the number of find rolls per processed bucket.
Config.Rig.stashConfigure:
enabledslotsweightEach machine uses a unique stash ID:
gp_rig_<rig id>Fuel is disabled by default.
Config.Rig.fuel.enabled = falseWhen enabled, configure:
itemsecondsPerItemmaxConfig.Rig.bucketControls:
- Fill time
- Pour time
- Carry animation
- Fill animation
- Bucket prop position
- Pour movement and grip points
Config.Rig.hoseControls the machine-to-pump hose, including:
- Coupling model
- Rope type
- Slack
- Attachment points
- Hand position
- Custom hose texture
Work Light
Section titled โWork LightโConfig.LightImportant settings:
itemmodelmaxPerPlayerminSpacingzoneOnlyzoneMarginPlacement distance, slope, water depth and render distance use the relevant highbanker placement configuration.
Selling
Section titled โSellingโBuyer and economy settings are under:
Config.SellSellable Items
Section titled โSellable ItemsโConfig.Sell.itemsEach item can define:
itemfixedminmaxlimitxpPrice Mode
Section titled โPrice ModeโConfig.Sell.price.mode = 'market'Available modes:
fixedrandommarket
market creates a price of the day for each buyer and item.
Configure refresh timing with:
Config.Sell.price.marketHoursPayment
Section titled โPaymentโConfig.Sell.payment.type = 'cash'Supported types:
cashbankitemSale Limits
Section titled โSale LimitsโConfig.Sell.limitScopes:
charactercharacter_buyerbuyer
Sale limits use a rolling time window and persist across restarts.
Add or remove buyer locations in:
Config.Sell.locationsExample:
{ label = 'Hank the Assayer', coords = vector4(-1194.97, 4408.45, 6.73, 221.19)}A buyer may also override individual item prices.
Config.Sell.ordersConfigure:
- Enabled state
- Maximum active orders
- Refresh period
- Available order list
Every order requires a unique id.
Orders can define required items, reward money, XP and minimum prospector level.
Gear Shop
Section titled โGear ShopโConfig.Sell.shopConfigure:
- Payment method
- Available equipment
- Price
- Required level
Prospector Levels
Section titled โProspector LevelsโConfig.LevelSelling items and completing orders grants XP.
Example:
{ xp = 400, bonus = 0.10 }This level begins at 400 total XP and gives a 10% selling price bonus.
shopLevel controls when the buyer gear shop becomes available.
Config.AdminAdmin access is granted when any enabled permission method passes.
Supported methods:
- Framework groups
- ACE
- Discord IDs
- Custom server check
Default commands:
/goldzones/goldlevel/goldordersOptional gold zone blips:
Config.BlipsBuyer blips are configured separately under:
Config.Sell.blip