org.bukkit.plugin
Class PluginBase

java.lang.Object
  extended by org.bukkit.plugin.PluginBase
All Implemented Interfaces:
CommandExecutor, TabCompleter, TabExecutor, Plugin
Direct Known Subclasses:
JavaPlugin

public abstract class PluginBase
extends Object
implements Plugin

Represents a base Plugin

Extend this class if your plugin is not a JavaPlugin


Constructor Summary
PluginBase()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Returns the name of the plugin.
 int hashCode()
           
 
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
 
Methods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
 
Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
 

Constructor Detail

PluginBase

public PluginBase()
Method Detail

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object

getName

public final 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.

Specified by:
getName in interface Plugin
Returns:
name of the plugin


Copyright © 2013. All Rights Reserved.