public class Aa_addperm extends AbstractCommand
| Constructor and Description |
|---|
Aa_addperm(org.bukkit.plugin.Plugin aa)
Constructor, takes AdminAnything as a parameter,
since we'll be needing it later to set up a delayed
task (as not to overload server by all the action :P).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
onCommand(org.bukkit.command.CommandSender sender,
org.bukkit.command.Command cmd,
java.lang.String unused,
java.lang.String[] args)
/aa_addperm - adds a new permission node for the exact command line provided
|
public Aa_addperm(org.bukkit.plugin.Plugin aa)
aa - Instance of AdminAnything.public boolean onCommand(org.bukkit.command.CommandSender sender,
org.bukkit.command.Command cmd,
java.lang.String unused,
java.lang.String[] args)
onCommand in interface org.bukkit.command.CommandExecutoronCommand in class AbstractCommandsender - The player who is calling this command.cmd - The actual command that is being executed.unused - Name of the command which is being executed.args - Any arguments passed to this command.