Documentation
DiscordStore
  • STG
    • 🖐️Welcome!
  • 📕Guide
    • 🪝Create Discord Webhook
    • 🤖Create Discord Bot Token
  • Scripts
    • 🦖Multiplayer Fossil Job
      • 💡Installation
      • ⚙️Configuration
    • 🚗Vehicle Shop 2
      • 💡Installation
      • ⚙️Configuration
    • 👑Admin Menu
      • 💡Installation
      • ⚙️Configuration
    • 🍕Pizza Maker
      • 💡Installation
      • ⚙️Configuration
    • ♟️Chess
      • 💡Installation
      • ⚙️Configuration
    • 📱Basic Radio
      • 💡Installation
      • ⚙️Configuration
    • 🗺️Treasure Map
      • 💡Installation
      • ⚙️Configuration
    • 🏦Advanced Banking
      • 💡Installation
      • ⚙️Configuration
      • ⬆️Exports
    • 🤳Radio System
      • 💡Installation
      • ⚙️Configuration
    • 🥇Gold Panning
      • 💡Installation
      • ⚙️Configuration
    • 🖥️Complex Hud
      • 💡Installation
      • ⚙️Configuration
    • 💃Emote Menu
      • 💡Installation
      • ⚙️Configuration
    • 💴Money Wash
      • 💡Installation
      • ⚙️Configuration
    • 🚘Auto Pilot
      • 💡Installation
      • ⚙️Configuration
    • ⛽Fuel
      • 💡Installation
      • ⚙️Configuration
    • 🫂Multicharacter
      • 💡Installation
      • ⚙️Configuration
    • 🛒3 in 1 Shop
      • 💡Installation
      • ⚙️Configuration
    • 🍎Fruit Job
      • 💡Installation
      • ⚙️Configuration
    • 🍾Bottle Spin
      • 💡Installation
      • ⚙️Configuration
    • 🍕Pizza Delivery
      • 💡Installation
      • ⚙️Configuration
    • 📦Blind Fold
      • 💡Installation
      • ⚙️Configuration
    • 🔫Weapon Shop
      • 💡Installation
      • ⚙️Configuration
    • 💻Hud
      • 💡Installation
      • ⚙️Configuration
    • 🔃Loading Screen
      • 💡Installation
      • ⚙️Configuration
    • ⌚Smart Watch
      • 💡Installation
      • ⚙️Configuration
    • 🎮Hand Console 2
      • 💡Installation
      • ⚙️Configuration
    • 👒Appearance
      • 💡Installation
      • ⚙️Configuration
    • 🃏Card Game V2
      • 💡Installation
      • ⚙️Configuration
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
    • 🎸Busker
      • 💡Installation
      • ⚙️Configuration
    • 🔫Raider
      • 💡Installation
      • ⚙️Configuration
    • 🗃️Wallet
      • 💡Installation
      • ⚙️Configuration
    • 🐔Butcher
      • 💡Installation
      • ⚙️Configuration
    • 🃏Card Game
      • 💡Installation
      • ⚙️Configuration
    • 🎮Hand Console
      • 💡Installation
      • ⚙️Configuration
    • 🎲Rubik Cube
      • 💡Installation
      • ⚙️Configuration
    • 👮Jail
      • 💡Installation
      • ⚙️Configuration
    • 🖼️Custom Frame
      • 💡Installation
      • ⚙️Configuration
    • 🎮Gamepad
      • 💡Installation
      • ⚙️Configuration
    • 🏦Banking
      • 💡Installation
      • ⚙️Configuration
    • 🗺️Pause Menu
      • 💡Installation
      • ⚙️Configuration
    • 👒Clothing Store
      • 💡Installation
      • ⚙️Configuration
    • 🚙Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
    • 🧬Character Creator
      • 💡Installation
      • ⚙️Configuration
    • 🛒Purchaseable Market
      • 💡Installation
      • ⚙️Configuration
    • 📄Billing
      • 💡Installation
      • ⚙️Configuration
  • 🎸Copy of Busker
    • 💡Installation
    • ⚙️Configuration
Powered by GitBook
On this page
  • 🦖 Fossil Script Configuration Guide
  • 🔧 General Settings
  • 🚘 Vehicle Functions
  • 📍 Delivery Configuration
  • ⬆️ Level System
  • 🔹 Main Menu Config
  • 📍 World Blips
  • 🧜 Fossils Definition
  • 🚧 Task Sites
  • 🤝 Framework Detection
  1. Scripts
  2. Multiplayer Fossil Job

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

Key
Description

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)

Assigns vehicle keys depending on whether qb-vehiclekeys is installed.

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

PreviousInstallationNextVehicle Shop 2

Last updated 4 days ago

🦖
⚙️