public abstract class BaseCommand extends Object implements ICommand
| Constructor and Description |
|---|
BaseCommand(BedwarsRel plugin) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
execute(org.bukkit.command.CommandSender sender,
ArrayList<String> args) |
abstract String[] |
getArguments() |
abstract String |
getCommand() |
abstract String |
getDescription() |
abstract String |
getName() |
protected BedwarsRel |
getPlugin() |
boolean |
hasPermission(org.bukkit.command.CommandSender sender) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPermissionpublic BaseCommand(BedwarsRel plugin)
public abstract boolean execute(org.bukkit.command.CommandSender sender,
ArrayList<String> args)
public abstract String[] getArguments()
getArguments in interface ICommandpublic abstract String getCommand()
getCommand in interface ICommandpublic abstract String getDescription()
getDescription in interface ICommandprotected BedwarsRel getPlugin()
public boolean hasPermission(org.bukkit.command.CommandSender sender)
hasPermission in interface ICommandCopyright © 2017. All rights reserved.