ESODecoded

IsPlayerInAvAWorld

ESO Lua API function — used by 93 of the 3,030 addons we indexed (combined 9,048,726 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

IsPlayerInAvAWorld()

Returns: bool isInAvAWorld

Real usage — from HodorReflexes - DPS & ULT tracker

function list:IsEnabled()
    if self.sv.disableInPvP and (IsPlayerInAvAWorld() or IsActiveWorldBattleground()) then
        return false

Short excerpt from the shipping addon HodorReflexes - DPS & ULT trackerits 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
HodorReflexes - DPS & ULT tracker3,446,840
LibZone1,937,031
Assist Rapid Riding629,563
Kill Counter577,202
Combat Metronome (GCD Tracker)483,791
CyrHUD325,521