Skip to main content

Minigame Teleport Actions

MinigameTeleportActions interacts with the minigame teleport interface and its 20-minute cooldown.

Query Methods

  • isOpen() - minigame teleport interface (group 76) is visible
  • isTabOpen() - alias for isOpen()
  • canTeleport() - cooldown varbit 5063 == 0
  • getLastMinigameTeleportUsage() - varplayer 888 value, or 0 when the client is unavailable

Action Methods

  • open()InteractionResult - clicks the minigame teleport tab button when available
  • teleport(MinigameTeleport)InteractionResult - clicks the destination widget after verifying the interface is open and cooldown is clear

Example:

if (MinigameTeleportActions.isOpen() && MinigameTeleportActions.canTeleport()) {
MinigameTeleportActions.teleport(MinigameTeleport.NIGHTMARE_ZONE);
}

Status codes returned:

ConditionStatus
Interface not openMINIGAME_NOT_OPEN
Cooldown active (varbit 5063 != 0)MINIGAME_ON_COOLDOWN
Widget not foundWIDGET_NOT_FOUND
DispatchedSUCCESS

MinigameTeleport Enum

12 destinations, all in widget group 76 with even child IDs:

ConstantChild ID
PEST_CONTROL2
LAST_MAN_STANDING4
NIGHTMARE_ZONE6
BARBARIAN_ASSAULT8
TITHE_FARM10
BLAST_FURNACE12
CASTLE_WARS14
FISHING_TRAWLER16
SOUL_WARS18
TROUBLE_BREWING20
VOLCANIC_MINE22
GUARDIANS_OF_THE_RIFT24

getPackedId() returns (76 << 16) | childId. getCooldownVarbit() returns 5063.

Behavior notes:

  • open() depends on the minigame teleport tab button being visible in the active layout; callers should still check isOpen() before dispatching a teleport.
  • The 20-minute cooldown applies per account and is shared across the teleport menu and the NPC/scroll alternatives.