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
Last updated