Releases: Revxrsal/Lamp
Releases · Revxrsal/Lamp
Orphan command API, prefixes, bug fixes and general improvements
- Added the new OrphanCommand API, which allows resolving paths for commands at runtime
- Added
CommandHandler.setMessagePrefix()
for setting prefixes for messages - Fixed newly registered resolvers and suggestion factories not taking precedence over default ones
- Added SuggestionProvider.of(Supplier<Collection>)
- Added a default suggestion factory for enums
- Prevent unauthorized commands from appearing in suggestions
Bukkit:
- Allow CommandActor.getUniqueId() for console and command blocks
- Removed PlayerSelector in favor of the more versatile EntitySelector
- Updated commodore to support Minecraft 1.18
Minor fix in player selectors
2.3 Merge remote-tracking branch 'origin/master'
Hide secret commands from auto-completions
2.2 Bump version
Help menu improvements, secret commands
2.1 Expose command handler in CommandCategory
Support SuggestionProviderFactory, provide extra support for entity selectors
1.9 Deprecate PlayerSelector, return empty suggestion providers when not …
Fix default methods
- Rewrote the command searching logic to be far more accurate
- Fixed Default methods not working correctly
Minor fixes on Brigadier support
- Fixed Brigadier namespaces not working correctly
- Fixed switches and flags in Brigadier
- Handle MalformedEntitySelectorException
Brigadier for Bukkit, bug fixes
- Add initial support for Brigadier on Bukkit through BukkitCommandHandler#registerBrigadier
- Fix CompletionStages that throw exceptions not being handled
- Add
@Range
annotation withNumberNotInRangeException
- Added
EntitySelector
s in Bukkit for targeting complex selector syntax (such as@e[name=Foo]
)
Brigadier for Bukkit, bug fixes
- Add initial support for Brigadier on Bukkit through BukkitCommandHandler#registerBrigadier
- Fix CompletionStages that throw exceptions not being handled
- Add
@Range
annotation withNumberNotInRangeException
- Added
EntitySelector
s in Bukkit for targeting complex selector syntax (such as@e[name=Foo]
)
Support for inheritance
- Support inherited subcommand methods
- Fix InvalidCommandException being thrown with incorrect arguments