Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns the name of the realm (aka server) the player is currently on.

realmName = GetRealmName()

Arguments

None

Returns

realmName
String - The name of the realm.

Example

local realmName = GetRealmName()
DEFAULT_CHAT_FRAME:AddMessage("You are currently on realm: " .. realmName)
> You are currently on realm: Gorgonnash

Details

Not certain how this function behaves with non-ascii characters and/or localizations.
Advertisement