Skip to content

Installation ​

This guide will walk you through installing prp-fishing on your FiveM server.

Installation steps

1
Download the resources
Download both prp-fishing and prp-fishing-assets from the CFX portal and place them in your resources folder.
2
Add to server.cfg
Add both resources to your server.cfg after all dependencies, with the assets resource before the main script.
ensure oxmysql
ensure ox_lib
ensure prp-bridge
ensure prp-fishing-assets
ensure prp-minigames
ensure prp-fishing
3
Add items
Add all required items to your inventory resource — see Items below.
4
Database
The required database tables are created automatically on first run.
5
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
["basic_fishing_rod"] = {
    label = "Basic Fishing Rod",
    weight = 800
},
["sport_fishing_rod"] = {
    label = "Sport Fishing Rod",
    weight = 1000
},
["professional_fishing_rod"] = {
    label = "Professional Fishing Rod",
    weight = 1200
},
["prodigy_fishing_rod"] = {
    label = "Prodigy Fishing Rod",
    weight = 1400,
},
["aqua_fishing_rod"] = {
    label = "Aqua Fishing Rod",
    weight = 1500,
    closeUi = true
},
["sunset_fishing_rod"] = {
    label = "Sunset Fishing Rod",
    weight = 1500
},
["golden_fishing_rod"] = {
    label = "Golden Fishing Rod",
    weight = 1500
},

-- Bait
["fishing_bait_worm"] = {
    label = "Worm Bait",
    weight = 10,
},
["fishing_bait_lugworm"] = {
    label = "Lugworm Bait",
    weight = 10,
},
["fishing_bait_radiated"] = {
    label = "Radiated Bait",
    weight = 10,
},

["small_bullhead"] = {
    label = "Bullhead",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_bullhead"] = {
    label = "Bullhead",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_bullhead"] = {
    label = "Bullhead",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_carp"] = {
    label = "Carp",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_carp"] = {
    label = "Carp",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_carp"] = {
    label = "Carp",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_catfish"] = {
    label = "Catfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_catfish"] = {
    label = "Catfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_catfish"] = {
    label = "Catfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_perch"] = {
    label = "Perch",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_perch"] = {
    label = "Perch",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_perch"] = {
    label = "Perch",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_rainbow_trout"] = {
    label = "Rainbow Trout",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_rainbow_trout"] = {
    label = "Rainbow Trout",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_rainbow_trout"] = {
    label = "Rainbow Trout",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_northern_pike"] = {
    label = "Northern Pike",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_northern_pike"] = {
    label = "Northern Pike",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_northern_pike"] = {
    label = "Northern Pike",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},

-- Saltwater Fish
["small_atlantic_croaker"] = {
    label = "Atlantic Croaker",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_atlantic_croaker"] = {
    label = "Atlantic Croaker",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_atlantic_croaker"] = {
    label = "Atlantic Croaker",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_atlantic_mackerel"] = {
    label = "Atlantic Mackerel",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_atlantic_mackerel"] = {
    label = "Atlantic Mackerel",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_atlantic_mackerel"] = {
    label = "Atlantic Mackerel",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_flounder"] = {
    label = "Flounder",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_flounder"] = {
    label = "Flounder",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_flounder"] = {
    label = "Flounder",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_red_mullet"] = {
    label = "Red Mullet",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_red_mullet"] = {
    label = "Red Mullet",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_red_mullet"] = {
    label = "Red Mullet",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_sardine"] = {
    label = "Sardine",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_sardine"] = {
    label = "Sardine",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_sardine"] = {
    label = "Sardine",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_red_snapper"] = {
    label = "Red Snapper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_red_snapper"] = {
    label = "Red Snapper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_red_snapper"] = {
    label = "Red Snapper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_salmon"] = {
    label = "Salmon",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_salmon"] = {
    label = "Salmon",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_salmon"] = {
    label = "Salmon",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_striped_bass"] = {
    label = "Striped Bass",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_striped_bass"] = {
    label = "Striped Bass",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_striped_bass"] = {
    label = "Striped Bass",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_tuna"] = {
    label = "Tuna",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_tuna"] = {
    label = "Tuna",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_tuna"] = {
    label = "Tuna",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_breamfish"] = {
    label = "Bream Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_breamfish"] = {
    label = "Bream Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_breamfish"] = {
    label = "Bream Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_hake"] = {
    label = "Hake",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_hake"] = {
    label = "Hake",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_hake"] = {
    label = "Hake",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_barracuda"] = {
    label = "Barracuda",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_barracuda"] = {
    label = "Barracuda",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_barracuda"] = {
    label = "Barracuda",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_coralgrouper"] = {
    label = "Coral Grouper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_coralgrouper"] = {
    label = "Coral Grouper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_coralgrouper"] = {
    label = "Coral Grouper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_drumfish"] = {
    label = "Drum Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_drumfish"] = {
    label = "Drum Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_drumfish"] = {
    label = "Drum Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},

-- Jellyfish
["small_jellyfish"] = {
    label = "Blue Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_jellyfish"] = {
    label = "Blue Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_jellyfish"] = {
    label = "Blue Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_jellyfish_orange"] = {
    label = "Orange Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_jellyfish_orange"] = {
    label = "Orange Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_jellyfish_orange"] = {
    label = "Orange Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_jellyfish_red"] = {
    label = "Red Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_jellyfish_red"] = {
    label = "Red Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_jellyfish_red"] = {
    label = "Red Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_jellyfish_green"] = {
    label = "Green Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_jellyfish_green"] = {
    label = "Green Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_jellyfish_green"] = {
    label = "Green Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_jellyfish_pink"] = {
    label = "Pink Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_jellyfish_pink"] = {
    label = "Pink Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_jellyfish_pink"] = {
    label = "Pink Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_jellyfish_purple"] = {
    label = "Purple Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_jellyfish_purple"] = {
    label = "Purple Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_jellyfish_purple"] = {
    label = "Purple Jellyfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_jellyfish_rainbow"] = {
    label = "Rainbow Jellyfish",
    weight = 300,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_jellyfish_rainbow"] = {
    label = "Rainbow Jellyfish",
    weight = 300,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_jellyfish_rainbow"] = {
    label = "Rainbow Jellyfish",
    weight = 300,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},

-- Golden Fish
["small_golden_fish"] = {
    label = "Golden Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_golden_fish"] = {
    label = "Golden Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_golden_fish"] = {
    label = "Golden Fish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},

-- Radiated Fish
["small_atlantic_croaker_rad"] = {
    label = "Radiated Atlantic Croaker",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_atlantic_croaker_rad"] = {
    label = "Radiated Atlantic Croaker",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_atlantic_croaker_rad"] = {
    label = "Radiated Atlantic Croaker",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_barracuda_rad"] = {
    label = "Radiated Barracuda",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_barracuda_rad"] = {
    label = "Radiated Barracuda",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_barracuda_rad"] = {
    label = "Radiated Barracuda",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_breamfish_rad"] = {
    label = "Radiated Breamfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_breamfish_rad"] = {
    label = "Radiated Breamfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_breamfish_rad"] = {
    label = "Radiated Breamfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_bullhead_rad"] = {
    label = "Radiated Bullhead",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_bullhead_rad"] = {
    label = "Radiated Bullhead",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_bullhead_rad"] = {
    label = "Radiated Bullhead",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_carp_rad"] = {
    label = "Radiated Carp",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_carp_rad"] = {
    label = "Radiated Carp",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_carp_rad"] = {
    label = "Radiated Carp",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_catfish_rad"] = {
    label = "Radiated Catfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_catfish_rad"] = {
    label = "Radiated Catfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_catfish_rad"] = {
    label = "Radiated Catfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_coralgrouper_rad"] = {
    label = "Radiated Coral Grouper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_coralgrouper_rad"] = {
    label = "Radiated Coral Grouper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_coralgrouper_rad"] = {
    label = "Radiated Coral Grouper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_drumfish_rad"] = {
    label = "Radiated Drumfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_drumfish_rad"] = {
    label = "Radiated Drumfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_drumfish_rad"] = {
    label = "Radiated Drumfish",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_flounder_rad"] = {
    label = "Radiated Flounder",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_flounder_rad"] = {
    label = "Radiated Flounder",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_flounder_rad"] = {
    label = "Radiated Flounder",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_hake_rad"] = {
    label = "Radiated Hake",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_hake_rad"] = {
    label = "Radiated Hake",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_hake_rad"] = {
    label = "Radiated Hake",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_northern_pike_rad"] = {
    label = "Radiated Northern Pike",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_northern_pike_rad"] = {
    label = "Radiated Northern Pike",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_northern_pike_rad"] = {
    label = "Radiated Northern Pike",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_perch_rad"] = {
    label = "Radiated Perch",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_perch_rad"] = {
    label = "Radiated Perch",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_perch_rad"] = {
    label = "Radiated Perch",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_rainbow_trout_rad"] = {
    label = "Radiated Rainbow Trout",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_rainbow_trout_rad"] = {
    label = "Radiated Rainbow Trout",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_rainbow_trout_rad"] = {
    label = "Radiated Rainbow Trout",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_red_mullet_rad"] = {
    label = "Radiated Red Mullet",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_red_mullet_rad"] = {
    label = "Radiated Red Mullet",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_red_mullet_rad"] = {
    label = "Radiated Red Mullet",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_red_snapper_rad"] = {
    label = "Radiated Red Snapper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_red_snapper_rad"] = {
    label = "Radiated Red Snapper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_red_snapper_rad"] = {
    label = "Radiated Red Snapper",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_salmon_rad"] = {
    label = "Radiated Salmon",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_salmon_rad"] = {
    label = "Radiated Salmon",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_salmon_rad"] = {
    label = "Radiated Salmon",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_sardine_rad"] = {
    label = "Radiated Sardine",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_sardine_rad"] = {
    label = "Radiated Sardine",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_sardine_rad"] = {
    label = "Radiated Sardine",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_striped_bass_rad"] = {
    label = "Radiated Striped Bass",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_striped_bass_rad"] = {
    label = "Radiated Striped Bass",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_striped_bass_rad"] = {
    label = "Radiated Striped Bass",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["small_tuna_rad"] = {
    label = "Radiated Tuna",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["medium_tuna_rad"] = {
    label = "Radiated Tuna",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},
["large_tuna_rad"] = {
    label = "Radiated Tuna",
    weight = 225,
    buttons = {
        {
            label = "Cut Fish",
            action = function(slot)
                TriggerServerEvent("prp-fishing:server:cutFish", slot)
            end,
        }
    }
},

-- Fishing misc
["fishing_boot"] = {
    label = "Fishing Boot",
    weight = 1000
},

["fish_meat"] = {
    label = "Fish Meat",
    weight = 100
},

-- Fishing Trophies
["pr_trophy_fish_january"] = {
    label = "Fishing Trophy (January)",
    weight = 2000,
},
["pr_trophy_fish_february"] = {
    label = "Fishing Trophy (February)",
    weight = 2000,
},
["pr_trophy_fish_march"] = {
    label = "Fishing Trophy (March)",
    weight = 2000,
},
["pr_trophy_fish_april"] = {
    label = "Fishing Trophy (April)",
    weight = 2000,
},
["pr_trophy_fish_may"] = {
    label = "Fishing Trophy (May)",
    weight = 2000,
},
["pr_trophy_fish_june"] = {
    label = "Fishing Trophy (June)",
    weight = 2000,
},
["pr_trophy_fish_july"] = {
    label = "Fishing Trophy (July)",
    weight = 2000,
},
["pr_trophy_fish_august"] = {
    label = "Fishing Trophy (August)",
    weight = 2000,
},
["pr_trophy_fish_september"] = {
    label = "Fishing Trophy (September)",
    weight = 2000,
},
["pr_trophy_fish_october"] = {
    label = "Fishing Trophy (October)",
    weight = 2000,
},
["pr_trophy_fish_november"] = {
    label = "Fishing Trophy (November)",
    weight = 2000,
},
["pr_trophy_fish_december"] = {
    label = "Fishing Trophy (December)",
    weight = 2000,
}

Database ​

The resource creates the following tables automatically:

sql
CREATE TABLE IF NOT EXISTS `fishing_challenges` (
    `challenge_id`   int(11) NOT NULL AUTO_INCREMENT,
    `challenge_type` varchar(50) NOT NULL,
    `data`           longtext NOT NULL,
    `reward`         varchar(255) NOT NULL,
    `is_active`      tinyint(1) DEFAULT 1,
    `start_date`     date NOT NULL,
    `end_date`       date NOT NULL,
    PRIMARY KEY (`challenge_id`)
);

CREATE TABLE IF NOT EXISTS `fishing_catches` (
    `id`             int(11) NOT NULL AUTO_INCREMENT,
    `state_id`       varchar(50) NULL,
    `character_name` varchar(100) NULL,
    `item_name`      varchar(50) NULL,
    `item_count`     int(11) NULL,
    `item_weight`    double NULL,
    `time_caught`    datetime DEFAULT current_timestamp(),
    PRIMARY KEY (`id`),
    INDEX `fishing_catches_item_name_index` (`item_name`)
);

CREATE TABLE IF NOT EXISTS `fishing_challenges_completed` (
    `id`             int(11) NOT NULL AUTO_INCREMENT,
    `state_id`       varchar(50) NOT NULL,
    `challenge`      int(11) NOT NULL,
    `time_completed` datetime DEFAULT current_timestamp(),
    PRIMARY KEY (`id`)
);

CREATE TABLE IF NOT EXISTS `fishing_tournaments_won` (
    `id`          int(11) NOT NULL AUTO_INCREMENT,
    `state_id`    varchar(50) NOT NULL,
    `leaderboard` enum('monthly', 'weekly') NULL,
    `period_won`  datetime DEFAULT current_timestamp() NOT NULL,
    `paid_out`    datetime DEFAULT current_timestamp() NULL,
    PRIMARY KEY (`id`)
);