Class Main

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
rocks.gravili.notquests.Main
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

public final class Main extends org.bukkit.plugin.java.JavaPlugin
This is the entry point of NotQuests. All kinds of managers, commands and other shit is reistered here.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Main
     
    final NotQuests
     
    final NotQuests
     
    void
    Called when the plugin is disabled or reloaded via ServerUtils / PlugMan
    void
    Called when the plugin is enabled.
    void
     

    Methods inherited from class org.bukkit.plugin.java.JavaPlugin

    getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, 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

    getLog4JLogger, getSLF4JLogger
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • onLoad

      public void onLoad()
      Specified by:
      onLoad in interface org.bukkit.plugin.Plugin
      Overrides:
      onLoad in class org.bukkit.plugin.java.JavaPlugin
    • getNotQuests

      public final NotQuests getNotQuests()
    • getNotQuestsSpigot

      public final NotQuests getNotQuestsSpigot()
    • getInstance

      public static Main getInstance()
    • onEnable

      public void onEnable()
      Called when the plugin is enabled. A bunch of stuff is initialized here
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • onDisable

      public void onDisable()
      Called when the plugin is disabled or reloaded via ServerUtils / PlugMan
      Specified by:
      onDisable in interface org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin