[{"data":1,"prerenderedAt":311},["ShallowReactive",2],{"/docs/scripts/treasurehunt/reference/commands":3,"/docs/scripts/treasurehunt/reference/commands-surround":299,"/docs/scripts/treasurehunt/reference/commands-implemented-suggestions":310},{"id":4,"title":5,"body":6,"description":289,"extension":290,"head":291,"implementedSuggestions":291,"meta":292,"navigation":293,"path":294,"schemaOrg":291,"seo":295,"sitemap":296,"stem":297,"__hash__":298},"docs/1.docs/scripts/6.treasurehunt/4.reference/2.commands.md","Commands and controls",{"type":7,"value":8,"toc":283},"minimark",[9,14,18,136,149,153,163,204,207,210,214,229,246,257,279],[10,11,13],"h2",{"id":12},"player-controls","Player controls",[15,16,17],"p",{},"Use equipment through your inventory. The HUD shows the relevant action and key for the active tool.",[19,20,21,37],"table",{},[22,23,24],"thead",{},[25,26,27,31,34],"tr",{},[28,29,30],"th",{},"Action",[28,32,33],{},"Default",[28,35,36],{},"Notes",[38,39,40,52,63,74,84,94,104,114,125],"tbody",{},[25,41,42,46,49],{},[43,44,45],"td",{},"Open the dealer",[43,47,48],{},"E",[43,50,51],{},"Only near the configured dealer; target interaction is also supported",[25,53,54,57,60],{},[43,55,56],{},"Put away detector or shovel",[43,58,59],{},"X",[43,61,62],{},"Uses the Treasure Hunt stow binding",[25,64,65,68,71],{},[43,66,67],{},"Toggle detector/shovel sound",[43,69,70],{},"F9",[43,72,73],{},"Applies while using the relevant tool",[25,75,76,79,81],{},[43,77,78],{},"Cast or finish a magnet action",[43,80,48],{},[43,82,83],{},"Uses the configured gameplay control",[25,85,86,89,91],{},[43,87,88],{},"Cancel magnet fishing",[43,90,59],{},[43,92,93],{},"Uses the configured cancel control",[25,95,96,99,101],{},[43,97,98],{},"Recover a diving find",[43,100,48],{},[43,102,103],{},"Only close to a valid underwater find",[25,105,106,109,111],{},[43,107,108],{},"Remove scuba gear",[43,110,59],{},[43,112,113],{},"Subject to the gear's current activity state",[25,115,116,119,122],{},[43,117,118],{},"Search a bin / cancel",[43,120,121],{},"E / X",[43,123,124],{},"Only near a supported bin; search can also use a target provider",[25,126,127,130,133],{},[43,128,129],{},"Close the shop",[43,131,132],{},"Escape",[43,134,135],{},"Returns control to the game",[15,137,138,139,143,144,148],{},"FiveM key bindings can differ from these defaults. For the registered shop, tool, diving and bin commands, check ",[140,141,142],"strong",{},"Settings → Key Bindings → FiveM",". Magnet actions use the numeric controls configured in ",[145,146,147],"code",{},"Config.Magnet","; detector/shovel digging also uses the gameplay control displayed by the HUD.",[10,150,152],{"id":151},"administrator-commands","Administrator commands",[15,154,155,156,159,160,162],{},"Run these in player chat with a leading ",[145,157,158],{},"/",", or from the server console without ",[145,161,158],{},". The target must be an online player.",[19,164,165,175],{},[22,166,167],{},[25,168,169,172],{},[28,170,171],{},"Command",[28,173,174],{},"Effect",[38,176,177,191],{},[25,178,179,184],{},[43,180,181],{},[145,182,183],{},"/treasure_level \u003CplayerId> \u003Clevel>",[43,185,186,187,190],{},"Sets the target's ",[140,188,189],{},"detector"," progression level",[25,192,193,198],{},[43,194,195],{},[145,196,197],{},"/treasure_skills_reset \u003CplayerId>",[43,199,200,201,203],{},"Clears learned ",[140,202,189],{}," skills, leaving earned XP available for redistribution",[15,205,206],{},"These commands do not set or reset General, Magnet fishing, Diving or Searching bins progression. They do not clear the find album, inventory or stored scuba air.",[15,208,209],{},"The level must be a whole number within the configured detector progression range. Lowering it is rejected if existing skills require a higher level or spend more points than the new level allows. Reset the detector skills first when you intend to make that change.",[10,211,213],{"id":212},"access","Access",[15,215,216,217,220,221,224,225,228],{},"The server console is allowed. In-game administrators need the ACE configured in ",[145,218,219],{},"ServerConfig.Admin.ace",", defaulting to ",[145,222,223],{},"sky_treasurehunt.admin",". For a server already using ",[145,226,227],{},"group.admin",":",[230,231,237],"pre",{"className":232,"code":233,"filename":234,"language":235,"meta":236,"style":236},"language-cfg shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","add_ace group.admin sky_treasurehunt.admin allow\n","server.cfg","cfg","",[145,238,239],{"__ignoreMap":236},[240,241,244],"span",{"class":242,"line":243},"line",1,[240,245,233],{},[15,247,248,249,256],{},"This grants the permission to that group; it does not add a player to the group. Keep membership in your existing server permission setup. See the ",[250,251,255],"a",{"href":252,"rel":253},"https://docs.fivem.net/docs/server-manual/server-commands/#access-control-commands",[254],"nofollow","FiveM access-control reference"," for ACE and principal configuration.",[15,258,259,262,263,266,267,270,271,274,275,278],{},[145,260,261],{},"requireDuty"," is ",[145,264,265],{},"false"," by default. If enabled, ",[145,268,269],{},"ServerConfig.IsAdminOnDuty"," must be connected to your admin system. The supplied function denies duty access until implemented. The resource has no ",[145,272,273],{},"/treasureconfig"," or Treasure Hunt ",[145,276,277],{},"/jobconfig"," command.",[280,281,282],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":236,"searchDepth":243,"depth":284,"links":285},2,[286,287,288],{"id":12,"depth":284,"text":13},{"id":151,"depth":284,"text":152},{"id":212,"depth":284,"text":213},"Default player bindings, administrator access and the exact scope of Treasure Hunt's progression commands.","md",null,{},true,"/docs/scripts/treasurehunt/reference/commands",{"title":5,"description":289},{"loc":294},"1.docs/scripts/6.treasurehunt/4.reference/2.commands","OtihhhtvriuR-TQC1ZLG0uv7jMeUA_ryzNGU10pjJkk",[300,305],{"title":301,"path":302,"stem":303,"description":304,"children":-1},"Inventory items","/docs/scripts/treasurehunt/reference/inventory-items","1.docs/scripts/6.treasurehunt/4.reference/1.inventory-items","Copyable inventory definitions for all 72 Sky Treasure Hunt items in eight supported inventory formats.",{"title":306,"path":307,"stem":308,"description":309,"children":-1},"Database and updates","/docs/scripts/treasurehunt/reference/database-and-updates","1.docs/scripts/6.treasurehunt/4.reference/3.database-and-updates","Know which Treasure Hunt data to back up and what the included migrations change for existing characters.",[],1791911969844]