public class Main extends Util
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onCommand(CommandSender sender,
Command cmd,
java.lang.String commandLabel,
java.lang.String[] args)
When then plugin receives a command it handles how it should be processed
|
void |
onDisable()
When the plugin closes the powerdown is sent to the console.
|
void |
onEnable()
When plugin is enabled it prints to console and loads the config.
|
addAchievements, enchant, loadConfiguration, logText, playerText, removeItemName, removeLore, unEnchantgetCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isInitialized, isNaggable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toStringequals, getName, hashCodepublic void onEnable()
onEnable in interface PluginonEnable in class JavaPluginpublic void onDisable()
onDisable in interface PluginonDisable in class JavaPluginpublic boolean onCommand(CommandSender sender, Command cmd, java.lang.String commandLabel, java.lang.String[] args)
onCommand in interface CommandExecutoronCommand in class JavaPluginsender - The sender that sent the commandcmd - the command that has been sentcommandLabel - the command alias that was usedargs - an array of additional arguments, e.g. typing /hello abc def would put abc in args[0], and def in args[1]