bb50f1a774
A special thanks goes to @aerouk for almost all of the changes found here. By: Wesley Wolfe <weswolf@aol.com>
20 lines
568 B
Java
20 lines
568 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();
|
|
}
|