LibConnectedRealms

Abandoned
List of realms connected to the current realm

Get connected realms based on the current realm.

My realm is connected by doesn't show as connected here

If you send me a link to the Blue Post saying it is connected, I'll update the library.

How to include LibConnectedRealms in an addon

  • Add LibConnectedRealms-1.0 as an optional dependency
OptionalDeps: LibConnectedRealms-1.0
  • To get the list of realms
local Realms = LibStub:GetLibrary("LibConnectedRealms-1.0", true)
if Realms ~= nil then
	Realms = Realms:Fetch()
else
	Realms = {GetRealmName()}
end
  • Realms will be a table of realm names, if there are no known connected realms or the library isn't loaded then only the current realm will be returned.

The LibConnectedRealms Team

profile avatar
  • 2
    Projects
  • 94.3K
    Downloads

More from _ForgeUser1332486