πͺ FX-GOLDSEARCH β
Advanced gold panning system for RedM with zone-based rewards, prop placement, water mechanics, and full framework compatibility.
π¦ INSTALLATION β
ensure fx-goldsearchβ’ Place the script inside resources/fx-goldsearch β’ Add ensure fx-goldsearch to your server.cfg β’ Restart your server β’ Make sure PolyZone is started before this script
βοΈ DEPENDENCIES β
dependencies {
'PolyZone'
}β’ Required for zone detection system β’ Handles gold search areas and restrictions β’ Script will not work without it
π¦ VORP ITEM INSTALL β
INSERT INTO items (...)
VALUES
('bucket', 'Bucket', ...),
('bucketfull', 'Bucket Full', ...),
('goldnugget', 'Gold Nugget', ...),
('goldring', 'Gold Ring', ...),
('goldtable', 'Gold Search Table', ...),
('salt', 'Salt', ...)β’ Required items for gold searching β’ bucket β used to collect water β’ bucketfull β required to start searching β’ goldtable β used to place search table β’ goldnugget / goldring β rewards
π¦ RSG ITEM INSTALL β
bucket = { name = 'bucket', label = 'Bucket', ... },
goldtable = { name = 'goldtable', label = 'Gold Search Table', ... },
goldnugget = { name = 'goldnugget', label = 'Gold Nugget', ... },β’ Required if using RSG framework β’ All items must be usable β’ Names must match config
βοΈ BASIC CONFIG β
Config.Language = "en"
Config.UseTarget = false
Config.WaterTime = 60 * 1000
Config.ZoneNotify = trueβ’ Language β system language β’ UseTarget β enables target system (RSG) β’ WaterTime β how long water lasts β’ ZoneNotify β shows enter/exit notifications
π― ITEM CONFIG β
Config.Items = {
BucketItem = "bucket",
BucketFull = "bucketfull",
TableItem = "goldtable"
}β’ Defines required items β’ Must match database item names β’ Used for all core interactions
π§± TABLE SYSTEM β
Config.MaximumCreateTable = 3
Config.PropSpawnDistance = 40
Config.PropInteractionDistance = 1.5β’ Limits how many tables a player can place β’ Controls visibility distance β’ Controls interaction range
βοΈ GOLD SEARCH SYSTEM β
Config.ProgressSettings = {
bucketfill = 5000,
placing = 5000,
fillwater = 3000,
search = 5000,
}β’ Controls action durations β’ bucketfill β filling water β’ placing β placing table β’ search β searching for gold
π GLOBAL REWARD SYSTEM β
Config.Rewards = {
{
Rewards = {
[1] = {
chance = 45,
items = {
{item = "goldnugget", count = 1}
}
}
}
}
}β’ Defines reward chances β’ chance β probability percentage β’ items β rewards list β’ Supports multiple reward tiers
π ZONE SYSTEM β
Config.SearchLocation = {
{
name = "Gold Search Zone",
zones = {
vector2(...),
},
minz = 72.0,
maxz = 78.0,
}
}β’ Defines restricted gold search areas β’ Uses PolyZone system β’ Only allows table placement inside zones
π« TOWN RESTRICTION β
Config.BlacklistTowns = {
["valentine"] = 459833523,
}β’ Prevents placing tables near towns β’ Avoids exploitation in safe zones
βοΈ TABLE PERMISSIONS β
Config.RemoveTableSetting = 1
Config.RemoveWhitelistJobs = {
["sheriff"] = true,
}β’ Controls who can remove tables β’ 0 β everyone β’ 1 β owner + whitelist jobs β’ 2 β owner only
π NOTIFY SYSTEM β
Notify({
text = "Searching...",
type = "success"
})β’ Framework-based notification system β’ Supports VORP / RSG / REDEMRP β’ Fully customizable
βοΈ SERVER CONFIG β
SV_Config.Webhook = {
url = "",
logo = "",
banner = "",
}β’ Used for logging system β’ Optional webhook integration
π DATA SYSTEM β
spawnProp.jsonβ’ Stores placed gold tables β’ Data is saved per player β’ Used for persistence after restart
β οΈ IMPORTANT NOTES β
β’ PolyZone must be installed β’ Items must exist in database β’ spawnProp.json must not be deleted β’ TableItem must match config β’ Zones must be defined if PlaceAllMap = false
π¨ COMMON MISTAKES β
β’ Missing PolyZone β’ Wrong item names β’ Missing items in database β’ Not defining zones β’ Table not spawning due to limits
π SUMMARY β
FX-Goldsearch provides:
β’ Advanced gold panning system β’ Zone-based gameplay β’ Dynamic reward system β’ Prop placement system β’ Full framework compatibility
Β© Fixitfy Development
