public class Aa_playercommands extends AbstractCommand
Constructor and Description |
---|
Aa_playercommands(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)
playercommands - displays list of commands available to the player requested
|
public Aa_playercommands(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.CommandExecutor
onCommand
in class AbstractCommand
sender
- 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.