Configuration ​
Everything is in shared/config/. All files are shared (client and server), so nothing secret goes in there. Money is
whole dollars, weights are grams, lengths centimetres, distances metres; timings are milliseconds unless the name says
seconds. Numbers that appear in the screenshots (prices, distances, timings) are defaults, not rules: the server
enforces them, the client only draws with them.
With np_admin running, most tunables are editable live on its Resource settings page under Fishing (see Editable in np_admin).
| File | What |
|---|---|
00_core.lua |
Locale, bridges, staff without np_admin, which np_* siblings to use, the licence, money account, theme, world clock and weather, RPC rate limit |
conditions.lua |
The bite rating model: time of day, weather, moon, season, spot pressure |
species.lua |
The 19 fish and the quality (stars) roll |
zones.lua |
The waters: named zones, coast and deep sea fallback |
gear.lua |
The gear catalogue: rods, reels, lines, hooks, floats, baits, lures, gadgets, cooler, tools |
loop.lua |
/fish, cast, bite, strike, fight, reveal, wear per event, dropped fish, props and animations |
progression.lua |
Keys and commands, XP curve, perk trees, rig rules, repair, starter kit, collection, achievements |
economy.lua |
Freshness, buyers, demand, reputation, turf tax, shops and services, fillets, trophies, aquarium, orders |
social.lua |
The Angler app, forecast alerts, Dynamic Island, tournaments, licence exemptions, rangers, poaching, photos |
Core (00_core.lua) ​
| Option | Default | Description |
|---|---|---|
Config.Debug |
false |
Debug output |
Config.Locale |
'en' |
'en' or 'de', for server texts and the NUI |
Config.Framework |
'auto' |
'esx', 'qbx', 'qb', 'standalone', or auto-detect (esx → qbx → qb → standalone) |
Config.Inventory |
'auto' |
'np' (np_inventory), 'ox', 'qb' (qb / ps / lj), 'none', or auto-detect (np → ox → qb → none) |
Config.Admins |
{} |
Staff without np_admin: FiveM identifiers ('license:…', 'discord:…') |
Config.AdminGroups |
{ esx = { 'admin', 'superadmin' }, qb = { 'admin', 'god' } } |
Staff without np_admin: ESX groups and qb-core / qbx_core permissions |
Config.AdminDiscordRoles |
{} |
Staff without np_admin: np_discord role ids or role names |
Config.AdminDiscordCacheSeconds |
60 |
How long a Discord role answer is cached |
Config.Integrations |
every sibling 'auto' |
np_inventory, np_hud, np_phone, np_payments, np_identification, np_menu, np_discord, np_admin, np_character, np_tattoos, np_drugs, np_gangs, np_environmental. 'auto' = used while started, false = never (the fallback runs). See Bridges & integrations |
Config.License.required |
'auto' |
'auto' = required while np_identification runs, true, false. true without np_identification warns once and checks nothing |
Config.License.document |
'fishing_license' |
The np_identification document type that counts as a fishing licence |
Config.Payments.account |
'cash' |
'cash' or 'bank': the account charged without np_payments |
Config.Theme |
all nil |
brand, strength, material. nil = np_admin's server theme; set a value only to override it for np_fishing |
Config.World |
minutesPerGameDay = 48, weather = 'CLEAR', season = 'auto' |
The clock and weather the server rates conditions with. A weather sync that publishes GlobalState (Renewed-Weathersync, qb-weathersync forks) is read when present; weather is used without one. season = 'auto' follows the real month (hemisphere) |
Config.Rpc |
{ perSecond = 8, burst = 16 } |
Token bucket per player over every RPC |
Config.Timers |
{ tickSeconds = 5 } |
How often the scheduler (tournaments, orders) runs |
Conditions (conditions.lua) ​
The bite rating (0 to 100) is the weighted mix of five factors. The HUD chip, the phone forecast and the server's bite roll all read the same model.
| Option | Default | Description |
|---|---|---|
weights |
time 0.30, weather 0.25, moon 0.10, season 0.15, pressure 0.20 |
Share of each factor |
timeCurve |
dawn and dusk best | Game hour → 0..1, linear between the points |
weather |
overcast 0.95, rain 0.90, extra sunny 0.45, blizzard 0.20 … |
GTA weather type → 0..1 |
moon, seasons |
0.55–1.0; autumn 1.0, winter 0.55 |
Moon phase and season factors |
labels |
80 excellent, 62 great, 44 good, 25 fair |
Rating → label (below: poor) |
biteChance |
{ 0.08, 0.45 } |
Chance per bite check at rating 0 and 100 |
rarityWeight |
common 100 … legendary 1 |
Base weight of a species by rarity |
speciesModifiers |
baitMatch = 1.8, noBait = 0.3, offHours = 0.25 … |
How hours, weather, season, depth and bait shape each species' weight |
pressure |
cellSize = 80, perCatch = 0.05, recoverPerHour = 0.10, pollution = 0.6 |
Spot pressure: every catch adds to its 80 m cell, which recovers over time; an np_environmental scene adds pollution to its cells until it is cleared |
Species (species.lua) ​
Config.Species[id]: label, rarity, water (fresh, salt, both), zones (ids or kind:<kind>), depth, active
hours, weather (prefer, avoid, only), seasons, baits and lures it takes, fight (stamina, power, runChance,
pattern), weight and length range, pricePerKg (at 3 stars, fresh) and spoilHours. strict species never bite
outside their hours, weather or season; needsBait ones never take a bare hook.
| Water | Common | Uncommon | Rare | Epic | Legendary |
|---|---|---|---|---|---|
| Fresh | perch, crucian carp, bream | largemouth bass, rainbow trout, common carp | northern pike | channel catfish | golden koi (Mirror Park Lake, spring dawn in fog), white sturgeon (Alamo Sea, night in rain) |
| Salt | sprat, Atlantic mackerel | red snapper, flounder | Chinook salmon (also fresh), Pacific halibut, yellowfin tuna | mahi-mahi | broadbill swordfish (deep sea) |
Config.Quality: the star roll (chances 30 / 32 / 22 / 12 / 4 % for 1–5 stars) and the price factor per star
(0.6 … 1.8).
Zones (zones.lua) ​
Config.Zones[id]: label, kind (lake, river, canal, pier, beach, coast, deep_sea), water, shape (circle
or polygon), priority (a pier wins over its beach), species multipliers, boat. Named zones: Alamo Sea, Land Act
Reservoir, Mirror Park Lake, Lago Zancudo, Cassidy Creek, Los Santos River, Del Perro Pier, Chumash Pier, Paleto Bay
Pier, Vespucci Beach and Paleto Cove.
Water outside every zone is decided by Config.ZoneFallback: inside the island outline it is inland water (pools,
fountains: no fishing unless inland names a zone), within coastBand (1500 m) of the outline it is coast, beyond
that deep_sea (far enough out to need a boat). The client's water probe decides where the float lands; the server checks the zone
again.
Gear (gear.lua) ​
Config.Gear.<category>[item]: label, shop price, weight, Font Awesome icon, durability (uses) and stats per
category: rod power, maxCast, sensitivity, maxFishKg, methods; reel maxDrag, retrieve, capacity; line
test, length, stretch, visibility; hook size, sharpness, barbless; float depth, sensitivity; lure
action, depth; cooler slots, maxWeight, decayRate; repair kit restore. shop = false items are rewards
only. See Items for the full list.
Loop (loop.lua) ​
| Option | Default | Description |
|---|---|---|
command, commandEnabled |
'fish', true |
/fish takes the rod out or puts it away without using the item |
defaultRig |
bamboo rod, spincast reel, mono 4 kg, small hooks, waggler, earthworms | The rig everybody fishes with when the gear module isn't installed |
cast |
cooldown = 1500, minDistance = 4, tolerance = 4, perfectWindow = { 0.82, 0.92 }, perfectBonus = 0.15, overpowerSpook = 0.10, finderBonus = 0.10 |
The cast: the white "perfect" pips, the bonus for hitting them, the splash malus of a full-power cast, the fish finder bonus, snags in shallow water |
depth |
default = 1.2, step = 0.2 |
Float depth (m), set with L |
bite |
checkSeconds = 3, minWaitSeconds = 4, maxWaitSeconds = 180, nibbles = { 0, 2 } |
Bite checks while the float is out; the session ends after maxWaitSeconds |
strike |
windowMs = 900, minReactionMs = 60, latencyMs = 350, maxPingMs = 400 |
The strike window (scaled by hook, float and rarity) and the latency tolerance |
fight |
baseSeconds = 4, staminaSeconds = 26, maxSeconds = 300, snapFactor = 2.5, snapMs = 2400, slackMs = 3000 |
Fight length, the server's plausibility checks, when the line snaps and when slack throws the hook |
reveal |
seconds = 20, minRarity = 'rare', autoKeep = true, toastSeconds = 6 |
Full reveal card from this rarity (and for firsts and records), else the "+1" toast |
release |
karmaCatches = 3, qualityShift = 0.25 |
A release improves the quality odds of the next catches |
wear |
per landing, snap, snag; perMinute = 1 |
Wear per event (uses) |
session |
maxMove = 6 |
How far the angler may walk from where they cast |
drop |
minutes = 10, pickupRadius = 2.5 |
A fish that doesn't fit into the inventory lies at the angler's feet |
props, anims |
GTA V defaults | Rod, bobber and fish props, the fishing animations |
Config.Minigames (same file) plays the fight in np_minigames on request: enabled, mode
(native / arcade), playerChoice, command (/fishmode), fight (difficulty, opts), strike (enabled,
difficulty, opts), graceSeconds. See Fishing → Arcade fights.
Progression (progression.lua) ​
| Option | Default | Description |
|---|---|---|
keys, commands |
tackle = 'F7', journal = 'F6'; /tackle, /journal |
Tackle box and journal |
xp |
common 10 … legendary 220, perKg = 2 (max 60), perStar = 3, release = 6, firstSpecies = 60, personalRecord = 20, serverRecord = 120 |
XP per catch and event |
levels |
base = 100, growth = 1.12, max = 50 |
XP from level L to L + 1 = base × growth^(L − 1) |
pointsPerLevel, perkResetCost |
1, 2500 |
Perk points per level; $ to take every perk back (free on standalone) |
trees |
technique, knowledge, trade | The perk trees, see Perks |
rig |
lineWarn = 0.35, partWarn = 0.20, maxPresets = 4 … |
Rig slots, wear warnings, cast and line strength rules, presets |
repair |
fishing_repair_kit, duration = 4000, parts rod / reel / line |
The repair kit |
starterKit |
basic rod kit, 40 worms, a repair kit | The virtual tackle box every character gets without an inventory |
collection |
25 / 50 / 80 / 100 % | Collection milestones with XP and item rewards |
achievements |
10 | First catch, 50 fish, old salt, collector, explorer, heavyweight, night owl, catch & release, record breaker, legend |
This file also adds the attractants (fishing_groundbait, fishing_scent, fishing_glowstick), the tackle box and
two reward floats to the gear catalogue.
Economy (economy.lua) ​
| Option | Default | Description |
|---|---|---|
enabled |
true |
The market |
interactRadius, spawnDistance |
5, 120 |
How close to a buyer or shop the server accepts an action; the range np_npchandler streams the buyer and shop peds in (5 to 400 m) |
blips, stalls |
true |
Map blips; stall props next to buyers (registered with np_prophandler) |
freshness |
freshAbove = 0.55, spoilingBelow = 0.25; ice fishPerBag = 5, price = 10 |
Freshness bands and ice, see Freshness |
prices |
dropPerKg = 0.012, dropPerFish = 0.01, floor = 0.35, recoverPerHour = 0.12, tipMin = 0.15 |
Dynamic demand per buyer and species |
reputation |
Regular at 25 (+5 %), Partner at 100 (+10 %) | Reputation tiers per buyer |
xpPerFish |
2 |
XP per fish sold |
turfTax |
enabled = false, percent = 5, gripPer = 500 |
Optional np_gangs turf tax |
buyers |
five | Pearl's Seafood (Del Perro Pier), Paleto Bay Fishery, Sandy Shores Bait (Alamo Sea), Chumash Fish Market, Pop's Fish Market (Vespucci): coords, ped, water and species factors, legendary factor, demand recovery, services, blip, stall |
shops |
three | Sandy Shores Bait & Tackle, Del Perro Pier Tackle, Paleto Bait Shack: categories, priceMult, services |
shop |
useInventoryShop = true, maxQuantity = 50 |
Register the shops with np_inventory / ox_inventory when possible |
services |
respoolShare = 0.5, repairShare = 0.25 |
Respool and repair prices |
fillet, trophy, aquarium |
2 fillets per kg; mount fee $250 from uncommon; $60 per species × rarity | See Market |
orders |
NPC: up to 4, every 30 min; players: jobs restaurant, burgershot, pearls, uwucafe, anyone = true |
See Orders |
Social (social.lua) ​
| Option | Default | Description |
|---|---|---|
app |
Angler, fa-solid fa-fish, aqua |
The np_phone store entry (default = false: players install it) |
forecast |
hours = 12, hotspots = 4 |
The forecast tab |
alerts |
enabled = true, optInDefault = false, leadGameHours = 1, cooldownMinutes = 40 |
Push before an excellent window |
island |
session = true, tournament = true |
Dynamic Island activities |
tournaments |
kinds, split = { 0.6, 0.3, 0.1 }, houseCut = 0, minEntrants = 2, schedule … |
See Tournaments |
license |
exemptZones = { 'del_perro_pier', 'chumash_pier', 'paleto_pier' } |
Where no licence is needed |
rangers |
jobs = { 'ranger', 'police', 'sheriff' }, onDuty = true, distance = 4 |
Who may check licences |
poaching |
protected = { 'golden_carp' }, closedSeasons = { salmon = { 'winter' } }, reportChance = 0.35 |
See Poaching |
photos |
enabled = true, windowSeconds = 300, chirp = true |
Catch photos |
legendary |
announce = true, discord = true |
Server-wide announcement of a legendary catch |
discordChannel |
'fishing' |
np_discord log channel |
Editable in np_admin ​
shared/np_admin_settings.lua registers one Resource settings page, Fishing, with the groups the config files
add to Config.AdminSettings. np_admin stores only the overrides and writes them back into Config; without np_admin
the files apply as they are.
| Group | Fields |
|---|---|
| General | Language, debug log, fishing licence required, weather without a weather sync, season |
| Fishing loop | /fish command, longest wait for a bite, strike window, latency tolerance, fight length, full reveal card from rarity, keep "+1" catches automatically |
| Minigames (np_minigames) | Use np_minigames when it runs, default fight (native / arcade), anglers may choose (/fishmode), reel difficulty, strike as an np_minigames round, strike difficulty |
| Progression | XP per kg, XP for a release, XP for a new species, highest level, perk points per level, perk reset cost, line wear warning |
| Market | Demand recovery and drop, lowest demand, turf tax on / percent, trophy fee, first donation bonus, NPC orders, player orders, blips |
| Social | Forecast alerts and lead, tournaments, house cut, minimum entrants, late join, Discord events, trophy ink, poaching reports and chance, catch photos, legendary announcements |