Config File
Config = {}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Framework Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Framework = "newesx" -- Framework version: "oldesx" (old version) | "newesx" (new version)
Config.AccessPoint = "DrawText" -- Interaction type: "DrawText" | "TextUi" | "ox_target" | "qb-target"
Config.Notif = "OX" -- Notification system: "ESX" | "OX"
Config.Everywhere = false -- false = use only zone, and session | true = not need start session and not go to a zone
-- ╔═════════════════════════════════════════════════════════════════════╗
-- ║ Main Settings ║
-- ╚═════════════════════════════════════════════════════════════════════╝
Config.Fishing = {
CheckLicense = {
use = true, -- Enable/disable license check
name = "fishing_license" -- License item name
},
Vehicle = {
use = true, -- Enable/disable vehicle spawning
model = "speeder2", -- Vehicle model
PosVehicle = vector4(1293.729, 4225.657, 30.50346, 168.7762) -- Spawn position vehicle
},
Fishing = {
PosFishing = vector4(1301.98, 4226.886, 33.90863, 79.98521),
ItemStart = {
Use = true,
Takeend = true, -- True = remove given items at end | False = keep items
ItemGiveStart = {
["fishing_rod"] = 1,
},
},
SkillCheckInterval = {10, 12}, -- Interval range for fishing progress bar (seconds)
SkillCheck = {
Keys = {"a", "z", "e"}, -- Keys for skill check (randomly selected)
DifficultyRarity = { -- Difficulty levels (ox_lib skill check)
["common"] = "easy",
["uncommon"] = "easy",
["rare"] = "medium",
["very_rare"] = "hard",
},
MaxChecks = 3, -- Maximum number of skill checks per attempt (random between 1 and this value)
},
StopFishingKey = 73, -- Key to stop fishing (73 = X)
StopFishingKeyName = "X", -- Display name for the key
ZoneFishing = {
{coords = vector3(478.0444, 3911.183, 29.35178), size = 100.0},
{coords = vector3(1501.313, 4114.238, 29.48006), size = 100.0},
{coords = vector3(2151.976, 4315.749, 29.70622), size = 100.0},
},
RodProp = {
Model = "prop_fishing_rod_01", -- Prop model for fishing rod
Bone = 57005,
Offset = {x = 0.3, y = 0.0, z = -0.1}, -- Adjusted position offset
Rotation = {x = 90.0, y = 0.0, z = 90.0} -- Adjusted rotation
}
},
Sell = {
use = true, -- Enable/disable selling
PosSell = vector4(1306.896, 4243.815, 33.9087, 81.23736),
min = 0, -- Minimum fish for sale
PriceSell = { -- Prices by item category
["common"] = 100,
["uncommon"] = 200,
["rare"] = 300,
["very_rare"] = 500,
},
}
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Fishing Loot ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.FishingLoot = {
{ item = "anchovy", rarity = "common", chance = 60.0 },
{ item = "grouper", rarity = "common", chance = 60.0 },
{ item = "haddock", rarity = "common", chance = 60.0 },
{ item = "piranha", rarity = "uncommon", chance = 40.0 },
{ item = "salmon", rarity = "uncommon", chance = 40.0 },
{ item = "trout", rarity = "uncommon", chance = 40.0 },
{ item = "tuna", rarity = "rare", chance = 25.0 },
{ item = "shark", rarity = "very_rare", chance = 10.0 }
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ NPC Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Ped = {
Fishing = {
Use = true, -- Enable/disable fishing NPC
Model = "a_m_m_farmer_01", -- NPC model
Anim = "WORLD_HUMAN_CLIPBOARD" -- NPC animation
},
Sell = {
Use = true, -- Enable/disable selling NPC
Model = "a_m_m_hillbilly_01", -- NPC model
Anim = "WORLD_HUMAN_CLIPBOARD" -- NPC animation
}
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Item Labels ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.ItemLabels = {
["fishing_rod"] = "Fishing Rod",
["fishing_license"] = "Fishing License",
["anchovy"] = "Anchovy",
["grouper"] = "Grouper",
["haddock"] = "Haddock",
["piranha"] = "Piranha",
["salmon"] = "Salmon",
["shark"] = "Shark",
["trout"] = "Trout",
["tuna"] = "Tuna",
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Icons Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Icon = {
startfishing = "fa-solid fa-play", -- Start fishing icon
stopfishing = "fa-solid fa-stop", -- Stop fishing icon
sellfish = "fa-sharp fa-solid fa-dollar-sign", -- Sell fish icon
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Blips Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Blips = {
Fishing = {
Use = true,
Model = 754, -- Blip sprite
Size = 0.8, -- Blip scale
Color = 3, -- Blip color
Text = "Fishing" -- Blip label
},
FishingZone = {
Use = true,
Model = 914,
Size = 0.8,
Color = 3,
Text = "Fishing - Zone"
},
Sell = {
Use = true,
Model = 108,
Size = 0.8,
Color = 13,
Text = "Fishing - Sell"
}
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Webhook Discord ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Logging = {
use = true,
webhook = "https://discord.com/api/webhooks/..."
}
-- ╔════════════════════════════════════════════════════════════════════╗
-- ║ Text Settings ║
-- ╚════════════════════════════════════════════════════════════════════╝
Config.Text = {
Currency = "$",
-- Main Actions
StartFishing = "Start Fishing",
StopFishing = "Stop Fishing",
SellFish = "Sell Fish",
-- Fishing
SessionStart = "Session Started",
SessionEnded = "Session Ended",
NeedLicense = "You need a fishing license",
VehicleGiven = "You received a fishing vehicle",
VehicleRemoved = "The fishing vehicle has been returned",
CannotFishHere = "You cannot fish here",
FishingFailed = "You failed to catch a fish",
FishingSuccess = "You caught a fish!",
NeedWater = "You need water for fishing",
StartBefore = "You must start a fishing session first",
AlreadyFishing = "You are already fishing",
NotVehicle = "You cannot fish from a vehicle",
StoppedFishing = "You stopped fishing",
NeedFishingRod = "You need a fishing rod",
NeedStart = "You must start a fishing session",
-- Selling
AmountSell = "Amount to sell",
AmountSellDesc = "Enter the amount of fish you want to sell",
InvalidAmount = "Invalid amount entered !",
Sold = "You sold",
Fish2 = "fish for",
NoEnough = "You don't have enough",
InInventory = "in your inventory",
MinSell = "You have to sell at least",
RarityFish = "Rarity of Fish",
Common = "Common",
Uncommon = "Uncommon",
Rare = "Rare",
VeryRare = "Very Rare",
TypeFish = "Type of Fish",
-- Webhook Discord
Player = "Player",
License = "License",
Action = "Action",
Sell = "Sell",
-- Others
Error = "Error",
Success = "Success",
Info = "Info",
Warning = "Warning"
}
Last updated