Package org.bukkit.plugin
Class PluginBase
java.lang.Object
org.bukkit.plugin.PluginBase
- All Implemented Interfaces:
LifecycleEventOwner
,CommandExecutor
,TabCompleter
,TabExecutor
,Plugin
- Direct Known Subclasses:
JavaPlugin
Represents a base
Plugin
Extend this class if your plugin is not a JavaPlugin
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
Methods inherited from interface org.bukkit.plugin.Plugin
getComponentLogger, getConfig, getDataFolder, getDataPath, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getLifecycleManager, getLog4JLogger, getLogger, getPluginLoader, getPluginMeta, getResource, getServer, getSLF4JLogger, isEnabled, isNaggable, onDisable, onEnable, onLoad, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable
Methods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
-
Constructor Details
-
PluginBase
public PluginBase()
-
-
Method Details
-
hashCode
public final int hashCode() -
equals
-
getName
Description copied from interface:Plugin
Returns the name of the plugin.This should return the bare name of the plugin and should be used for comparison.
-