public class ProtocolLibrary
extends org.bukkit.plugin.java.JavaPlugin
Constructor and Description |
---|
ProtocolLibrary() |
Modifier and Type | Method and Description |
---|---|
static ProtocolManager |
getProtocolManager()
Retrieves the packet protocol manager.
|
Statistics |
getStatistics()
Retrieve the metrics instance used to measure users of this library.
|
void |
onDisable() |
void |
onEnable() |
void |
onLoad() |
getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPluginLoader, getResource, getServer, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
public void onLoad()
onLoad
in interface org.bukkit.plugin.Plugin
onLoad
in class org.bukkit.plugin.java.JavaPlugin
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public void onDisable()
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
public static ProtocolManager getProtocolManager()
public Statistics getStatistics()
Note that this method may return NULL when the server is reloading or shutting down.