Minigame Teleport Actions
MinigameTeleportActions interacts with the minigame teleport interface and its 20-minute cooldown.
Query Methods
isOpen()- minigame teleport interface (group 76) is visibleisTabOpen()- alias forisOpen()canTeleport()- cooldown varbit 5063 == 0getLastMinigameTeleportUsage()- varplayer 888 value, or 0 when the client is unavailable
Action Methods
open()→InteractionResult- clicks the minigame teleport tab button when availableteleport(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:
| Condition | Status |
|---|---|
| Interface not open | MINIGAME_NOT_OPEN |
| Cooldown active (varbit 5063 != 0) | MINIGAME_ON_COOLDOWN |
| Widget not found | WIDGET_NOT_FOUND |
| Dispatched | SUCCESS |
MinigameTeleport Enum
12 destinations, all in widget group 76 with even child IDs:
| Constant | Child ID |
|---|---|
| PEST_CONTROL | 2 |
| LAST_MAN_STANDING | 4 |
| NIGHTMARE_ZONE | 6 |
| BARBARIAN_ASSAULT | 8 |
| TITHE_FARM | 10 |
| BLAST_FURNACE | 12 |
| CASTLE_WARS | 14 |
| FISHING_TRAWLER | 16 |
| SOUL_WARS | 18 |
| TROUBLE_BREWING | 20 |
| VOLCANIC_MINE | 22 |
| GUARDIANS_OF_THE_RIFT | 24 |
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 checkisOpen()before dispatching a teleport.- The 20-minute cooldown applies per account and is shared across the teleport menu and the NPC/scroll alternatives.