Config File

Config = { 
    Target = 'qb-target', -- Target system. 'qb-target', 'ox-target', 'qtarget'
    Fuel = 'ps-fuel', -- Fuel system. 'LegacyFuel', 'ps-fuel' etc..
    Notification = 'qb-core', -- Notification system. 'qb-core' or 'ps-ui' !! If your notification system is custom, please customize at the bottom. !!

    -- Blips
    fishingArea = vector3(-1797.67, -1224.57, 1.6058),
    sellingArea = vector3(-1037.92, -1397.09, 5.5531),

    BoatPrice = 100,
    Boat = 'suntrap',
    BoatSpawn = vector4(-1787.82, -1217.85, 1.3316, 228.0),
    BoatTeleport = vector4(-1798.71, -1225.30, 1.5885, 287.8),
    TeleportPoint = vector4(-1799.18, -1224.83, 1.59, 300.0),

    Minigame = "ps-ui",
    Circle = 2, 
    Time = 10,

    FishingBaitPrice = 5,
    FishingRodPrice = 100,
    AnchorPrice = 250,
    IceBoxPrice = 1000,

    FishingBoxWeight = 18000000,
    FishingBoxSlots = 100,

    -- Legal Fish Sell Prices for each
    MackerelPrice = 50,
    CarpPrice = 75,
    CodPrice = 100,
    BassPrice = 125,
    FlounderPrice = 150,
    BluefishPrice = 200,
    CatfishPrice = 250,

    -- Exotic Fish Sell Prices for each
    SharkPrice = 500,
    DolphinPrice = 750,
    WhalePrice = 1000,

    LockboxRewards = { -- Only items
        items = { 
            [1] = {name = 'sandwich', amount = 1, chance = 20},     --   %20
            [2] = {name = 'water_bottle', amount = 2, chance = 70}, --   %70
            [3] = {name = 'fishing_key', amount = 1, chance = 10}   --   %10
        },
    },

    ChestRewards = { -- Only items
        items = { 
            [1] = {name = 'diamond_ring', amount = 1, chance = 20}, --   %20
            [2] = {name = 'wine', amount = 1, chance = 20},         --   %20
            [3] = {name = 'rolex', amount = 1, chance = 20},        --   %20
            [4] = {name = 'goldchain', amount = 1, chance = 20},    --   %20
            [5] = {name = 'goldbar', amount = 1, chance = 20},      --   %20
        },
    },

    Peds = { 
        -- Fishing Ped
        {
            model = 'a_m_m_salton_02',
            coords = vector3(-1797.67, -1224.57, 0.6058),
            heading = 131.4,
            gender = "male",
            scenario = 'WORLD_HUMAN_STAND_IMPATIENT',
        }, 
        -- Sell Ped
        {
            model = 's_m_m_migrant_01',
            coords = vector3(-1037.92, -1397.09, 4.55),
            heading = 68.91,
            gender = "male",
            scenario = 'WORLD_HUMAN_STAND_IMPATIENT',
        },
    },   
}

sendNotification = function(msg, type)
    if Config.Notification == 'qb-core' then
        QBCore.Functions.Notify(msg, type)
    elseif Config.Notification == 'ps-ui' then
        exports['ps-ui']:Notify(msg, type) 
    end
end

Last updated