A C F G H I L M N O R S W

A

addSub(String, String) - Method in class mondocommand.MondoCommand
Add a sub-command to this MondoCommand.
addSub(String) - Method in class mondocommand.MondoCommand
Add a sub-command to this MondoCommand.
allowConsole() - Method in class mondocommand.SubCommand
Allow this command to be used on the console.
autoRegisterFrom(Object) - Method in class mondocommand.MondoCommand
 

C

CallInfo - Class in mondocommand
Represents all the arguments that go along with a call.
CallInfo(CommandSender, Player, String, SubCommand, List<String>, FormatConfig) - Constructor for class mondocommand.CallInfo
Create a new CallInfo representing one command invocation.
ChatMagic - Class in mondocommand
I got tired of doing ChatColor.GREEN all over the place.
ChatMagic() - Constructor for class mondocommand.ChatMagic
 
checkPermission(CommandSender) - Method in class mondocommand.SubCommand
Check if a Player/CommandSender has the requisite permission for this command.
colorize(String, Object...) - Static method in class mondocommand.ChatMagic
Colorize this string with Bukkit ChatColors and interpolate any variables.

F

FormatConfig - Class in mondocommand
Allow customizing response strings from MondoCommand.
FormatConfig() - Constructor for class mondocommand.FormatConfig
 

G

getArg(int) - Method in class mondocommand.CallInfo
Get a specific argument.
getArgs() - Method in class mondocommand.CallInfo
Get the whole list of command arguments.
getBaseCommand() - Method in class mondocommand.CallInfo
Get the base command which was called for this sub-command call.
getDescription() - Method in class mondocommand.SubCommand
Get the command's description.
getHandler() - Method in class mondocommand.SubCommand
Get the currently set SubHandler.
getIntArg(int) - Method in class mondocommand.CallInfo
Get an argument coerced into an int.
getJoinedArgsAfter(int) - Method in class mondocommand.CallInfo
Get all the arguments after the specified index joined into a single string.
getMinArgs() - Method in class mondocommand.SubCommand
Check what the minimum number of args is
getName() - Method in class mondocommand.SubCommand
Get the command's name.
getPermission() - Method in class mondocommand.SubCommand
Get the permission node this command is required to use.
getPermissionWarning() - Method in class mondocommand.FormatConfig
 
getPlayer() - Method in class mondocommand.CallInfo
Get the player who invoked this.
getReplyPrefix() - Method in class mondocommand.FormatConfig
 
getSender() - Method in class mondocommand.CallInfo
Get the CommandSender who invoked this.
getSubCommand() - Method in class mondocommand.CallInfo
Get the SubCommand that invoked this call.
getUsage() - Method in class mondocommand.SubCommand
Get the usage string.
getUsageHeading() - Method in class mondocommand.FormatConfig
 

H

handle(CallInfo) - Method in class mondocommand.MondoCommand
Implement the SubHandler interface so we can do sub-sub commands and such.
handle(CallInfo) - Method in interface mondocommand.SubHandler
Handle a call from a SubCommand.

I

isConsoleAllowed() - Method in class mondocommand.SubCommand
If true, console access is allowed.

L

listCommands() - Method in class mondocommand.MondoCommand
 
logOutput - Variable in class mondocommand.dynamic.SubCommandFinder
 

M

mondocommand - package mondocommand
 
MondoCommand - Class in mondocommand
Handle commands dynamically with sub-command registration.
MondoCommand() - Constructor for class mondocommand.MondoCommand
Create a new MondoCommand with the base formatting specification.
MondoCommand(FormatConfig) - Constructor for class mondocommand.MondoCommand
Create a new MondoCommand, used for dynamic sub command handling.
mondocommand.dynamic - package mondocommand.dynamic
 
MondoFailure - Exception in mondocommand
Convenience class for dealing with failure scenarios.
MondoFailure(String) - Constructor for exception mondocommand.MondoFailure
 

N

numArgs() - Method in class mondocommand.CallInfo
How many arguments we got.

O

onCommand(CommandSender, Command, String, String[]) - Method in class mondocommand.MondoCommand
Implement onCommand so this can be registered as a CommandExecutor

R

registerAlias(String, ChatColor) - Static method in class mondocommand.ChatMagic
Register an alias for a color.
registerColorAliases() - Method in class mondocommand.FormatConfig
Register MondoCommand color aliases upon initialization of the MondoCommand.
registerDefaultAlias(String, ChatColor) - Static method in class mondocommand.ChatMagic
Register an alias for a color, but only if it doesn't already exist.
registerMethods(Object) - Method in class mondocommand.dynamic.SubCommandFinder
 
reply(String, Object...) - Method in class mondocommand.CallInfo
Respond to the call, interpolating colors and variables.
reply(boolean, String, Object...) - Method in class mondocommand.CallInfo
Re

S

send(CommandSender, String, Object...) - Static method in class mondocommand.ChatMagic
A convenience for sending messages to a player colorized.
sendRaw(Conversable, String, Object...) - Static method in class mondocommand.ChatMagic
 
setDescription(String) - Method in class mondocommand.SubCommand
Set the command's description.
setHandler(SubHandler) - Method in class mondocommand.SubCommand
Set the SubHandler.
setMinArgs(int) - Method in class mondocommand.SubCommand
Set the minimum number of arguments this command accepts.
setPermissionWarning(String) - Method in class mondocommand.FormatConfig
Set the permission warning to be displayed when a user cannot access a command.
setReplyPrefix(String) - Method in class mondocommand.FormatConfig
Set the prefix to be placed before all command replies.
setUsage(String) - Method in class mondocommand.SubCommand
Set this command's usage string.
setUsageHeading(String) - Method in class mondocommand.FormatConfig
Set the heading to be shown when displaying command usage.
Sub - Annotation Type in mondocommand.dynamic
 
SubCommand - Class in mondocommand
Represents a sub-command which can be generated by method chaining.
SubCommand(String, String) - Constructor for class mondocommand.SubCommand
Create a new SubCommand.
SubCommandFinder - Class in mondocommand.dynamic
 
SubCommandFinder(MondoCommand) - Constructor for class mondocommand.dynamic.SubCommandFinder
 
SubHandler - Interface in mondocommand
Interface for implementing sub command handlers.

W

writeUsageLine(CommandSender, String, SubCommand) - Method in class mondocommand.FormatConfig
Write out one entry of the usage output.

A C F G H I L M N O R S W

Copyright © 2013. All Rights Reserved.