Documentation
DiscordStore
  • STG
    • 🖐️Welcome!
  • 📕Guide
    • 🪝Create Discord Webhook
    • 🤖Create Discord Bot Token
  • Scripts
    • 🍕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
  1. Scripts
  2. Treasure Map

Configuration

Configuration guide of Treasure Map System.

The STG Treasure Hunt Script offers players an immersive treasure-hunting experience, complete with interactive gameplay mechanics, customizable rewards, and detailed visuals. Perfect for roleplay servers, this script brings an exciting new activity that will keep your community engaged and entertained.


General Settings

Parameter

Description

Example Value

Config.Framework

Determines which framework to use: auto, esx, or qb.

"auto"

Config.Language

Sets the language for in-game messages.

"en"

Config.ChestModel

The model used for the treasure chest object.

"xm_prop_x17_chest_closed"

Config.Shovel

Cost of the shovel in-game.

5000


Treasure Settings

Parameter

Description

Example Value

Config.digTime

Time (in ms) taken to dig and find treasure.

{ found = 8000, not_found = 2000 }

Config.TreasurePoints

Coordinates of treasure spawn points.

vec3(768.6719, 415.0298, 141.7109)


Items

Parameter

Description

Example Value

Config.Items.small

Name of the small treasure map item.

"treasure_map_small"

Config.Items.shovel

Name of the shovel item.

"shovel"


Maps

Map Type

Number of Treasures

Price

Small Map

1

$2500

Medium Map

2

$5000

Big Map

3

$7500


Treasure Rewards

Item Name

Chance (%)

Price

Amount Range

Gold Bar

25%

$500

1–2

Diamond Ring

25%

$1500

1–2

Diamond

25%

$1000

1–2

Gold Chain

25%

$300

1–2


PreviousInstallationNextAdvanced Banking

Last updated 3 months ago

🗺️
⚙️