Browse docs

Commands and controls

Default player bindings, administrator access and the exact scope of Treasure Hunt's progression commands.

Player controls

Use equipment through your inventory. The HUD shows the relevant action and key for the active tool.

ActionDefaultNotes
Open the dealerEOnly near the configured dealer; target interaction is also supported
Put away detector or shovelXUses the Treasure Hunt stow binding
Toggle detector/shovel soundF9Applies while using the relevant tool
Cast or finish a magnet actionEUses the configured gameplay control
Cancel magnet fishingXUses the configured cancel control
Recover a diving findEOnly close to a valid underwater find
Remove scuba gearXSubject to the gear's current activity state
Search a bin / cancelE / XOnly near a supported bin; search can also use a target provider
Close the shopEscapeReturns control to the game

FiveM key bindings can differ from these defaults. For the registered shop, tool, diving and bin commands, check Settings → Key Bindings → FiveM. Magnet actions use the numeric controls configured in Config.Magnet; detector/shovel digging also uses the gameplay control displayed by the HUD.

Administrator commands

Run these in player chat with a leading /, or from the server console without /. The target must be an online player.

CommandEffect
/treasure_level <playerId> <level>Sets the target's detector progression level
/treasure_skills_reset <playerId>Clears learned detector skills, leaving earned XP available for redistribution

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.

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.

Access

The server console is allowed. In-game administrators need the ACE configured in ServerConfig.Admin.ace, defaulting to sky_treasurehunt.admin. For a server already using group.admin:

server.cfg
add_ace group.admin sky_treasurehunt.admin allow

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 FiveM access-control reference for ACE and principal configuration.

requireDuty is false by default. If enabled, ServerConfig.IsAdminOnDuty must be connected to your admin system. The supplied function denies duty access until implemented. The resource has no /treasureconfig or Treasure Hunt /jobconfig command.