π οΈINSTALLATION
1. Resource Installation
Download the latest release
Extract to your resources folder
Add
ensure janiel-fishingto your server.cfgConfigure config.lua to your preferences
2. Framework-Specific Installation
QB-Core
Add the following items to
qb-core/shared/items.lua:QBShared.Items = { -- Fishing Equipment ['fishingrod'] = { name = 'fishingrod', label = 'Fishing Rod', weight = 750, type = 'item', image = 'fishing-rod.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A rod for fishing' }, ['fishbait'] = { name = 'fishbait', label = 'Fish Bait', weight = 400, type = 'item', image = 'bait.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Bait for fishing' }, -- Regular Fish ['cod'] = { name = 'cod', label = 'Cod', weight = 2500, type = 'item', image = 'fish5.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A fresh cod fish' }, ['mackerel'] = { name = 'mackerel', label = 'Mackerel', weight = 2500, type = 'item', image = 'fish6.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A fresh mackerel' }, ['bass'] = { name = 'bass', label = 'Bass', weight = 1250, type = 'item', image = 'fish3.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A fresh bass' }, ['tuna'] = { name = 'tuna', label = 'Tuna', weight = 2500, type = 'item', image = 'fish1.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A fresh tuna' }, ['trout'] = { name = 'trout', label = 'Trout', weight = 2500, type = 'item', image = 'fish4.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A fresh trout' }, ['salmon'] = { name = 'salmon', label = 'Salmon', weight = 1250, type = 'item', image = 'fish2.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A fresh salmon' }, -- Illegal Fish ['killerwhale'] = { name = 'killerwhale', label = 'Killer Whale', weight = 15000, type = 'item', image = 'killer_whale.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A killer whale... highly illegal' }, ['dolphin'] = { name = 'dolphin', label = 'Dolphin', weight = 5000, type = 'item', image = 'dolphin.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A dolphin... definitely illegal' }, ['shark'] = { name = 'shark', label = 'Shark', weight = 5000, type = 'item', image = 'shark.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'A shark... probably illegal' } }
ESX
Execute the SQL in your database:
OX_inventory
Detailed configuration options can be found in config.lua. Each option is documented with explanatory comments.
3. Images
Copy all images from
install/imagesto:QB-Core:
qb-inventory/html/images/ESX:
esx_inventory/html/img/ox_inventory:
ox_inventory/web/images/
Last updated