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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    org.bukkit.configuration.file.FileConfiguration
    Deprecated.
    Deprecated due to use of custom Config
     
    void
     
    void
     
    void
     
    void
     
    void
    Deprecated.
    Deprecated due to use of custom Config
    void
    Deprecated.
    Deprecated due to use of custom Config
    void
    Deprecated.
    Deprecated due to use of custom 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, 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 com.djrapitops.plan.PlanPlugin

    getDataFolder, getResource, isSystemEnabled

    Methods inherited from interface org.bukkit.plugin.Plugin

    getSLF4JLogger
  • Constructor Details

    • Plan

      public Plan()
  • Method Details

    • onLoad

      public void onLoad()
      Specified by:
      onLoad in interface org.bukkit.plugin.Plugin
      Overrides:
      onLoad in class org.bukkit.plugin.java.JavaPlugin
    • 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
    • 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 org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin
    • cancelAllTasks

      public void cancelAllTasks()
    • registerCommand

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

      @Deprecated(since="Config.java (2018)") public void reloadConfig()
      Deprecated.
      Deprecated due to use of custom Config
      Specified by:
      reloadConfig in interface org.bukkit.plugin.Plugin
      Overrides:
      reloadConfig in class org.bukkit.plugin.java.JavaPlugin
    • getConfig

      @Deprecated(since="Config.java (2018)") public org.bukkit.configuration.file.FileConfiguration getConfig()
      Deprecated.
      Deprecated due to use of custom Config
      Specified by:
      getConfig in interface org.bukkit.plugin.Plugin
      Overrides:
      getConfig in class org.bukkit.plugin.java.JavaPlugin
    • saveConfig

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

      @Deprecated(since="Config.java (2018)") public void saveDefaultConfig()
      Deprecated.
      Deprecated due to use of custom Config
      Specified by:
      saveDefaultConfig in interface org.bukkit.plugin.Plugin
      Overrides:
      saveDefaultConfig in class org.bukkit.plugin.java.JavaPlugin
    • getSystem

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