19 lines
567 B
Java
19 lines
567 B
Java
package org.bukkit.command;
|
|
|
|
import org.bukkit.plugin.Plugin;
|
|
|
|
/**
|
|
* This interface is used by the help system to group commands into sub-indexes based
|
|
* on the {@link Plugin} they are a part of. Custom command implementations will need to
|
|
* implement this interface to have a sub-index automatically generated on the plugin's
|
|
* behalf.
|
|
*/
|
|
public interface PluginIdentifiableCommand {
|
|
/**
|
|
* Gets the owner of this PluginIdentifiableCommand.
|
|
*
|
|
* @return Plugin that owns this PluginIdentifiableCommand.
|
|
*/
|
|
public Plugin getPlugin();
|
|
}
|