Wiki Release: 2026.09.5 · UltimateClans: 9.1.4 · Documentation branch: 9
Accessing the API#
Retrieve the running Clans plugin instance through Bukkit and use public managers such as getClanAPI(), getPlayerAPI(), getIntegrationAPI(), getHooksAPI(), getCommandAPI(), getGuiAPI(), getEntityAPI(), getColorAPI() and getInviteAPI() as available in the public artifact.
Safety checks#
- Declare the runtime dependency/soft-dependency.
- Access the API only after the plugin is enabled.
- Handle optional/null results according to the method contract.
- Do not depend on internal Core classes absent from the public API artifact.
- Keep API/Core compatibility in mind because versions are independent.