Skip to content

Bootstrap API

Recommended default

This is the normal all-systems bootstrap for a plugin that wants the full DaisyCore platform available.

val daisy =
DaisyPlatform.create(plugin) {
text()
placeholders()
items()
scoreboards()
tablists()
commands()
menus()
}

Shared layers

  • text()
  • placeholders()
  • items()

Feature systems

  • commands()
  • menus()
  • scoreboards()
  • tablists()
  • commands() discovers @DaisyCommandSet providers by scanning your plugin jar at startup.
  • menus(), scoreboards(), and tablists() create the runtime services owned by DaisyPlatform.
override fun onDisable() {
daisy.close()
}