LibKeystonePortal: Mythic+ Portal Library for WoW

LibKeystonePortal simplifies Mythic+ portal tracking and party sharing for World of Warcraft addons. Download it today for seamless dungeon runs.

Download LibKeystonePortal for World of Warcraft 12.1.0

Original name: LibKeystonePortal

World of Warcraft: 12.1.0

FileVersionLoaderSize
LibKeystonePortal-v1.0.0.zip12.1.0—18 КБDownload

LibKeystonePortal

If you develop addons for World of Warcraft, you know how tedious it can be to hardcode portal spell data for every Mythic+ dungeon. Blizzard adds new dungeons, rotates old ones back into the seasonal pool, and suddenly your carefully maintained spell list is outdated. That is exactly the problem LibKeystonePortal solves. This lightweight library hands you portal spell information for any challenge map ID, shares portal usage with your party, and keeps your addon future-proof across seasons.

What LibKeystonePortal Actually Does

At its core, LibKeystonePortal is a data and communication library. It answers a deceptively simple question: which portal spell leads to this dungeon? Instead of maintaining your own lookup table, you call a single function and get back the spell IDs you need. Because Horde and Alliance sometimes use different portal spells for the same destination, the library returns a list rather than a single value, and it is up to your addon to check which one the player actually knows.

The library exposes a small, clean API:

  • GetPortalSpellsByMapID(challengeMapID) returns a list of spell IDs for the given challenge map. If nothing is found, it returns nil. Previous seasons are supported too, so old dungeon data does not break.
  • GetChallengeMapIDBySpellID(spellID) works in reverse, turning a portal spell ID back into its challenge map ID. For mega dungeons with multiple matches, it returns a random one.
  • RegisterPortalCallback(callback, uniqueKey) fires whenever a party member uses a portal, whether the information arrives through UNIT_SPELLCAST_SUCCEEDED or through addon comms. The callback is throttled so it never double-fires, and it is never triggered by your own casts.
  • UnregisterPortalCallback(uniqueKey) cleans up your callback when you no longer need it.

Why Addon Authors Rely on It

Mythic+ is the backbone of modern WoW endgame, and portal awareness matters. A group utility addon that announces "Player used a portal to The Stonevault" feels polished and helpful. Building that feature from scratch means tracking spell IDs, handling faction differences, and writing your own communication layer. LibKeystonePortal gives you all of that in a few lines of code.

The callback signature is refreshingly practical: you receive the player name, the destination challenge map ID, the portal spell ID, and a source string telling you whether the event came from the combat log or from comms. From there, a quick call to C_ChallengeMode.GetMapUIInfo turns the map ID into a readable dungeon name. The example in the documentation does exactly this and prints a friendly message to chat.

Embedding the library is straightforward. Add it to your .pkgmeta under externals pointing to Libs/LibKeystonePortal, then include Libs\LibKeystonePortal\LibKeystonePortal.xml in your TOC file. Once embedded, you retrieve it through LibStub like any other Ace-style library, which keeps your dependency footprint minimal and your users happy.

If you would rather skip manual packaging altogether, the foxygame.net launcher offers a one-click install path that pulls LibKeystonePortal straight into your addon setup, and its built-in catalog keeps library versions current so you never ship against stale portal data.

Version Compatibility Across WoW Clients

Retail and Modern Seasons

On Retail, LibKeystonePortal tracks the current Mythic+ rotation alongside every prior season, which means addons built on it keep working when Blizzard recycles an old dungeon into the active pool. This backward compatibility is one of the library's strongest selling points for long-term projects.

Classic, TBC, WotLK, Cataclysm, and MoP

Mythic+ did not exist in earlier expansions, so the portal-sharing and challenge map features are naturally Retail-focused. That said, the library's structure and LibStub integration follow conventions that work across Classic, The Burning Crusade, Wrath of the Lich King, Cataclysm, and Mists of Pandaria clients, making it a comfortable dependency for developers who maintain multi-version addon suites. Always verify your TOC interface numbers per client before release.

Getting Started

To download LibKeystonePortal, grab it from its repository and embed it as an external. If you are new to libraries, the process is simple: declare the external in .pkgmeta, reference the XML file in your TOC, and call LibStub in your Lua code. Within minutes you can have portal detection, dungeon name resolution, and party-wide announcements running in your addon.

For players and authors wondering how to install a library-based addon, the answer is usually the same: install the parent addon, and the embedded library comes along automatically. LibKeystonePortal for World of Warcraft is designed precisely for that invisible, hassle-free experience.

Final Thoughts

LibKeystonePortal is a focused tool that does one job well. It removes the busywork of portal spell management, handles faction quirks, and gives developers a reliable callback system for party communication. Whether you are building a group utility addon or maintaining a sprawling UI suite, this library deserves a place in your dependency list. Embed it once, and your Mythic+ features stay accurate season after season.