Class 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 Config
      PlanSystem getSystem()  
      void onDisable()
      Disables the plugin.
      void onEnable()  
      void registerCommand​(Subcommand command)  
      void reloadConfig()
      Deprecated.
      Deprecated due to use of APF Config
      void saveConfig()
      Deprecated.
      Deprecated due to use of APF Config
      void 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 org.bukkit.plugin.PluginBase

        equals, getName, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.bukkit.plugin.Plugin

        getSLF4JLogger
    • Constructor Detail

      • Plan

        public Plan()
    • Method Detail

      • onEnable

        public void onEnable()
        Specified by:
        onEnable in interface PlanPlugin
        Specified by:
        onEnable in interface org.bukkit.plugin.Plugin
        Overrides:
        onEnable in class org.bukkit.plugin.java.JavaPlugin
      • onDisable

        public void onDisable()
        Disables the plugin.
        Specified by:
        onDisable in interface PlanPlugin
        Specified by:
        onDisable in interface org.bukkit.plugin.Plugin
        Overrides:
        onDisable in class org.bukkit.plugin.java.JavaPlugin
      • cancelAllTasks

        public void cancelAllTasks()
      • reloadConfig

        @Deprecated
        public void reloadConfig()
        Deprecated.
        Deprecated due to use of APF Config
        Specified by:
        reloadConfig in interface org.bukkit.plugin.Plugin
        Overrides:
        reloadConfig in class org.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 interface org.bukkit.plugin.Plugin
        Overrides:
        getConfig in class org.bukkit.plugin.java.JavaPlugin
      • saveConfig

        @Deprecated
        public void saveConfig()
        Deprecated.
        Deprecated due to use of APF Config
        Specified by:
        saveConfig in interface org.bukkit.plugin.Plugin
        Overrides:
        saveConfig in class org.bukkit.plugin.java.JavaPlugin
      • saveDefaultConfig

        @Deprecated
        public void saveDefaultConfig()
        Deprecated.
        Deprecated due to use of APF Config
        Specified by:
        saveDefaultConfig in interface org.bukkit.plugin.Plugin
        Overrides:
        saveDefaultConfig in class org.bukkit.plugin.java.JavaPlugin