Configuration
Configuration guide of Mutliplayer Fossil Hunt.
🦖 Fossil Script Configuration Guide
Welcome to the Fossil Job Script Configuration. This document explains each configuration option available in your config.lua
file to help you set up and customize your script.
🔧 General Settings
Framework
Sets which framework to use. Options: "auto"
, "esx"
, or "qb"
.
Target
If true
, enables target-based interaction (ox_target or qb-target).
Language
Sets the language. Options: en
, de
, fr
, es
, pt
.
ProgressBar
Choose progress bar type: "lib"
or "qb"
.
digTime
Time in seconds for digging when nothing is found.
🚘 Vehicle Functions
giveKey(vehicle, plate)
giveKey(vehicle, plate)
Assigns vehicle keys depending on whether qb-vehiclekeys
is installed.
setFuel(vehicle)
setFuel(vehicle)
If LegacyFuel
is running, sets the vehicle's fuel to full.
📍 Delivery Configuration
Config.delivery = {
npc = "cs_joeminuteman",
coord = vec4(43.9228, -1313.3883, 28.3189, 324.6807)
}
Defines the NPC and coordinates for fossil delivery.
⬆️ Level System
Configure experience levels and thresholds.
Config.Levels = {
{ level = 1, nextLevel = 200 },
{ level = 2, nextLevel = 400 },
{ level = 3, nextLevel = 800 },
{ level = 4, nextLevel = 1500 },
{ level = 5, nextLevel = false },
}
🔹 Main Menu Config
Config.Menu = {
coord = vec4(...),
npc = "cs_joeminuteman",
finish_point = {
coord = vec3(...),
marker = {
color = {r=0,g=255,b=0,a=150},
type = 1,
size = vector3(2.0,2.0,2.0)
}
},
vehicle = {
model = "bison",
coord = vec4(...),
plate = { active = true, prefix = "FOSSIL" }
},
blip = {
label = "Fossil Hunter",
sprite = 540,
scale = 0.7,
color = 5,
visible = true
}
}
📍 World Blips
Config.Blip = {
["fosil_area"] = {
coord = vec3(...),
label = "Cargo Center",
sprite = 160,
color = 1,
scale = 0.7,
visible = true
}
}
🧜 Fossils Definition
Config.Fossils = {
{
name = "trex",
label = "T-Rex",
prop = "qua_rock_fossil_2b",
clean_prop = "qua_fossil_2",
description = "...",
dig_time = 7
},
...
}
Defines fossil types, their properties, and digging times.
🚧 Task Sites
Each task is a dig site with rewards, level limits, and required players.
Config.Tasks = {
{
label = "Fosil Site A",
icon = "fossile_1.png",
coord = vec3(...),
radius = 25.0,
details = "...",
level = false,
players = { min = 1, max = 4 },
reward = { exp = 50, money = 100 },
list = {
{ name = "ammonite", amount = 2 },
{ name = "body", amount = 1 }
}
},
...
}
🤝 Framework Detection
function getFramework()
-- auto-detects between ESX or QBCore
end
Automatically uses the available framework if Config.Framework = "auto"
.
For more help, contact support via discord.gg/stg.
🛒 Note: You can find this script on our Tebex store: STG Tebex
Last updated