Package com.djrapitops.plan
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
Main class for Nukkit that manages the plugin.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
onCommand
(cn.nukkit.command.CommandSender actualSender, cn.nukkit.command.Command actualCommand, String label, String[] args) void
void
onEnable()
void
onLoad()
void
registerCommand
(Subcommand command) Methods inherited from class cn.nukkit.plugin.PluginBase
getCommand, getConfig, getDataFolder, getDescription, getFile, getFullName, getLogger, getName, getPluginLoader, getResource, getServer, init, isDisabled, isEnabled, isInitialized, reloadConfig, saveConfig, saveDefaultConfig, saveResource, saveResource, saveResource, setEnabled, setEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.djrapitops.plan.PlanPlugin
getDataFolder, getResource, isSystemEnabled
-
Constructor Details
-
PlanNukkit
public PlanNukkit()
-
-
Method Details
-
onLoad
public void onLoad()- Specified by:
onLoad
in interfacecn.nukkit.plugin.Plugin
- Overrides:
onLoad
in classcn.nukkit.plugin.PluginBase
-
onEnable
public void onEnable()- Specified by:
onEnable
in interfacePlanPlugin
- Specified by:
onEnable
in interfacecn.nukkit.plugin.Plugin
- Overrides:
onEnable
in classcn.nukkit.plugin.PluginBase
-
getColorScheme
- Specified by:
getColorScheme
in interfacePlanPlugin
-
onDisable
public void onDisable()- Specified by:
onDisable
in interfacePlanPlugin
- Specified by:
onDisable
in interfacecn.nukkit.plugin.Plugin
- Overrides:
onDisable
in classcn.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 interfacecn.nukkit.command.CommandExecutor
- Overrides:
onCommand
in classcn.nukkit.plugin.PluginBase
-
registerCommand
- Specified by:
registerCommand
in interfacePlanPlugin
-
getSystem
- Specified by:
getSystem
in interfacePlanPlugin
-