TribeCraft Wiki · Release 2026.09.5
Wiki Release: 2026.09.5 · UltimateKoth: 2.26.1 · Documentation branch: 2

Accessing the API#

The public artifact exposes Koth.getCore(), getKothAPI(), getCommandAPI() and getImpAPI().

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.