Class PlanNukkit

java.lang.Object
cn.nukkit.plugin.PluginBase
com.djrapitops.plan.PlanNukkit
All Implemented Interfaces:
cn.nukkit.command.CommandExecutor, cn.nukkit.plugin.Plugin, PlanPlugin

public class PlanNukkit extends cn.nukkit.plugin.PluginBase implements PlanPlugin
Main class for Nukkit that manages the plugin.
  • Constructor Details

    • PlanNukkit

      public PlanNukkit()
  • Method Details

    • onLoad

      public void onLoad()
      Specified by:
      onLoad in interface cn.nukkit.plugin.Plugin
      Overrides:
      onLoad in class cn.nukkit.plugin.PluginBase
    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface PlanPlugin
      Specified by:
      onEnable in interface cn.nukkit.plugin.Plugin
      Overrides:
      onEnable in class cn.nukkit.plugin.PluginBase
    • getColorScheme

      public ColorScheme getColorScheme()
      Specified by:
      getColorScheme in interface PlanPlugin
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface PlanPlugin
      Specified by:
      onDisable in interface cn.nukkit.plugin.Plugin
      Overrides:
      onDisable in class cn.nukkit.plugin.PluginBase
    • cancelAllTasks

      public void cancelAllTasks()
    • onCommand

      public boolean onCommand(cn.nukkit.command.CommandSender actualSender, cn.nukkit.command.Command actualCommand, String label, String[] args)
      Specified by:
      onCommand in interface cn.nukkit.command.CommandExecutor
      Overrides:
      onCommand in class cn.nukkit.plugin.PluginBase
    • registerCommand

      public void registerCommand(Subcommand command)
      Specified by:
      registerCommand in interface PlanPlugin
    • getSystem

      public PlanSystem getSystem()
      Specified by:
      getSystem in interface PlanPlugin