Skip to content

Retro Goldpanning

The resource is split into protected core files and editable integration/configuration files.

  • Directoryrs_goldpanning/
    • Directorybridge/
      • Directoryframework/
        • โ€ฆ
      • Directoryinventory/
        • โ€ฆ
      • Directorytarget/
        • โ€ฆ
      • detect.lua
    • Directoryclient/
      • โ€ฆ
    • Directorydata/
      • โ€ฆ
    • Directoryeditable/
      • client.lua
      • progress.lua
      • server.lua
    • Directoryinstall/
      • Directoryimages/
        • โ€ฆ
    • Directorylocales/
      • en.json
      • tr.json
    • Directoryserver/
      • Directorystorage/
        • โ€ฆ
    • Directoryshared/
      • โ€ฆ
    • Directorystream/
      • โ€ฆ
    • Directoryweb/
      • Directorydist/
        • โ€ฆ
    • config.lua
    • fxmanifest.lua
    • README.md

The main configuration file.

Use it to configure:

  • Framework and inventory
  • Storage mode
  • Loot chances
  • Zone depletion
  • Panning gameplay
  • Controls
  • UI modes
  • Highbanker settings
  • Pump and hose behavior
  • Work lights
  • Buyers
  • Selling prices and limits
  • Orders
  • Prospector levels
  • Admin access
  • Blips

Most server owners only need to edit this file.


Client-side customization hooks.

Includes:

  • Notification integration
  • Custom hint UI
  • Custom target adapter hooks
  • Start/stop hooks
  • Client-side start conditions

Useful functions include:

Editable.Notify(message, type, duration)
Editable.OnStart()
Editable.OnStop()
Editable.CanStart()

Server-side integrations and security hooks.

Includes:

  • Custom framework functions
  • Custom inventory functions
  • Server-side panning conditions
  • Server-side placement conditions
  • Custom admin checks
  • Discord admin IDs
  • Discord webhook configuration
  • Collection and logging hooks

Important functions include:

Editable.CanStartServer(source)
Editable.CanPlaceServer(source, kind, coords)
Editable.IsAdmin(source)
Editable.OnCollect(source, data)
Editable.OnLog(event, payload)

Controls the progress bar backend used for actions such as filling and pouring buckets.

Built-in backends:

original
ox
qb
custom

Use the custom backend if you want to integrate another progress bar resource.


The bridge/ directory contains framework, inventory and target adapters.

bridge/framework/
โ”œโ”€โ”€ custom.lua
โ”œโ”€โ”€ esx.lua
โ”œโ”€โ”€ qb.lua
โ””โ”€โ”€ qbx.lua
bridge/inventory/
โ”œโ”€โ”€ codem.lua
โ”œโ”€โ”€ core.lua
โ”œโ”€โ”€ custom.lua
โ”œโ”€โ”€ framework.lua
โ”œโ”€โ”€ ox.lua
โ”œโ”€โ”€ qb.lua
โ”œโ”€โ”€ qs.lua
โ””โ”€โ”€ tgiann.lua
bridge/target/
โ”œโ”€โ”€ custom.lua
โ”œโ”€โ”€ init.lua
โ”œโ”€โ”€ ox.lua
โ””โ”€โ”€ qb.lua

You normally do not need to modify these files unless your framework or inventory version uses different exports or behavior.


locales/
โ”œโ”€โ”€ en.json
โ””โ”€โ”€ tr.json

To add another language:

  1. Copy en.json.
  2. Rename the copy, for example de.json.
  3. Translate the values without changing the keys.
  4. Set:
Config.Locale = 'de'

When JSON storage is enabled, persistent data is stored inside:

data/
โ”œโ”€โ”€ levels.json
โ”œโ”€โ”€ lights.json
โ”œโ”€โ”€ rigs.json
โ”œโ”€โ”€ sales.json
โ”œโ”€โ”€ zone_stats.json
โ””โ”€โ”€ zones.json

Do not manually edit these files while the server is running.

When:

Config.Storage = 'mysql'

persistent data is stored in the configured database tables instead.


Inventory images are included in:

install/images/

Copy the required icons into your inventoryโ€™s image directory when needed.


The stream/ directory contains the models and textures used by the gold panning and highbanker systems.

This includes:

  • Gold pan
  • Finds
  • Rocks
  • Highbanker
  • Water pump
  • Hose parts
  • Highbanker water effect
  • Rope/hose textures

The current release intentionally excludes stream/* from Asset Escrow where required for third-party asset licensing.

Do not run another resource that streams the same gold-mining props at the same time.

The custom rope.ytd changes GTAโ€™s rope texture while used by the resource. If you prefer the default GTA rope appearance, remove the custom rope texture as described in the resource configuration/readme.


The core gameplay logic is located in:

client/
server/
shared/

These files contain the main gameplay, synchronization, persistence and server validation logic and are intended to remain protected in the release build.

The editable configuration, bridge, locale and data files remain available for server owners.