AuthMeReloaded/src/main/java/fr/xephi/authme/command/ExecutableCommand.java

20 lines
602 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);
}