public class Aa_checkcommandconflicts extends AbstractCommand implements org.bukkit.event.Listener
| Modifier and Type | Field and Description |
|---|---|
java.util.List<FancyMessage> |
messages
A cached list of messages to be shown to the player/console
as the resulting output.
|
| Constructor and Description |
|---|
Aa_checkcommandconflicts(org.bukkit.plugin.Plugin aa)
Constructor, stores the instance of
AdminAnything
for futher use. |
| 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_checkCommandConflicts - checks and reports all conflicting commands and aliases on the server
|
void |
reload(AAReloadEvent e)
React to the custom ReloadEvent which is fired when /aa_reload gets executed
or when we enable AA for the first time.
|
public java.util.List<FancyMessage> messages
public Aa_checkcommandconflicts(org.bukkit.plugin.Plugin aa)
AdminAnything
for futher use.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.public void reload(AAReloadEvent e)
e - The actual reload event with message that says who is this reload for.