Package cloud.commandframework.arguments.standard
package cloud.commandframework.arguments.standard
Standard command argument types
-
ClassDescriptionBoolean parse exceptionByteArgument<C>Byte parse exceptionCharArgument<C>Char parse exceptionParses
Duration
from a1d2h3m4s
format.Builder forDurationArgument
.Failure exception forDurationArgument.Parser
.Parser forDuration
.EnumArgument<C,E extends Enum<E>> Argument type that recognizes enumsEnumArgument.Builder<C,E extends Enum<E>> EnumArgument.EnumParser<C,E extends Enum<E>> LongArgument<C>This is a command argument type that essentially mimicsStringArgument.greedy(String)
, but then splits the input string into a string array.Parser that parses input into a string arrayUUIDArgument<C>