Installation
This guide will walk you through installing prp-seahunt on your FiveM server.
Installation steps
1
Download the resource
Download
prp-seahunt from the CFX portal and place it in your resources folder.2
Add to server.cfg
Add
prp-seahunt to your server.cfg after all dependencies. ensure ox_lib
ensure prp-bridge
ensure prp-seahunt3
Add items
Add the required items to your inventory resource — see Items below.
4
Configure sv_config.lua
Open
config/sv_config.lua to configure the loot drop tables, mission timeout, cooldown and concurrent mission limit.5
Configure sh_config.lua
Open
config/sh_config.lua to adjust diving locations, the Seashark price and the Diving NPC position.6
Optional: inventory icons
Custom inventory icons are included in the
installation/inventory icons folder. Copy them to your inventory resource's image directory if you'd like to use them.Items
Add all required items to your inventory resource using the format appropriate for your setup.
Add items listed below to your ox_inventory into data/items.lua.
lua
["sea_hunt_start"] = {
label = "Blue Folder",
weight = 100,
},
["diving_rebreather"] = {
label = "Diving Rebreather",
weight = 300,
},TIP
The items in the loot drop tables (Config.DropTables in config/sv_config.lua) are fully configurable. Make sure any items you add there already exist in your inventory resource.