ESODecoded

GetPlayerActiveZoneName

ESO Lua API function — used by 34 of the 3,030 addons we indexed (combined 6,449,426 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetPlayerActiveZoneName()

Returns: string zoneName

Real usage — from LibCombat

		self.time = GetTimeString()
		self.zone = GetPlayerActiveZoneName()
		self.subzone = GetPlayerActiveSubzoneName()

Short excerpt from the shipping addon LibCombatits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
LibCombat5,017,654
Wizard's Wardrobe481,038
Dynamic CP (Champion Points 2.0)319,248
The Librarium128,992
QuickMapNav103,139
LorePlay - Emotes, Outfits, and more!60,674