Skip to content

v1.5.0

Latest

Choose a tag to compare

@vansencool vansencool released this 08 Jun 03:06

CommandUtils 1.5.0

First release in a year.

Breaking

  • Abstract*, Simple*, and the whole bukkit package moved into a new expansion/ package (expansion.simple, expansion.bukkit).
  • Proxied command senders are gone.
  • CommandPermission is 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.
  • CommandPermission now has single, and, or, not, world, plus PLAYER_ONLY, CONSOLE_ONLY, OP, ALWAYS, and NEVER.
  • BasicFlagsHelper is an opinionated helper for completing --key and --key value flags inside a greedy string argument, handling offsets, spaces, and multiple flags for you.
  • doubleArg, floatArg, and longArg now have methods that take min and max bounds.

Misc

  • Various small cleanups and fixes.