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
Editable Files
Section titled โEditable Filesโconfig.lua
Section titled โconfig.luaโ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.
editable/client.lua
Section titled โeditable/client.luaโ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()editable/server.lua
Section titled โeditable/server.luaโ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)editable/progress.lua
Section titled โeditable/progress.luaโControls the progress bar backend used for actions such as filling and pouring buckets.
Built-in backends:
originaloxqbcustomUse the custom backend if you want to integrate another progress bar resource.
Bridge Files
Section titled โBridge FilesโThe bridge/ directory contains framework, inventory and target adapters.
Framework
Section titled โFrameworkโbridge/framework/โโโ custom.luaโโโ esx.luaโโโ qb.luaโโโ qbx.luaInventory
Section titled โInventoryโbridge/inventory/โโโ codem.luaโโโ core.luaโโโ custom.luaโโโ framework.luaโโโ ox.luaโโโ qb.luaโโโ qs.luaโโโ tgiann.luabridge/target/โโโ custom.luaโโโ init.luaโโโ ox.luaโโโ qb.luaYou normally do not need to modify these files unless your framework or inventory version uses different exports or behavior.
Locale Files
Section titled โLocale Filesโlocales/โโโ en.jsonโโโ tr.jsonTo add another language:
- Copy
en.json. - Rename the copy, for example
de.json. - Translate the values without changing the keys.
- Set:
Config.Locale = 'de'Data Files
Section titled โData FilesโWhen JSON storage is enabled, persistent data is stored inside:
data/โโโ levels.jsonโโโ lights.jsonโโโ rigs.jsonโโโ sales.jsonโโโ zone_stats.jsonโโโ zones.jsonDo not manually edit these files while the server is running.
When:
Config.Storage = 'mysql'persistent data is stored in the configured database tables instead.
Install Files
Section titled โInstall FilesโInventory images are included in:
install/images/Copy the required icons into your inventoryโs image directory when needed.
Stream Files
Section titled โStream Filesโ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.
Protected Core
Section titled โProtected Coreโ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.