Skip to content

draft_Exposed Apis

Ender edited this page May 7, 2021 · 1 revision

Here is a quick rundown of things available for plugins to use, these functions/classes will always be present.

  • Standard JavaScript
  • The CAFFEINATED instance
  • The MODULES helper
  • The koi instance
  • The LANG helper
  • anything i forgot, obvs TODO

koi

Koi is the backend server program that allows Casterlabs to remain portable and consistent across all applications.
The Koi instance may be shared across many modules or unique, you should not rely on custom event broadcasting as it may not be available in some enviroments.

koi.sendChat(message: string, ?event: ChatEvent);

Sends a message, the optional event parameter is to hint at koi which signed in account you intend the message for.

Clone this wiki locally