RX Fishing Configuration
RX Fishing splits its settings over five files:
| File | What it holds |
|---|---|
config.lua | Everything on this page: language, access, framework, the rod, bites and the fight, legendaries, fishmongers, the market, orders, good water, XP, controls |
config_fish.lua | Rarity, stars, baits and lures, reels, species, legendaries. See Fish & Tackle |
config_progress.lua | Levels, perks, gear parts, the book’s command. See Progression & Tournaments |
config_social.lua | Leaderboards, tournaments, badges. See Progression & Tournaments |
config_world.lua | Boats and traps. See Boats & Traps |
Every setting is checked when the resource starts. A value out of range, a range the wrong way round, an unknown species or bait, or a legendary placed in water that is not on the map is named in the console with its file and setting, and listed on the admin panel’s status page. Restart
rx_fishingafter changing a config file.
[rx_fishing] problem config.lua Config.Fishing.biteDelay: min is above max (got { 20000, 6000 })
[rx_fishing] warning config.lua Config.Market.trending: asks for 99 wanted species, there are only 15A problem will not work as written; a warning works but is probably not what you meant.
Language
Config.Locale = 'en'
Config.FallbackLocale = 'en'
Config.Debug = false| Setting | Default | Behaviour |
|---|---|---|
Locale | 'en' | en, tr, de, fr, es, or pt (Brazilian Portuguese). |
FallbackLocale | 'en' | Any text missing from a translation shows in this language instead of blank. |
Debug | false | Prints bridge, item, and store decisions to the console. Keep it off on a live server. |
Fish, bait, perk, and other names in the config files are tables such as label = { en = 'Bluegill', tr = 'Güneş Balığı' }. A language left out of a label shows the English name.
Adding a language
- Copy
locales/en.luatolocales/xx.lua, and changeLocales.en = {toLocales.xx = {andui_lang = 'en'toui_lang = 'xx'. - Translate the texts between the quotes. Keep every
%s,%d,%.1f, and%.2fin the same order as in English. In keys starting withui_a percent sign is written%, in the others%%. An apostrophe inside a text is written\'. - Optionally add
xx = '...'to thelabeltables in the config files. - Set
Config.Locale = 'xx'and restart. The config check reports it iflocales/xx.luais not found.
Admin access
Config.AdminCommand = 'fishadmin'
Config.Admin = {
mode = 'auto',
rsgPermission = { 'admin', 'god' },
vorpGroups = { 'admin', 'superadmin', 'moderator' },
acePermission = 'rx_fishing.admin',
allowCommandAce = true,
allowedIdentifiers = {}
}| Setting | Default | Behaviour |
|---|---|---|
AdminCommand | 'fishadmin' | Opens the admin panel. From the server console it prints a status line. |
mode | 'auto' | auto checks the framework first, then the ACE and allowedIdentifiers. rsg, vorp, ace, or list uses only that source. |
rsgPermission | admin, god | RSG permissions treated as admin. Checked as ACE names, not groups. |
vorpGroups | admin, superadmin, moderator | VORP groups treated as admin. |
acePermission | 'rx_fishing.admin' | The resource’s own ACE. |
allowCommandAce | true | In auto and ace mode, anyone with the command ACE is an admin. |
allowedIdentifiers | Empty | Specific identifiers with access. |
Framework and money
Config.Framework = {
adapter = 'auto',
rsgResource = 'rsg-core',
rsgInventory = 'rsg-inventory',
vorpResource = 'vorp_core',
vorpInventory = 'vorp_inventory'
}
Config.Economy = {
account = 'cash'
}| Setting | Default | Behaviour |
|---|---|---|
adapter | 'auto' | auto picks RSG when rsg-core runs and VORP when vorp_core runs, otherwise waits for an external bridge. Also rsg, vorp, or external. |
rsgResource, rsgInventory, vorpResource, vorpInventory | Stock names | Change only if your framework folders are renamed. |
account | 'cash' | The account fishmongers pay into and take from. RSG: any PlayerData.money key such as cash, bank, bloodmoney. VORP: cash, gold, or rol. |
Keepnet
A keepnet holds a whole trip in one inventory slot. The fish inside live on the server under the net’s serial, so the net can change hands and the catch goes with it.
Config.Keepnet = {
enabled = true,
item = 'rx_keepnet',
capacity = 20,
maxWeight = 25.0,
expireDays = 30,
price = 12.00
}| Setting | Default | Behaviour |
|---|---|---|
capacity | 20 | Fish per net. |
maxWeight | 25.0 | Kilograms per net; 0 removes the cap. Inventories weigh the net by its type, so this is what keeps it honest. |
expireDays | 30 | A net nobody opens for this long is emptied on the server. The item keeps working. |
price | 12.00 | Fishmonger price; 0 means not sold. |
The rod
The rod is the framework’s own WEAPON_FISHINGROD, drawn the usual way, so framework weapon checks never take it away. Reels and parts sit on the rod, not in the satchel.
Config.Rod = {
item = 'weapon_fishingrod',
bare = { power = 0.85, control = 0.85, sensitivity = 0.9 },
fishWithoutReel = true
}| Setting | Default | Behaviour |
|---|---|---|
item | 'weapon_fishingrod' | Checked on the server when the rod comes out; skipped when the inventory keeps weapons apart (VORP). |
bare | 0.85 / 0.85 / 0.9 | How a rod with no reel fishes: power, control, sensitivity. Reels are in Fish & Tackle. |
fishWithoutReel | true | false means no reel, no fishing. |
Bites
Every bite is decided on the server from the water, the bait, the hour, and the species’ rarity. The client plays it out, and the server checks the timing before anything is given.
Config.Fishing = {
biteDelay = { 6000, 20000 },
nibbles = { 0, 2 },
hookWindow = 1300,
missStealsBait = true,
unknownWater = 'pond',
networkedFish = true,
minCastDistance = 6.0,
farCast = 30.0,
farBias = 0.35,
maxCastDistance = 45.0,
castCooldown = 1500,
minFightSpeed = 0.8
}| Setting | Default | Behaviour |
|---|---|---|
biteDelay | 6000–20000 | Milliseconds from the bobber settling to the bite. |
nibbles | 0–2 | Fake nibbles before the real bite. Hooking on a nibble spooks the fish. |
hookWindow | 1300 | Milliseconds to hook the real bite. Reel sensitivity stretches it, a strong fish shortens it. |
missStealsBait | true | Missing the window loses the bait. Lures are never stolen. |
unknownWater | 'pond' | Habitat used for water the map does not name; false allows no fishing there. |
networkedFish | true | Everyone nearby sees the hooked fish. Turn off on servers with strict entity lockdown. |
minCastDistance | 6.0 | Metres: nothing bites right at the bank. |
farCast, farBias | 30.0, 0.35 | The further out the bobber lands, the bigger the fish, up to farBias at farCast metres. |
maxCastDistance | 45.0 | Server check: metres between angler and bobber. |
castCooldown | 1500 | Server check: milliseconds between casts. |
minFightSpeed | 0.8 | Server check: a catch must take at least this share of the fastest honest fight. |
The fight
Reeling raises the tension and letting go drops it; the line comes in best while the needle sits in the green band. The fish rests, runs, or (the stronger ones) charges:
- Rest: reel and keep the needle in the green.
- Run: let go and steer against it with A or D. Reeling into a run snaps the line.
- Charge: reel. A charge drops the tension, and a slack line lets the hook come loose.
A fish tires on its moves and while the tension stays in the band; a tired fish runs less and comes in faster.
Config.Fight = {
reelUp = 0.5,
letGo = 0.4,
runPull = 0.45,
chargeDrop = 0.5,
safeBand = { 0.3, 0.7 },
reelSpeed = 1.3,
runSpeed = 1.1,
chargeChance = 0.3,
slackTime = 1500,
slackEscape = 0.5,
snapGrace = 500,
maxExtraLine = 18.0,
landDistance = 4.0,
bolt = { base = 6.0, perFight = 2.5, perSize = 4.0 },
jumps = true,
camera = true
}| Setting | Default | Behaviour |
|---|---|---|
reelUp / letGo | 0.5 / 0.4 | Tension gained per second while reeling / lost while not. |
runPull / chargeDrop | 0.45 / 0.5 | Tension per second a run adds / a charge removes. |
safeBand | 0.3–0.7 | The green band. Reel control widens it. |
reelSpeed / runSpeed | 1.3 / 1.1 | Metres per second the line comes in / a fish takes out. |
chargeChance | 0.3 | Share of a strong fish’s moves that are charges. |
slackTime, slackEscape | 1500, 0.5 | Milliseconds of slack before the hook can come loose, and the chance it does. |
snapGrace | 500 | Milliseconds at full tension before the line snaps. |
maxExtraLine | 18.0 | Metres a fish can take past where it bit. |
landDistance | 4.0 | Metres of line left when the fish is in hand. |
bolt | 6 + 2.5×fight + 4×size | Metres a hooked fish first bolts for open water. |
jumps | true | Jumping species leap on some runs; let go while it is in the air. |
camera | true | Over-the-shoulder fight camera; the mouse swings it. |
Sound
Config.Sound = {
enabled = true,
volume = 0.6
}Reel ratchet, singing drag, hook set, splashes, and a snapping line, generated in the page with no sound files.
Time and weather
Species prefer parts of the day and kinds of weather (set per species in Fish & Tackle), and bites come quicker at dawn, dusk, and in rain.
Config.Conditions = {
source = 'auto',
weathersync = 'weathersync',
hours = { dawn = 5, day = 8, dusk = 18, night = 21 },
biteDelay = {
dawn = 0.8, day = 1.0, dusk = 0.8, night = 1.1,
clear = 1.0, overcast = 0.9, rain = 0.8, storm = 0.75, cold = 1.3
}
}| Setting | Default | Behaviour |
|---|---|---|
source | 'auto' | auto reads weathersync when it runs, otherwise the angler’s game. Also weathersync or client. |
hours | 5 / 8 / 18 / 21 | Game hour each part of the day starts. |
biteDelay | See above | Multiplier on Config.Fishing.biteDelay by time and weather; below 1.0 is faster. |
Legendary fish
Nine legendaries each live in their own water and take only a special lure, some only at certain hours or in certain weather. The list is in Fish & Tackle.
Config.Legendary = {
cooldownMinutes = 120,
announce = false,
signChance = 0.15
}| Setting | Default | Behaviour |
|---|---|---|
cooldownMinutes | 120 | One of each swims at a time; once landed it is gone for everyone this long. |
announce | false | Tell the whole server when one is landed. |
signChance | 0.15 | Chance of a sign of it when fishing its water with its lure at the wrong hour or weather. 0 = never. |
Fishmongers
A fishmonger buys the catch, sells tackle, repairs reels, hands out the day’s orders, sells rumors about legendaries, and rents boats when a dock is near. Admins place them from the admin panel; locations adds extra ones in the config.
Config.Shops = {
enabled = true,
locations = {},
model = 's_m_m_unibutchers_01',
models = { 's_m_m_unibutchers_01', 'cs_fishcollector', 'a_m_m_sddockforeman_01', 'a_m_m_nbxdockworkers_01' },
scenario = 'WORLD_HUMAN_WRITE_NOTEBOOK',
talkDistance = 2.5,
spawnDistance = 80.0,
blip = { show = true, sprite = 'blip_shop_tackle', scale = 0.2 },
maxAmount = 50
}| Setting | Default | Behaviour |
|---|---|---|
locations | Empty | Extra fishmongers, as { label = 'Lagras Tackle', coords = vector4(x, y, z, heading), model = 's_m_m_unibutchers_01' }. |
model, models | Butcher, plus three | The default townsman and the ones the admin panel offers. |
scenario | Writing in a notebook | What he does while waiting; false to stand. |
talkDistance | 2.5 | Metres to talk. |
spawnDistance | 80.0 | The townsman only exists for players this close. |
blip | Tackle shop icon | Map blip; show = false hides it. |
maxAmount | 50 | Most bait bought at once. |
Market
Every fishmonger shares one market. Each fish of a species sold lowers that species’ price for everyone, and the price climbs back over time. A few species are wanted each day and pay more. Legendaries always fetch their full price.
Config.Market = {
dynamic = true,
dropPerFish = 0.02,
minMultiplier = 0.55,
recoverPerHour = 0.08,
trending = 2,
trendingBonus = 0.30,
buysLegendaries = true,
repairShare = 0.45,
rumorPrice = 10.00
}| Setting | Default | Behaviour |
|---|---|---|
dynamic | true | false keeps prices fixed. |
dropPerFish | 0.02 | Share of the price lost per fish sold. |
minMultiplier | 0.55 | Prices never drop below this share. |
recoverPerHour | 0.08 | Share won back per real hour. |
trending, trendingBonus | 2, 0.30 | Wanted species per day, and how much more they pay. |
buysLegendaries | true | Fishmongers buy legendary fish. |
repairShare | 0.45 | A full reel repair costs this share of the reel’s price. |
rumorPrice | 10.00 | Price of a rumor about a legendary in the water. |
Daily orders
Three orders a day, the same for every angler, renewed at resetHour on the server clock. Each angler fills each one once a day, and the smallest qualifying fish are taken so the best ones stay with the angler.
Config.Orders = {
enabled = true,
resetHour = 6,
xp = 25,
templates = {
{ rarity = { 'common' }, count = { 3, 5 }, bonus = 1.4 },
{ rarity = { 'uncommon' }, count = { 2, 2 }, minStars = 2, bonus = 1.7 },
{ rarity = { 'rare', 'epic' }, count = { 1, 1 }, minSize = 0.5, bonus = 2.0 }
}
}| Template field | Behaviour |
|---|---|
rarity | A species of these tiers is picked. |
count | How many fish, random in the range. |
minStars | At least this quality. |
minSize | At least this far up the species’ weight range (0–1). |
bonus | Reward: the fish’s price times this. |
Good water
Spots where a species, or every fish, bites more often and runs bigger. Admins place them on the water from the admin panel; Config.Hotspots adds extra ones.
Config.Hotspots = {}
Config.Hotspot = {
bonus = 3.0,
sizeBias = 0.2,
defaultRadius = 20.0,
maxRadius = 80.0
}| Setting | Default | Behaviour |
|---|---|---|
Hotspots | Empty | Extra spots, as { label = 'Sturgeon Hole', coords = vector3(x, y, z), radius = 25.0, species = 'lakesturgeon' }. species is a species key or 'any'. |
bonus | 3.0 | Species chance multiplier inside a spot. |
sizeBias | 0.2 | Weight bias inside a spot. |
defaultRadius, maxRadius | 20.0, 80.0 | Metres. |
XP and announcements
Config.Xp = {
common = 5, uncommon = 10, rare = 20, epic = 40, legendary = 150,
sizeBonus = 1.0,
releaseBonus = 0.5
}
Config.Announce = {
serverRecords = false,
minRarity = 'uncommon'
}
Config.Notify = 'toast'| Setting | Default | Behaviour |
|---|---|---|
Xp per rarity | 5 to 150 | XP per fish. |
sizeBonus | 1.0 | Up to +100% for the biggest fish of a species. |
releaseBonus | 0.5 | +50% for letting the fish go. |
Announce.serverRecords | false | Tell the whole server when a record is set. |
Announce.minRarity | 'uncommon' | Only records of this rarity or rarer are announced. |
Notify | 'toast' | 'toast' for on-screen notifications, 'chat' for chat lines. |
Storage and rate limits
Angler profiles, server records, keepnets, and traps live in the resource’s key-value store. No database is needed.
Config.Store = {
saveDelayMs = 2000
}
Config.RateLimits = {
default = { 8, 1000 },
useItem = { 4, 1000 },
fishing = { 6, 1000 },
ui = { 12, 1000 }
}saveDelayMs gathers changes for this long before writing them. Each rate limit is { calls, windowMs } per player for that group of net events.
Controls
Each action listens to the fishing minigame input first and a general input after it, so it works in whichever input context the rod leaves active. The first hash is the one the prompt shows.
Config.Controls = {
hook = { 0xA1CD103A, 0x07CE1E61 },
reel = { 0xA303F462, 0xFBD7B3E6, 0xD9D0E1C0 },
steerLeft = { 0x7065027D },
steerRight = { 0xB4E465B4 },
keep = { 0x52C5C34A, 0xCEFD9220 },
release = { 0xF14FD435, 0x424BD2D2 },
giveUp = { 0x8FFC75D6 },
talk = { 0xCEFD9220 },
gear = { 0x2FA915F5, 0xE30CD707 },
pickup = { 0xE30CD707, 0x2FA915F5 }
}| Action | Default key |
|---|---|
hook | Left mouse |
reel | Space |
steerLeft / steerRight | A / D |
keep / release | E / F |
giveUp | Shift |
talk | E |
gear | R |
pickup | R (traps) |