LoginSystem/src/main/java/fr/xephi/authme/command/ExecutableCommand.java
2015-11-23 21:46:34 +01:00

21 lines
609 B
Java

package fr.xephi.authme.command;
import org.bukkit.command.CommandSender;
/**
* Base class for AuthMe commands that can be executed.
*/
public abstract class ExecutableCommand {
/**
* Execute the command.
*
* @param sender The command sender.
* @param commandReference The command reference.
* @param commandArguments The command arguments.
*
* @return True if the command was executed successfully, false otherwise.
*/
public abstract boolean executeCommand(CommandSender sender, CommandParts commandReference, CommandParts commandArguments);
}