Skip to content

Releases: Revxrsal/Lamp

Lamp 3.0.4

27 Apr 17:25
Compare
Choose a tag to compare
  • Help entries will now include all sibling commands and children of siblings
  • ExecutableCommand and CommandCategory now implement Comparable, to allow them to be sorted according to the alphabetical order
  • Help entries will automatically be sorted in alphabetical order

Lamp 3.0.3

18 Apr 11:29
Compare
Choose a tag to compare

Warning: This release introduces breaking changes to ArgumentStack.

  • French translation by @SkytAsul
  • Fix MissingArgumentException was not thrown with a missing flag value (#20)
  • Fixed annotation priorities when an annotation is present on both the class and method
  • Added CommandHandler.unregisterAllCommands()
  • @AutoComplete annotations can now accept * for a parameter to reference the default auto-completer
  • Use a supplier for Bukkit's config to avoid loading it (which would throw an error if the config had any problems)
  • Fixed flags not working correctly with Brigadier
  • Fixed flag completion being semi-broken
  • Introduced the ArgumentParser API
  • Added CommandHandler.getArgumentParser(), CommandHandler.setArgumentParser(ArgumentParser), CommandHandler.parseArguments(String...) and CommandHandler.parseArgumentsForCompletion(String...)
  • Fixed Brigadier commands being registered on the minecraft: namespace
  • Improved Brigadier support

ArgumentStack changes:

  • Removed ArgumentStack#of(String...)
  • Removed ArgumentStack#of(Collection<String>)
  • Removed ArgumentStack#forAutoCompletion(String...)
  • Removed ArgumentStack#fromString(String)
  • Renamed ArgumentStack#exactly(Collection<String> to #copy(Collection<String>)
  • Added ArgumentStack#copy(String...)

Fix some issues with Jitpack

25 Mar 19:55
dba5927
Compare
Choose a tag to compare

Fix Jitpack issues

3.0.1

25 Mar 19:02
19cf10f
Compare
Choose a tag to compare

What's Changed

  • Added Portuguese language support by @alisson0022 in #9
  • Fix odd issue in English messages by @TehNeon in #10
  • Update from Gradle 6.8 to 7.4.1 by @TehNeon in #12
  • Add auto-completer extensions for Kotlin #11 and annotation replacer extensions #15
  • Support Kotlin's suspend functions
  • Fix locale issues on Bukkit 1.8.X #17

Full Changelog: 3.0.0...3.0.1

Localization API + Annotation replacer API

16 Mar 14:53
Compare
Choose a tag to compare

Fix flags

08 Mar 12:59
Compare
Choose a tag to compare

Fix enum resolvers

27 Feb 19:57
Compare
Choose a tag to compare

Fix an issue in the default enum resolver

Unregistering and some improvements

19 Feb 12:50
Compare
Choose a tag to compare

Catch ArgumentParseException being thrown in auto completions

17 Feb 09:14
Compare
Choose a tag to compare

Fix permissions on default methods

16 Feb 18:44
Compare
Choose a tag to compare