promotional bannermobile promotional banner

LibRealmDetect-1.0

Experimental
Attempt to detect the realm (or realm group) you are currently phased to, through the use of /who queries done in the backgro...

LibRealmDetect-1.0 will attempt to detect the realm (or realm group for connected realms) a player is currently phased to when in a cross-realm group, through the use of automated /who queries done in the background.

Addons using this library can register to be notified when a realm change is detected, and what the name of this new realm is (or realmS, if it's a connected realm group).

Also... Due to the detection being based on /who queries, the information will not be available instantly at the moment of phasing, but rather when the /who results arrive and pass the minimum thresholds. Due to this reason, there is a moment when the name of the realm is unknown (of which the library will also notify). In case of low-populated (or dead!) realms, several queries may be needed. There's also the possibility that not enough local realm denizens are playing, so figuring out the realm's name is impossible. Guessing incorrectly can also happen, if enough cross-realmers are in the results (again, more likely on dead realms).

API and usage

The LibRealmDetect-1.0 Team

profile avatar
  • 5
    Projects
  • 3.4K
    Downloads

More from _ForgeUser3545156View all

  • NamePlateGrid project image

    NamePlateGrid

    • 454
    • Addons

    NamePlateGrid sorts visible nameplates to a neat(-ish) grid.

    • 454
    • July 16, 2016
    • Addons
    • +2
  • Macroception project image

    Macroception

    • 1.4K
    • Addons

    Macroception allows you to call macros from within another macro.

    • 1.4K
    • August 5, 2015
    • Addons
  • LibModelCanvas-1.0 project image

    LibModelCanvas-1.0

    • 0
    • Addons

    LibModelCanvas-1.0

    • 0
    • July 17, 2014
    • Addons
  • UnSkyGolem project image

    UnSkyGolem

    • 1.0K
    • Addons

    Hides your character from showing and places a dot in the middle of the screen when riding the Sky Golem.

    • 1.0K
    • July 12, 2014
    • Addons
  • NamePlateGrid project image

    NamePlateGrid

    • 454
    • Addons

    NamePlateGrid sorts visible nameplates to a neat(-ish) grid.

    • 454
    • July 16, 2016
    • Addons
    • +2
  • Macroception project image

    Macroception

    • 1.4K
    • Addons

    Macroception allows you to call macros from within another macro.

    • 1.4K
    • August 5, 2015
    • Addons
  • LibModelCanvas-1.0 project image

    LibModelCanvas-1.0

    • 0
    • Addons

    LibModelCanvas-1.0

    • 0
    • July 17, 2014
    • Addons
  • UnSkyGolem project image

    UnSkyGolem

    • 1.0K
    • Addons

    Hides your character from showing and places a dot in the middle of the screen when riding the Sky Golem.

    • 1.0K
    • July 12, 2014
    • Addons