md-fishing

Credits to

BIG THANKS TO

Special shoutout to my beta testers! Your feedback has been invaluable.

Dependencies

Setup :

step 1

run sql

step 2

  • Add the following Items to qb-core/shared/items.lua and add the images to your inventory
["atlanticdolphin"] 		 = {["name"] = "atlanticdolphin", 			["label"] = "Atlantic Dolphin", 		['weight'] = 100, 		["type"] = "item", 		["image"] = "atlanticdolphin.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["belugawhale"] 			 = {["name"] = "belugawhale", 			    ["label"] = "Beluga Whale", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "belugawhale.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["bluefish"] 				 = {["name"] = "bluefish", 			    	["label"] = "Blue Fish", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "bluefish.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["bluewhale"] 				 = {["name"] = "bluewhale", 			    ["label"] = "Blue Whale", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "bluewhale.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["catfish"] 				 = {["name"] = "catfish", 			    	["label"] = "Catfish", 		    		['weight'] = 100, 		["type"] = "item", 		["image"] = "catfish.png", 			   		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["chileandolphin"] 			 = {["name"] = "chileandolphin", 			["label"] = "Chilean Dolphin", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "chileandolphin.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["chum"] 					 = {["name"] = "chum", 						["label"] = "Fish Chum", 		   		 ['weight'] = 100, 		["type"] = "item", 		["image"] = "chum.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["closedsafe"] 				 = {["name"] = "closedsafe", 			    ["label"] = "closed safe", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "closedsafe.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["copperpipe"] 				 = {["name"] = "copperpipe", 			    ["label"] = "copper pipe", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "copperpipe.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["fishingpole"] 			 = {["name"] = "fishingpole", 			    ["label"] = "Fishing Pole", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "fishingpole.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["flounder"] 				 = {["name"] = "flounder", 			    	["label"] = "Flounder", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "flounder.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["goblinshark"] 			 = {["name"] = "goblinshark", 			    ["label"] = "Goblin Shark", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "goblinshark.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["groundshark"] 			 = {["name"] = "groundshark", 			    ["label"] = "Ground Shark", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "groundshark.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["halibut"] 				 = {["name"] = "halibut", 			    	["label"] = "Halibut", 		     		['weight'] = 100, 		["type"] = "item", 		["image"] = "halibut.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["largemouthbass"] 			 = {["name"] = "largemouthbass", 			["label"] = "Large Mouth Bass", 		['weight'] = 100, 		["type"] = "item", 		["image"] = "largemouthbass.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["leatherheadturtle"] 		 = {["name"] = "leatherheadturtle", 		["label"] = "Leatherhead Turtle", 		['weight'] = 100, 		["type"] = "item", 		["image"] = "leatherheadturtle.png", 		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["magnet"] 					 = {["name"] = "magnet", 			    	["label"] = "magnet", 			        ["weight"] = 100, 		["type"] = "item", 		["image"] = "magnet.png", 			   		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["magnetpole"] 				 = {["name"] = "magnetpole", 			    ["label"] = "Magnet Pole", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "fishingpole.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},																																																																				    
["mdtreasurechest"] 		 = {["name"] = "mdtreasurechest", 			["label"] = "Treasure Chest", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "treasurechest.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["narwhal"] 				 = {["name"] = "narwhal", 			    	["label"] = "Narwhal", 		     		['weight'] = 100, 		["type"] = "item", 		["image"] = "narwhal.png", 			    	["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["panfish"] 				 = {["name"] = "panfish", 			    	["label"] = "Panfish", 		    		['weight'] = 100, 		["type"] = "item", 		["image"] = "panfish.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["plugbait"] 				 = {["name"] = "plugbait", 			    	["label"] = "Plug Bait", 		     	['weight'] = 100, 		["type"] = "item", 		["image"] = "plugbait.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["reddrum"] 				 = {["name"] = "reddrum", 			    	["label"] = "Red Drum", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "reddrum.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyak"] 				 = {["name"] = "rustyak", 			    	["label"] = "rusty ak", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyak.png", 			    	["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyantenna"] 			 = {["name"] = "rustyantenna", 			    ["label"] = "rusty antenna", 			["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyantenna.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustybike"] 				 = {["name"] = "rustybike", 			    ["label"] = "rusty bike", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "rustybike.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustychain"] 				 = {["name"] = "rustychain", 			    ["label"] = "rusty chain", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "rustychain.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyelectronickit"] 		 = {["name"] = "rustyelectronickit", 		["label"] = "rusty electronickit", 		["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyelectronickit.png", 		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustypistol"] 			 = {["name"] = "rustypistol", 			    ["label"] = "rusty pistol", 			["weight"] = 100, 		["type"] = "item", 		["image"] = "rustypistol.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyraspberrypi"] 		 = {["name"] = "rustyraspberrypi", 			["label"] = "rusty raspberrypi", 		["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyraspberrypi.png", 		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustysafe"] 				 = {["name"] = "rustysafe", 			    ["label"] = "rusty safe", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "closedsafe.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyscanner"] 			 = {["name"] = "rustyscanner", 			    ["label"] = "rusty scanner", 			["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyscanner.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyscrapmetal"] 		 = {["name"] = "rustyscrapmetal", 			["label"] = "rusty scrapmetal", 		["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyscrapmetal.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyshotgun"] 			 = {["name"] = "rustyshotgun", 			    ["label"] = "rusty shotgun", 			["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyshotgun.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustysign"] 				 = {["name"] = "rustysign", 			    ["label"] = "rusty sign", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "rustysign.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustytire"] 				 = {["name"] = "rustytire", 			    ["label"] = "rusty tire", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "rustytire.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustyusb"] 				 = {["name"] = "rustyusb", 			    	["label"] = "rusty usb", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyusb.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["rustywheelchair"] 		 = {["name"] = "rustywheelchair", 			["label"] = "rusty wheelchair", 		["weight"] = 100, 		["type"] = "item", 		["image"] = "rustywheelchair.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["salmon"] 				     = {["name"] = "salmon", 			    	["label"] = "Salmon", 		     		['weight'] = 100, 		["type"] = "item", 		["image"] = "salmon.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["seaturtle"] 				 = {["name"] = "seaturtle", 			    ["label"] = "Sea Turtle", 		     	['weight'] = 100, 		["type"] = "item", 		["image"] = "seaturtle.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["sheetmetal"] 				 = {["name"] = "sheetmetal", 			    ["label"] = "sheet metal", 			    ["weight"] = 100, 		["type"] = "item", 		["image"] = "rustyelectronickit.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["softplasticbait"] 		 = {["name"] = "softplasticbait", 			["label"] = "Soft Plastic Bait", 		['weight'] = 100, 		["type"] = "item", 		["image"] = "softplasticbait.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["spermwhale"] 				 = {["name"] = "spermwhale", 			    ["label"] = "Sperm Whale", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "spermwhale.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["spinnerbait"] 		     = {["name"] = "spinnerbait", 			    ["label"] = "Spinner Bait", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "spinnerbait.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["steelhead"] 				 = {["name"] = "steelhead", 			    ["label"] = "Steelhead", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "steelhead.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["stripeddolphin"] 			 = {["name"] = "stripeddolphin", 			["label"] = "Striped Dolphin", 		    ['weight'] = 100, 		["type"] = "item", 		["image"] = "stripeddolphin.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["tigershark"] 				 = {["name"] = "tigershark", 			    ["label"] = "Tiger Shark", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "tigershark.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["tortoise"] 				 = {["name"] = "tortoise", 			    	["label"] = "Tortoise", 		     	['weight'] = 100, 		["type"] = "item", 		["image"] = "tortoise.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},
["trout"] 				     = {["name"] = "trout", 			    	["label"] = "Trout", 		    		['weight'] = 100, 		["type"] = "item", 		["image"] = "trout.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["tunafish"] 				 = {["name"] = "tunafish", 			    	["label"] = "Tuna", 		     		['weight'] = 100, 		["type"] = "item", 		["image"] = "tuna.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["whitebass"] 				 = {["name"] = "whitebass", 			    ["label"] = "White Bass", 		     	['weight'] = 100, 		["type"] = "item", 		["image"] = "largemouthbass.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["worms"] 				     = {["name"] = "worms", 			    	["label"] = "worms", 		     		['weight'] = 100, 		["type"] = "item", 		["image"] = "worm.png", 			   		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,		["description"] = ""},
["illegalpole"] 				 = {["name"] = "illegalpole", 			    ["label"] = "Really Strong Pole", 		    	['weight'] = 100, 		["type"] = "item", 		["image"] = "fishingpole.png", 			    ["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,	    ["description"] = ""},																																																																				    

OR if you use ox_inv credits to Avenge

['atlanticdolphin'] = {
	label = 'Atlantic Dolphin',
	weight = 300,
	stack = true,
	close = false,
	description = "A beautiful atlantic dolphin!"
},

['belugawhale'] = {
	label = 'Beluga Whale',
	weight = 300,
	stack = true,
	close = false,
	description = "How did you catch this with only a rod?!"
},

['bluefish'] = {
	label = 'Blue Fish',
	weight = 300,
	stack = true,
	close = false,
	description = "A very blue fish"
},

['bluewhale'] = {
	label = 'Blue Whale',
	weight = 300,
	stack = true,
	close = false,
	description = "Okay, you're joking right?"
},

['catfish'] = {
	label = 'Cat Fish',
	weight = 300,
	stack = true,
	close = false,
	description = "A perrrrrrfect looking fish"
},

['chileandolphin'] = {
	label = 'Chileando Dolphin',
	weight = 300,
	stack = true,
	close = false,
	description = "A beautiful dolphin"
},

['chum'] = {
	label = 'Chum',
	weight = 300,
	stack = true,
	close = false,
	description = "A bucket of suspicous bait"
},

['closedsafe'] = {
	label = 'Rusted Safe',
	weight = 300,
	stack = true,
	close = false,
	description = "A water bogged, rusty safe"
},

['copperpipe'] = {
	label = 'Rusted Copper Pipe',
	weight = 300,
	stack = true,
	close = false,
	description = "A corroded, rusty copper pipe"
},

['fishingpole'] = {
	label = 'Fishing Pole',
	weight = 300,
	stack = true,
	close = false,
	description = "I can catch something with this!"
},

['flounder'] = {
	label = 'Flounder',
	weight = 300,
	stack = true,
	close = false,
	description = "A yellow-ish fish"
},

['goblinshark'] = {
	label = 'Goblin Shark',
	weight = 300,
	stack = true,
	close = false,
	description = "Fuck me, it's ugly!"
},

['groundshark'] = {
	label = 'Ground Shark',
	weight = 300,
	stack = true,
	close = false,
	description = "I'm sure I've seen this somewhere before"
},

['halibut'] = {
	label = 'Halibut',
	weight = 300,
	stack = true,
	close = false,
	description = "A fish when cooked correctly is delicous"
},

['largemouthbass'] = {
	label = 'Large Mouth Bass',
	weight = 300,
	stack = true,
	close = false,
	description = "A bass with a big mouth, I wounder?"
},

['leatherheadturtle'] = {
	label = 'Leather Head Turtle',
	weight = 300,
	stack = true,
	close = false,
	description = "A majestic turtle"
},

['magnet'] = {
	label = 'Magnet',
	weight = 300,
	stack = true,
	close = false,
	description = "A form of bait for certain fishing methods"
},

['narwhal'] = {
	label = 'Narwhal',
	weight = 300,
	stack = true,
	close = false,
	description = "A unicorn whale!"
},

['panfish'] = {
	label = 'Pan fish',
	weight = 300,
	stack = true,
	close = false,
	description = "A fresh-water fish"
},

['panfish'] = {
	label = 'Pan fish',
	weight = 300,
	stack = true,
	close = false,
	description = "A fresh-water fish"
},

['plugbait'] = {
	label = 'Plug Bait',
	weight = 300,
	stack = true,
	close = false,
	description = "A form of bait for certain fishing methods"
},

['reddrum'] = {
	label = 'Red Drum',
	weight = 300,
	stack = true,
	close = false,
	description = "A large, game fish"
},

['rustyak'] = {
	label = 'Rusty Assault Rifle',
	weight = 300,
	stack = true,
	close = false,
	description = "An unusable, rusty assault rifle"
},

['rustyantenna'] = {
	label = 'Rusty Antenna',
	weight = 300,
	stack = true,
	close = false,
	description = "A rusty antenna"
},

['rustybike'] = {
	label = 'Rusty Bike',
	weight = 300,
	stack = true,
	close = false,
	description = "A rusty push bike"
},

['rustychain'] = {
	label = 'Rusted Chain',
	weight = 300,
	stack = true,
	close = false,
	description = "A rusty, corroded chain"
},

['rustyelectronickit'] = {
	label = 'Rusty Electronic Kit',
	weight = 300,
	stack = true,
	close = false,
	description = "A rusty, corroded electronic kit"
},

['rustypistol'] = {
	label = 'Rusted Pistol',
	weight = 300,
	stack = true,
	close = false,
	description = "An unusable, rusty pistol"
},

['rustyraspberrypi'] = {
	label = 'Rusty Raspberry Pi',
	weight = 300,
	stack = true,
	close = false,
	description = "This was once useable, that time has passed"
},

['rustyscanner'] = {
	label = 'Rusty Scanner',
	weight = 300,
	stack = true,
	close = false,
	description = "This was once useable, that time has passed"
},

['rustyscrapmetal'] = {
	label = 'Rusty Scrap Metal',
	weight = 300,
	stack = true,
	close = false,
	description = "Rusty assortment of metals"
},

['rustyshotgun'] = {
	label = 'Rusty Shotgun',
	weight = 300,
	stack = true,
	close = false,
	description = "An unusable, rusty shotgun"
},

['rustysign'] = {
	label = 'Rusty Sign',
	weight = 300,
	stack = true,
	close = false,
	description = "A rusty sign post"
},

['rustytire'] = {
	label = 'Rusty Tire',
	weight = 300,
	stack = true,
	close = false,
	description = "A rusty rim and corroded tire"
},

['rustyusb'] = {
	label = 'Rusty USB',
	weight = 300,
	stack = true,
	close = false,
	description = "Whatever was on it is long gone"
},

['rustywheelchair'] = {
	label = 'Rusty Wheelchair',
	weight = 300,
	stack = true,
	close = false,
	description = "This would of been fun to use in a get-away"
},

['salmon'] = {
	label = 'Salmon',
	weight = 300,
	stack = true,
	close = false,
	description = "A delicous fish!"
},

['softplasticbait'] = {
	label = 'Soft Plastic Bait',
	weight = 300,
	stack = true,
	close = false,
	description = "A form of bait for certain fishing methods"
},

['spermwhale'] = {
	label = 'Sperm Whale',
	weight = 300,
	stack = true,
	close = false,
	description = "Did you have more than one person helping?"
},

['spinnerbait'] = {
	label = 'Spinner Bait',
	weight = 300,
	stack = true,
	close = false,
	description = "A form of bait for certain fishing methods"
},

['steelhead'] = {
	label = 'Steelhead Trout',
	weight = 300,
	stack = true,
	close = false,
	description = "A beautiful cold water, rainbow trout"
},

['stripeddolphin'] = {
	label = 'Striped Dolphin',
	weight = 300,
	stack = true,
	close = false,
	description = "Not sure you should be catching this!"
},

['tigershark'] = {
	label = 'Tiger Shark',
	weight = 300,
	stack = true,
	close = false,
	description = "Careful! They bite!"
},

['tortoise'] = {
	label = 'Hard Shell Tortoise',
	weight = 300,
	stack = true,
	close = false,
	description = "This creature might be 150 years old!"
},

['treasurechest'] = {
	label = 'Tresure Chest',
	weight = 300,
	stack = true,
	close = false,
	description = "Who knows what could be inside!?"
},

['trout'] = {
	label = 'Trout',
	weight = 300,
	stack = true,
	close = false,
	description = "A beautiful fish!"
},

['tuna'] = {
	label = 'Tuna',
	weight = 300,
	stack = true,
	close = false,
	description = "A large and delicous fish, this is worth alot!"
},

['whitebass'] = {
	label = 'White Bass',
	weight = 300,
	stack = true,
	close = false,
	description = "A very sought after fish!"
},

['worm'] = {
	label = 'Worm Bait',
	weight = 300,
	stack = true,
	close = false,
	description = "A form of bait for certain fishing methods"
},
['illegalpole'] = {
	label = 'Strong Pole',
	weight = 300,
	stack = true,
	close = false,
	description = "This Can Pull A lot Of Weight"
},
  • Preview

step 3

  • Modify md-fishing/config.lua to match your city.

Step 4 run the sql file

step 5 add fishsplash.ogg to interact-sound if you dont it just wont make a sound