Repository navigation
CommandUtils 1.5.0
First release in a year.
Breaking
Abstract*,Simple*, and the wholebukkitpackage moved into a newexpansion/package (expansion.simple,expansion.bukkit).- Proxied command senders are gone.
CommandPermissionis now predicate-based. The old opLevel and string constructors no longer exist.
New
- Commands now run safely and catch throwable.
- You can register your own renderers for exception types with
ExceptionRenderer/ExceptionRenderers. CommandPermissionnow hassingle,and,or,not,world, plusPLAYER_ONLY,CONSOLE_ONLY,OP,ALWAYS, andNEVER.BasicFlagsHelperis an opinionated helper for completing--keyand--key valueflags inside a greedy string argument, handling offsets, spaces, and multiple flags for you.doubleArg,floatArg, andlongArgnow have methods that take min and max bounds.
Misc
- Various small cleanups and fixes.