ESODecoded

IsPlayerInGroup

ESO Lua API function — used by 29 of the 3,030 addons we indexed (combined 673,014 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

IsPlayerInGroup(string characterOrDisplayName)

Returns: bool inGroup

Real usage — from AutoInvite - Updated


    local grouped = IsPlayerInGroup(name) and not AutoInvite:IsPlayerInSameGroup(name)
    if grouped then

Short excerpt from the shipping addon AutoInvite - Updatedits 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
AutoInvite - Updated229,026
Votan's Group Pins96,300
Lights of Meridia90,016
Heal Counter44,979
Map Tools29,278
Group Synergizer - Enhanced LFG Features | Auto Accept Que | Better Notifications23,566