public abstract class FunkeArgument
extends java.lang.Object
Constructor and Description |
---|
FunkeArgument(FunkeCommand parent,
java.lang.String name,
java.lang.String display,
java.lang.String description) |
FunkeArgument(FunkeCommand parent,
java.lang.String name,
java.lang.String display,
java.lang.String description,
java.lang.String... permission) |
Modifier and Type | Method and Description |
---|---|
void |
addAlias(java.lang.String alias) |
void |
addTabComplete(int arg,
java.lang.String... name) |
FunkeCommand |
getParent() |
abstract void |
onArgument(org.bukkit.command.CommandSender sender,
org.bukkit.command.Command cmd,
java.lang.String[] args) |
public FunkeArgument(FunkeCommand parent, java.lang.String name, java.lang.String display, java.lang.String description)
public FunkeArgument(FunkeCommand parent, java.lang.String name, java.lang.String display, java.lang.String description, java.lang.String... permission)
public void addAlias(java.lang.String alias)
public void addTabComplete(int arg, java.lang.String... name)
public abstract void onArgument(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, java.lang.String[] args)
public FunkeCommand getParent()