Package com.djrapitops.plan
Class Plan
- java.lang.Object
-
- org.bukkit.plugin.PluginBase
-
- org.bukkit.plugin.java.JavaPlugin
-
- com.djrapitops.plan.Plan
-
- All Implemented Interfaces:
PlanPlugin
,org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.plugin.Plugin
public class Plan extends org.bukkit.plugin.java.JavaPlugin implements PlanPlugin
Main class for Bukkit that manages the plugin.
-
-
Constructor Summary
Constructors Constructor Description Plan()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
cancelAllTasks()
ColorScheme
getColorScheme()
org.bukkit.configuration.file.FileConfiguration
getConfig()
Deprecated.Deprecated due to use of APF ConfigPlanSystem
getSystem()
void
onDisable()
Disables the plugin.void
onEnable()
void
registerCommand(Subcommand command)
void
reloadConfig()
Deprecated.Deprecated due to use of APF Configvoid
saveConfig()
Deprecated.Deprecated due to use of APF Configvoid
saveDefaultConfig()
Deprecated.Deprecated due to use of APF Config-
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, saveResource, setEnabled, setNaggable, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.djrapitops.plan.PlanPlugin
getDataFolder, getResource, isSystemEnabled
-
-
-
-
Method Detail
-
onEnable
public void onEnable()
- Specified by:
onEnable
in interfacePlanPlugin
- Specified by:
onEnable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onEnable
in classorg.bukkit.plugin.java.JavaPlugin
-
getColorScheme
public ColorScheme getColorScheme()
- Specified by:
getColorScheme
in interfacePlanPlugin
-
onDisable
public void onDisable()
Disables the plugin.- Specified by:
onDisable
in interfacePlanPlugin
- Specified by:
onDisable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onDisable
in classorg.bukkit.plugin.java.JavaPlugin
-
cancelAllTasks
public void cancelAllTasks()
-
registerCommand
public void registerCommand(Subcommand command)
- Specified by:
registerCommand
in interfacePlanPlugin
-
reloadConfig
@Deprecated public void reloadConfig()
Deprecated.Deprecated due to use of APF Config- Specified by:
reloadConfig
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
reloadConfig
in classorg.bukkit.plugin.java.JavaPlugin
-
getConfig
@Deprecated public org.bukkit.configuration.file.FileConfiguration getConfig()
Deprecated.Deprecated due to use of APF Config- Specified by:
getConfig
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
getConfig
in classorg.bukkit.plugin.java.JavaPlugin
-
saveConfig
@Deprecated public void saveConfig()
Deprecated.Deprecated due to use of APF Config- Specified by:
saveConfig
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
saveConfig
in classorg.bukkit.plugin.java.JavaPlugin
-
saveDefaultConfig
@Deprecated public void saveDefaultConfig()
Deprecated.Deprecated due to use of APF Config- Specified by:
saveDefaultConfig
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
saveDefaultConfig
in classorg.bukkit.plugin.java.JavaPlugin
-
getSystem
public PlanSystem getSystem()
- Specified by:
getSystem
in interfacePlanPlugin
-
-