Skip to content

Releases: Revxrsal/Lamp

1.20.6+ support for Brigadier

03 Oct 07:50
Compare
Choose a tag to compare

This version adds Brigadier support to v3 on 1.20.6+ (Paper only)

Lamp v4: Beta 15

01 Oct 11:07
Compare
Choose a tag to compare
  • Add StringStream#peekString()
  • Rename CommandList#asPage() to CommandList#paginate()
  • Document some classes

Full Changelog: 4.0.0-beta.14...4.0.0-beta.15

Lamp v4: Beta 14

23 Sep 17:45
Compare
Choose a tag to compare
  • Prevent duplicate suggestions
  • Send player suggestions if Brigadier is disabled
  • Bug fixes in auto-completion

Full Changelog: 4.0.0-beta.13...4.0.0-beta.14

Lamp v4: Beta 13

22 Sep 11:17
Compare
Choose a tag to compare
  • Fix greedy strings on Minestom
  • Fix autocompletion not working when there are multiple successive spaces
  • Respect quotes in greedy strings
  • Ignore extra whitespace in executing commands

Full Changelog: 4.0.0-beta.12...4.0.0-beta.13

Lamp v4: Beta 12

21 Sep 22:22
Compare
Choose a tag to compare
  • Fix annotation replacers not replacing annotations on classes
  • Natively unregister commands on Bukkit when they are unregistered on the Lamp side
  • Annotation safety: Lamp will require all your annotations to have @Retention(RUNTIME). This will prevent confusion when the user tries to query an annotation that does not have a runtime retention policy.
  • Fixed @Length not having runtime retention
  • Fixed Kotlin's default arguments not working with primitives
  • Fixed Kotlin's default arguments not working with methods when the method is declared with a context receiver.

Full Changelog: 4.0.0-beta.11...4.0.0-beta.12

Lamp v4: Beta 11

19 Sep 12:56
Compare
Choose a tag to compare
  • Asynchronous suggestions (#108)
  • Fix flag autocompletion being broken
  • Minor internal cleanups

Full Changelog: 4.0.0-beta.10...4.0.0-beta.11

Lamp v4: Beta 9

17 Sep 19:43
Compare
Choose a tag to compare
  • Addition of @Flags
  • Addition of @Switches
  • Added BukkitCommandActor#reply(Component)
  • Added BukkitCommandActor#audience()
  • Added BukkitLampConfig#audiences(), #messageSender() and #errorSender() for Components
  • Expose ExecutableCommand and Lamp instances from CommandNodes
  • Fix suggestions not working with greedy strings
  • ⚠️ Changed SuggestionProvider's from Collection<String> getSuggestions(StringStream, ExecutionContext) to Collection<String> getSuggestions(ExecutionContext)
  • Minor improvements

Full Changelog: 4.0.0-beta.8...4.0.0-beta.9

Lamp v4: Beta 10

17 Sep 22:10
Compare
Choose a tag to compare

Additions

  • Added @CommandPriority.Low
  • Clean up CommandRegistry and migrate to a user-friendly interface
  • Rename CommandRegistry#children() to CommandRegistry#commands()
  • Make sure @Switch is only usable on boolean parameters

Kotlin features

  • Added support for suspend functions
  • Added support for @Optional and nullable parameters
  • Added support for @Switch value: Boolean = true/false (default values for switches)

Full Changelog: 4.0.0-beta.9...4.0.0-beta.10

4.0.0-beta.8

15 Sep 21:22
Compare
Choose a tag to compare
  • Fixes in Minestom
  • Fixes naming parameters not working with annotation replacers

Documentation

Full Changelog: 4.0.0-beta.7...4.0.0-beta.8

Lamp v4: Beta 7

11 Sep 21:32
Compare
Choose a tag to compare

Iteration 7 for Lamp v4 (beta).

  • Fixes class annotations taking priority over method annotations

Documentation