Lamp

A modern annotations-driven commands framework for Java and Kotlin

MIT License

Stars
197
Committers
16

Bot releases are visible (Hide)

Lamp - Fix flags

Published by Revxrsal over 2 years ago

Fix #7

Lamp - Fix enum resolvers

Published by Revxrsal over 2 years ago

Fix an issue in the default enum resolver

Lamp - Unregistering and some improvements

Published by Revxrsal over 2 years ago

Lamp - Fix permissions on default methods

Published by Revxrsal over 2 years ago

Lamp - Fix exception adapters

Published by Revxrsal over 2 years ago

Lamp - Exception handlers update

Published by Revxrsal over 2 years ago

Exception handlers have been refactored to use reflections as a cleaner and easier approach.

Lamp - Parameter permissions

Published by Revxrsal over 2 years ago

Lamp - Prevent unauthorized access to categories

Published by Revxrsal over 2 years ago

Lamp - Orphan command API, prefixes, bug fixes and general improvements

Published by Revxrsal over 2 years ago

  • 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
Lamp - Minor fix in player selectors

Published by Revxrsal over 2 years ago

Lamp - Hide secret commands from auto-completions

Published by Revxrsal over 2 years ago

Lamp - Help menu improvements, secret commands

Published by Revxrsal over 2 years ago

Lamp - Fix default methods

Published by Revxrsal about 3 years ago

  • Rewrote the command searching logic to be far more accurate
  • Fixed Default methods not working correctly
Lamp - Minor fixes on Brigadier support

Published by Revxrsal about 3 years ago

  • Fixed Brigadier namespaces not working correctly
  • Fixed switches and flags in Brigadier
  • Handle MalformedEntitySelectorException
Lamp - Brigadier for Bukkit, bug fixes

Published by Revxrsal about 3 years ago

  • Add initial support for Brigadier on Bukkit through BukkitCommandHandler#registerBrigadier
  • Fix CompletionStages that throw exceptions not being handled
  • Add @Range annotation with NumberNotInRangeException
  • Added EntitySelectors in Bukkit for targeting complex selector syntax (such as @e[name=Foo])
Lamp - Brigadier for Bukkit, bug fixes

Published by Revxrsal about 3 years ago

  • Add initial support for Brigadier on Bukkit through BukkitCommandHandler#registerBrigadier
  • Fix CompletionStages that throw exceptions not being handled
  • Add @Range annotation with NumberNotInRangeException
  • Added EntitySelectors in Bukkit for targeting complex selector syntax (such as @e[name=Foo])
Lamp - Support for inheritance

Published by Revxrsal about 3 years ago

  • Support inherited subcommand methods
  • Fix InvalidCommandException being thrown with incorrect arguments