Requirements
- FiveM server
- MySQL or MariaDB
- One of:
qbx_core,qb-core, ores_extended ox_lib,oxmysql- A target resource:
ox_target,qtarget, orqb-target— used to talk to the shop and boat rental peds
Steps
-
Drop the
nex_fishingfolder into your resources, e.g.resources/[nex]/nex_fishing/. -
Register the items in your inventory. For ox_inventory (Qbox ships with it — no extra steps), add this to
ox_inventory/data/items.lua:The full snippet also lives ininstall/items.md. If you use a different inventory (qb-inventory, ps-inventory, lj-inventory, qs-inventory), register items with the same names in its item table instead. -
Copy the item images from
install/images/intoox_inventory/web/images/(or your inventory’s image folder). -
(Optional) Import
install/import.sqlinto your database. The resource also creates thenex_fishingtable automatically on first start. -
Add it to
server.cfgafterox_libandoxmysql: - Restart your server.
Rods are registered as usable items — there is no fishing command. Players use the rod from their inventory to start fishing.
Checking it worked
From F8:started. If it prints missing or stopped, fix server.cfg and restart.
Updating
config/*.lua and bridge/**/*.lua are listed under escrow_ignore and are preserved across updates. Player XP and renown live in the nex_fishing MySQL table and are preserved automatically.
- Replace the resource files with the new version (keep your edited
config/files). - Restart the server.
Installs created before the renown system are migrated automatically — the script adds the missing
rep column to the nex_fishing table on start.
