Skip to content
emmily edited this page Oct 2, 2023 · 4 revisions

Here you'll learn how to set up Daisy in your own plugin. In order to set up Daisy you have to create a DynamicMenuRegistry.


package ...;

import dev.emmily.daisy.api.menu.types.dynamic.registry.DynamicMenuRegistry;
import dev.emmily.daisy.core.DaisySetup;

public class ExamplePlugin extends JavaPlugin {
  private DynamicMenuRegistry registry;

  @Override
  public void onEnable() {
    registry = new DynamicMenuRegistry();

    DaisySetup.injectListeners(this, registry);
    DaisySetup.injectScheduler(this, registry);
  }
}

Developer guide

  • Installation
  • Setup
  • Simple menus
  • Layout menus
  • Dynamic menus
  • Dynamic layout menus
  • Paginated menus

User guide

  • Creating a menu
  • Using placeholders
  • Changing the file reader
Clone this wiki locally