Capabilities

LIST_CLANS

Return the live clan directory for the hosted website

Powers the clan standings inside Website → Clans & sieges. The section has no CMS rows and no cached/manual fallback: without this capability and LIST_SIEGES, the owner cannot enable it.

Each row contains clanId, name, leaderName, level, memberCount, reputation, and nullable allianceName. limit is clamped to 1–100. An empty array is a successful answer for a new world; a failed query must return FAILED, never an empty OK.

Implementing it

JsonArray listClans(int limit) throws Exception;

Return the strongest or most reputable clans first and advertise LIST_CLANS only after every required field is populated from the pack's own clan model.

Connector check requests one row. A successful empty list passes; no response or FAILED does not.

On this page