Package org.bukkit.plugin
Class PluginBase
java.lang.Object
org.bukkit.plugin.PluginBase
- All Implemented Interfaces:
CommandExecutor
,TabCompleter
,TabExecutor
,Plugin
- Direct Known Subclasses:
JavaPlugin
public abstract class PluginBase extends java.lang.Object implements Plugin
Represents a base
Plugin
Extend this class if your plugin is not a JavaPlugin
-
Constructor Summary
Constructors Constructor Description PluginBase()
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.plugin.Plugin
getConfig, getDatabase, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPluginLoader, getResource, getServer, isEnabled, isNaggable, onDisable, onEnable, onLoad, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable
-
Constructor Details
-
PluginBase
public PluginBase()
-
-
Method Details
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
getName
public final java.lang.String 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.
-