π₯ LRRP Gold Panning
A lightweight and configurable gold-panning resource for RedM.
Players can use a gold pan near water to search for gold nuggets. By default, each successful attempt rewards between 1 and 3 gold nuggets, with all rewards, quantities, chances, timings, and messages editable through the configuration file.
The resource has been rebuilt for public release and does not require any other LRRP resources to function.
β¨ Features
- Gold panning interaction near water
- Random reward of 1β3 gold nuggets
- Editable minimum and maximum reward amounts
- Configurable reward items
- Configurable drop chances
- Add unlimited custom rewards
- Configurable panning duration
- Configurable animations and messages
- Inventory capacity checks
- Server-side reward handling
- Anti-spam and action protection
- Lightweight and performance-friendly
- Easy-to-edit configuration
- SQL installation file included
βοΈ Standalone Resource
LRRP_goldpan does not require:
-
LRRP_jobs -
syn_minigame - Any other LRRP resource
The optional LRRP Jobs integration is included but is disabled by default.
Servers using LRRP Jobs can enable it in the configuration to reward players with job or skill XP when they finish gold panning.
πͺ Default Rewards
By default, players receive:
1β3 gold_nugget
Rewards can be changed inside config.lua.
Example:
Config.Drops = {
{
item = "gold_nugget",
minAmount = 1,
maxAmount = 3,
chance = 100
}
}
You can change the amount, adjust the chance, or add additional items.
π§° Included Items
The included SQL file adds:
goldpan
gold_nugget
The SQL is provided for servers that do not already have these items in their database.
Servers that already use these item names should check their database before running the SQL to avoid duplicate entries.
π§ Configuration
The configuration allows server owners to edit:
- Gold pan item name
- Reward items
- Minimum reward amount
- Maximum reward amount
- Drop chances
- Panning duration
- Inventory behaviour
- Notifications
- Optional LRRP Jobs integration
- XP rewards
- Debug settings
The configuration file is included in escrow_ignore, allowing server owners to edit it freely.
π¦ Installation
- Download and extract
LRRP_goldpan. - Place the resource inside your server's
resourcesfolder. - Run the included
install.sqlfile if the items are not already in your database. - Add the resource to your
server.cfg:
ensure LRRP_goldpan
- Restart the server.
π Escrow
The resource is prepared for Cfx.re Asset Escrow.
Editable configuration files are included in the escrow ignore list so server owners can customise rewards and settings without modifying protected files.
π Requirements
- RedM
- VORP Core
- VORP Inventory
LRRP_jobs is optional and disabled by default.
π Included Files
- Complete gold-panning resource
- Editable configuration
- Client and server logic
- SQL item installation
- README documentation
- Cfx.re escrow configuration
π¬ Support
Please report any problems with as much information as possible, including:
- Server console errors
- Client F8 errors
- VORP Core version
- VORP Inventory version
- Steps needed to reproduce the issue