Package cc.carm.plugin.userprefix
Class Main
- java.lang.Object
-
- org.bukkit.plugin.PluginBase
-
- org.bukkit.plugin.java.JavaPlugin
-
- cc.carm.lib.easyplugin.EasyPlugin
-
- cc.carm.plugin.userprefix.Main
-
- All Implemented Interfaces:
CommandExecutor,TabCompleter,TabExecutor,Plugin
public class Main extends EasyPlugin
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigManagerconfigManagerprotected FoliaSchedulerfoliaSchedulerprotected booleanonFoliaprotected PrefixManagerprefixManagerprotected UserManageruserManager-
Fields inherited from class cc.carm.lib.easyplugin.EasyPlugin
initialized, messageProvider, scheduler
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiddebugging(String... message)FoliaSchedulergetFoliaScheduler()static MaingetInstance()static voidinfo(String... message)protected booleaninitialize()booleanisDebugging()booleanisOnFolia()static voidsevere(String... message)protected voidshutdown()-
Methods inherited from class cc.carm.lib.easyplugin.EasyPlugin
callAsync, callSync, debug, error, getScheduler, load, log, onDisable, onEnable, onLoad, outputInfo, print, registerCommand, registerCommand, registerListener, setMessageProvider, supplyAsync, supplySync
-
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, 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
-
-
-
-
Field Detail
-
foliaScheduler
protected FoliaScheduler foliaScheduler
-
onFolia
protected boolean onFolia
-
configManager
protected ConfigManager configManager
-
prefixManager
protected PrefixManager prefixManager
-
userManager
protected UserManager userManager
-
-
Method Detail
-
initialize
protected boolean initialize()
- Specified by:
initializein classEasyPlugin
-
shutdown
protected void shutdown()
- Overrides:
shutdownin classEasyPlugin
-
isOnFolia
public boolean isOnFolia()
-
getFoliaScheduler
public FoliaScheduler getFoliaScheduler()
-
isDebugging
public boolean isDebugging()
- Overrides:
isDebuggingin classEasyPlugin
-
info
public static void info(String... message)
-
debugging
public static void debugging(String... message)
-
severe
public static void severe(String... message)
-
getInstance
public static Main getInstance()
-
-