Configuration
JustFishing offers highly customizable config
Config = {}
Config.Lang = 'en'
Config.Framework = 'auto' -- Framework detection mode ('auto' for automatic detection of the server framework, e.g., esx/qb/vrp)
Config.AutoInstallDB = true -- Automatically install the database table when the server starts (if true, runs database setup)
Config.Target = nil -- Third Eye system, if you want to disable it put it = nil, if else ("ox_target", "qtarget", "qb-target")
Config.IdentifierType = 'license' -- Type of player identifier used in the database (e.g., 'license' for Rockstar license)
Config.FirstCatchBoost = 20 -- Percentage bonus (0-100) added to XP when catching a fish for the first time
Config.OpenFishListCommand = 'fish' -- Command to open the fish list UI; set to 'false' to disable
Config.BoatAnchorCommand = 'boatanchor' -- Command to toggle boat anchor; set to 'false' to disable
Config.FishingTime = {
[1] = 1000 * 50, -- Minimum fishing time in milliseconds (50 seconds)
[2] = 1000 * 60, -- Maximum fishing time in milliseconds (60 seconds)
}
Config.ReleasedFishMultiplier = 1.5 -- Multiplier applied to XP when a caught fish is released instead of kept
--Minigame
Config.MinigameSize = 4 -- Size of the minigame marker (width and height in the game world)
Config.FishingNoActionTime = 3 -- Maximum time in seconds without player action before the minigame fails
Config.FishingActionValue = 0.01 -- Amount by which the progress bar decreases when the player performs an action (e.g., pressing a key)
Config.FishingActionValueRemoveChill = 0.002 -- Amount of progress bar regeneration when the player is inactive and tension is low
Config.FishingActionValueRemove = 0.005 -- Amount of progress bar regeneration when the player is inactive and tension is higher
Config.FishingActionTensionAdd = 3.5 -- Amount by which the tension (e.g., fishing line tension) increases when the player presses a key
Config.FishingActionTensionRemove = 2.0 -- Amount by which the tension decreases when the player stops pressing a key
Config.FishMarket = {
{
coords = vec4(-1512.9260, 1517.1655, 114.2885, 74.7687),
ped = { -- or false
model = "a_m_m_beach_01",
coords = vec4(-1512.9260, 1517.1655, 114.2885, 74.7687),
type = 4,
},
blip = {
enable = true,
blipText = "Fishing Market",
blipId = 68,
blipColor = 3,
}
}
}
Config.FishRarity = {
['common'] = {
label = "Common",
fishLabel = 'Common',
chance = 40,
xp = { 50, 150 },
color = "#E9E8ED",
},
['uncommon'] = {
label = "Uncommon",
fishLabel = 'Uncommon',
chance = 30,
xp = { 150, 250 },
color = "#97F0CB",
},
['rare'] = {
label = "Rare",
fishLabel = 'Rare',
chance = 20,
xp = { 250, 350 },
color = "#8DC0E5",
},
['epic'] = {
label = "Epic",
fishLabel = 'Epic',
chance = 8,
xp = { 350, 450 },
color = "#CB8DE5",
},
['legendary'] = {
label = "Legendary",
fishLabel = 'Legendary',
chance = 2,
xp = { 450, 550 },
requiredLvl = 4,
color = "#E5C38D",
},
}
Config.FishingBait = {
['fishing_bait_1'] = {
speed = 1.0,
xp = 1.0,
},
['fishing_bait_2'] = {
speed = 0.95,
xp = 1.0,
},
['fishing_bait_3'] = {
speed = 0.90,
xp = 1.0,
},
['fishing_bait_4'] = {
speed = 1.1,
xp = 1.5,
minigame = {
noActionTime = 0.5,
actionValue = 0.9,
},
},
}
Config.FishingRods = {
['fishing_rod_1'] = {
prop = 'prop_fc_fishing_rod_01',
pos = vec3(0.18, 0.13, 0.04),
rot = vec3(55.0, 100.0, 180.0),
ropeOffset = vec3(0, 0, 1.45),
timeMultiplier = 1.5,
range = 20,
},
['fishing_rod_2'] = {
prop = 'prop_fishing_rod_01',
pos = vec3(0.18, 0.13, 0.0),
rot = vec3(55.0, 100.0, 180.0),
ropeOffset = vec3(0, 0, 2.5),
timeMultiplier = 1,
range = 40,
},
['fishing_rod_3'] = {
prop = 'prop_fc_fishing_rod_02',
pos = vec3(0.12, 0.03, 0.0),
rot = vec3(25.0, 50.0, 190.0),
ropeOffset = vec3(0, -2.17, 0),
timeMultiplier = 0.8,
range = 60,
},
}
Config.Rangs = {
[1] = {
label = "Beginner fisherman",
xp = 0,
},
[2] = {
label = "Fisherman",
xp = 10000,
},
[3] = {
label = "Experienced fisherman",
xp = 100000,
},
[4] = {
label = "Fishing fanatic",
xp = 300000,
},
}
Config.FishingPlace = {
[1] = {
label = "Easy fisheries",
items = {
[1] = {
label = "Alamo Sea",
img = "alamo-sea.webp",
xp = 0,
coords = vec2(1301.831, 4233.797),
zone = {
minZ = 15.0,
maxZ = 35.0,
coords = {
vec2(1282.031, 4295.536),
vec2(1103.400, 4151.261),
vec2(1343.662, 4080.723),
vec2(1453.676, 4138.045),
vec2(1406.139, 4265.755),
},
},
fish = {
'pumpkinseed_sunfish',
'gold_fish',
'four_spined_stickleback',
'sardine',
},
},
[2] = {
label = "Canyon",
img = "canyon.webp",
xp = 8000,
coords = vec2(-649.884, 4427.714),
zone = {
minZ = 10.0,
maxZ = 30.0,
coords = {
vec2(-796.568, 4430.100),
vec2(-704.550, 4417.316),
vec2(-557.758, 4391.065),
vec2(-562.742, 4466.191),
vec2(-733.746, 4460.739),
},
},
fish = {
'brook_lamprey',
'white_crappie',
'nile_tilapia',
'destroyed_shoe',
},
},
[3] = {
label = "Zancudo Marshes",
img = "zancudo-marshes.webp",
xp = 10000,
coords = vec2(-2080.958, 2611.782),
zone = {
minZ = -5.0,
maxZ = 15.0,
coords = {
vec2(-2178.463, 2677.547),
vec2(-2233.171, 2491.531),
vec2(-1950.448, 2455.019),
vec2(-1896.814, 2528.319),
vec2(-1843.912, 2659.243),
},
},
fish = {
'blue_catfish',
'allis_shad',
'clam_shell',
'marbled_goby',
},
},
}
},
[2] = {
label = "Medium fisheries",
items = {
[1] = {
label = "Paleto Bay",
img = "paleto-bay.webp",
xp = 25000,
coords = vec2(1525.839, 6619.025),
zone = {
minZ = -5.0,
maxZ = 15.0,
coords = {
vec2(1632.684, 6594.608),
vec2(1848.282, 6876.149),
vec2(1322.930, 6781.134),
vec2(1110.573, 6592.770),
vec2(1097.726, 6561.614),
vec2(1508.297, 6566.269),
},
},
fish = {
'northern_pike',
'pink_salmon',
'blue_runner',
'winter_flounder',
},
},
[2] = {
label = "Seaport",
img = "seaport.webp",
xp = 50000,
coords = vec2(1249.795, -2714.802),
zone = {
minZ = 0.0,
maxZ = 30.0,
coords = {
vec2(1587.251, -2735.200),
vec2(1624.371, -2898.308),
vec2(1255.133, -2877.399),
vec2(1066.841, -2843.915),
vec2(973.366, -2861.840),
vec2(976.913, -2678.967),
vec2(968.985, -2607.510),
vec2(1176.280, -2631.724),
},
},
fish = {
'pacific_cod',
'sargus_owczak',
'barracuda',
'hake',
},
},
[3] = {
label = "Tataviam Mountains",
img = "tataviam-mountains.webp",
xp = 80000,
coords = vec2(1905.875, 375.913),
zone = {
minZ = 150.0,
maxZ = 180.0,
coords = {
vec2(1682.002, -61.292),
vec2(1875.961, -80.626),
vec2(2078.241, 100.707),
vec2(2087.230, 280.096),
vec2(2072.727, 434.627),
vec2(2025.799, 521.821),
vec2(1951.006, 566.317),
vec2(1808.363, 458.364),
vec2(1816.576, 385.667),
vec2(1814.950, 269.629),
vec2(1865.107, 162.784),
vec2(1677.747, 43.864),
},
},
fish = {
'blackfin_grayling',
'redeye_bass',
'american_flathead',
'shire_turtle',
},
},
}
},
[3] = {
label = "Difficult fisheries",
items = {
[1] = {
label = "Vinewood Hills",
img = "vinewood-hills.webp",
xp = 100000,
coords = vec2(31.212, 857.976),
zone = {
minZ = 180.0,
maxZ = 220.0,
coords = {
vec2(-366.377, 816.031),
vec2(-265.433, 763.261),
vec2(-59.095, 597.567),
vec2(95.404, 639.519),
vec2(116.819, 774.468),
vec2(134.436, 795.587),
vec2(263.219, 825.966),
vec2(247.674, 890.018),
vec2(155.005, 911.945),
vec2(62.150, 1003.632),
vec2(-11.675, 1018.124),
vec2(12.820, 883.955),
vec2(-10.986, 838.452),
vec2(15.233, 752.353),
vec2(-39.440, 735.853),
vec2(-190.812, 830.376),
vec2(-224.405, 897.265),
vec2(-278.594, 960.060),
},
},
fish = {
'yellowfin_tuna',
'reef_shark',
'barracuda',
'clam_shell_pearl',
},
},
[2] = {
label = "Palomino Highlands",
img = "palomino-highlands.webp",
xp = 200000,
coords = vec2(2546.412, -1218.731),
zone = {
minZ = -5.0,
maxZ = 15.0,
coords = {
vec2(2619.603, -1176.156),
vec2(2504.497, -1193.217),
vec2(2467.090, -1244.903),
vec2(2482.733, -1662.667),
vec2(2695.793, -1628.546),
vec2(2739.922, -1622.000),
vec2(2882.593, -1461.489),
vec2(2891.764, -1332.712),
vec2(2880.659, -1264.281),
},
},
fish = {
'yellowfin_tuna',
'pacific_cod',
'reef_shark',
'blue_runner',
},
},
[3] = {
label = "Paleto Cove",
img = "paleto-cove.webp",
xp = 500000,
coords = vec2(-1727.350, 4975.133),
zone = {
minZ = -5.0,
maxZ = 20.0,
coords = {
vec2(-1763.701, 5049.909),
vec2(-1995.427, 5290.960),
vec2(-2148.124, 5153.999),
vec2(-2197.778, 5090.889),
vec2(-2223.305, 5023.766),
vec2(-2211.458, 4529.738),
vec2(-2000.085, 4533.433),
vec2(-1811.536, 4545.723),
vec2(-1744.010, 4598.208),
vec2(-1815.310, 4698.353),
vec2(-1801.651, 4820.629),
vec2(-1696.496, 4923.647),
},
},
fish = {
'northern_pike',
'yellowfin_tuna',
'reef_shark',
'pink_salmon',
'clam_shell_pearl',
},
},
}
}
}
Config.Fish = {
--Legendary
['gold_fish'] = {
label = "Gold Fish",
prop = 'prop_fc_gold_fish_01',
price = 500, -- Legendarna ryba, wysoka cena
weight = { 5, 15 }, -- Wyższy przedział wagowy
rarity = 'legendary',
category = 'fish',
img = "gold_fish.webp",
},
--Epic
['pumpkinseed_sunfish'] = {
label = "Pumpkinseed Sunfish",
prop = 'prop_fc_pumpkinseed_sunfish_01',
price = 300,
weight = { 2, 6 },
rarity = 'epic',
category = 'fish',
img = "pumpkinseed_sunfish.webp",
},
['four_spined_stickleback'] = {
label = "Four-spined stickleback",
prop = 'prop_fc_four_spined_stickleback_01',
price = 250,
weight = { 1, 3 },
rarity = 'epic',
category = 'fish',
img = "four_spined_stickleback.webp",
},
['reef_shark'] = {
label = "Reef Shark",
prop = 'prop_fc_reef_shark_01',
price = 800,
weight = { 20, 50 },
rarity = 'epic',
category = 'fish',
img = "reef_shark.webp",
},
['shire_turtle'] = {
label = "Shire Turtle",
prop = 'prop_fc_shire_turtle_01',
price = 400,
weight = { 5, 12 },
rarity = 'epic',
category = 'fish',
img = "shire_turtle.webp",
},
--Rare
['redeye_bass'] = {
label = "Redeye Bass",
prop = 'prop_fc_redeye_bass_01',
price = 200,
weight = { 4, 8 },
rarity = 'rare',
category = 'fish',
img = "redeye_bass.webp",
},
['brook_lamprey'] = {
label = "Brook Lamprey",
prop = 'prop_fc_brook_lamprey_01',
price = 180,
weight = { 2, 6 },
rarity = 'rare',
category = 'fish',
img = "brook_lamprey.webp",
},
['allis_shad'] = {
label = "Allis Shad",
prop = 'prop_fc_allis_shad_01',
price = 220,
weight = { 3, 7 },
rarity = 'rare',
category = 'fish',
img = "allis_shad.webp",
},
['yellowfin_tuna'] = {
label = "Yellowfin Tuna",
prop = 'prop_fc_yellowfin_tuna_01',
price = 350,
weight = { 10, 25 },
rarity = 'rare',
category = 'fish',
img = "yellowfin_tuna.webp",
},
['winter_flounder'] = {
label = "Winter Flounder",
prop = 'prop_fc_winter_flounder_01',
price = 300,
weight = { 4, 11 },
rarity = 'rare',
category = 'fish',
img = "winter_flounder.webp",
},
['barracuda'] = {
label = "Barracuda",
prop = 'prop_fc_barracuda_01',
price = 320,
weight = { 5, 15 },
rarity = 'rare',
category = 'fish',
img = "barracuda.webp",
},
--Uncommon
['northern_pike'] = {
label = "Northern Pike",
prop = 'prop_fc_northern_pike_01',
price = 120,
weight = { 3, 7 },
rarity = 'uncommon',
category = 'fish',
img = "northern_pike.webp",
},
['blue_catfish'] = {
label = "Blue Catfish",
prop = 'prop_fc_blue_catfish_01',
price = 150,
weight = { 4, 10 },
rarity = 'uncommon',
category = 'fish',
img = "blue_catfish.webp",
},
['blackfin_grayling'] = {
label = "Blackfin Grayling",
prop = 'prop_fc_blackfin_grayling_01',
price = 100,
weight = { 2, 5 },
rarity = 'uncommon',
category = 'fish',
img = "blackfin_grayling.webp",
},
['pacific_cod'] = {
label = "Pacific Cod",
prop = 'prop_fc_pacific_cod_01',
price = 140,
weight = { 3, 8 },
rarity = 'uncommon',
category = 'fish',
img = "pacific_cod.webp",
},
['pink_salmon'] = {
label = "Pink Salmon",
prop = 'prop_fc_pink_salmon_01',
price = 160,
weight = { 4, 9 },
rarity = 'uncommon',
category = 'fish',
img = "pink_salmon.webp",
},
['american_flathead'] = {
label = "American Flathead",
prop = 'prop_fc_american_flathead_01',
price = 130,
weight = { 3, 7 },
rarity = 'uncommon',
category = 'fish',
img = "american_flathead.webp",
},
--Common
['white_crappie'] = {
label = "White Crappie",
prop = 'prop_fc_white_crappie_01',
price = 80,
weight = { 2, 5 },
rarity = 'common',
category = 'fish',
img = "white_crappie.webp",
},
['nile_tilapia'] = {
label = "Nile Tilapia",
prop = 'prop_fc_nile_tilapia_01',
price = 60,
weight = { 1, 3 },
rarity = 'common',
category = 'fish',
img = "nile_tilapia.webp",
},
['marbled_goby'] = {
label = "Marbled Goby",
prop = 'prop_fc_marbled_goby_01',
price = 70,
weight = { 1, 3 },
rarity = 'common',
category = 'fish',
img = "marbled_goby.webp",
},
['hake'] = {
label = "Hake",
prop = 'prop_fc_hake_01',
price = 90,
weight = { 2, 5 },
rarity = 'common',
category = 'fish',
img = "hake.webp",
},
['blue_runner'] = {
label = "Blue runner",
prop = 'prop_fc_blue_runner_01',
price = 85,
weight = { 2, 4 },
rarity = 'common',
category = 'fish',
img = "blue_runner.webp",
},
['sardine'] = {
label = "Sardine",
prop = 'prop_fc_sardine_01',
price = 50,
weight = { 1, 2 },
rarity = 'common',
category = 'fish',
img = "sardine.webp",
},
['sargus_owczak'] = {
label = "Sargus Owczak",
prop = 'prop_fc_sargus_owczak_01',
price = 75,
weight = { 1, 3 },
rarity = 'common',
category = 'fish',
img = "sargus_owczak.webp",
},
--Trash
['clam_shell'] = {
label = "Clam shell",
prop = 'prop_fc_clam_shell_01',
price = 20,
weight = { 1, 2 },
rarity = 'uncommon',
category = 'trash',
img = "clam_shell.webp",
},
['destroyed_shoe'] = {
label = "Destroyed shoe",
prop = 'prop_fc_destroyed_shoe_01',
price = 10,
weight = { 1, 2 },
rarity = 'common',
category = 'trash',
img = "destroyed_shoe.webp",
},
--Special
['clam_shell_pearl'] = {
label = "Shell with pearl",
prop = 'prop_fcclam_shell_pearl_01',
price = 600,
weight = { 1, 2 },
rarity = 'common',
category = 'special',
img = "clam_shell_pearl.webp",
},
}
Last updated