Releases: Revxrsal/Lamp
Releases · Revxrsal/Lamp
1.20.6+ support for Brigadier
This version adds Brigadier support to v3 on 1.20.6+ (Paper only)
Lamp v4: Beta 15
- 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
- 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
- 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
- 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
- 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
- Addition of
@Flag
s - Addition of
@Switch
es - Added
BukkitCommandActor#reply(Component)
- Added
BukkitCommandActor#audience()
- Added
BukkitLampConfig#audiences()
,#messageSender()
and#errorSender()
for Components - Expose
ExecutableCommand
andLamp
instances fromCommandNode
s - Fix suggestions not working with greedy strings
⚠️ Changed SuggestionProvider's fromCollection<String> getSuggestions(StringStream, ExecutionContext)
toCollection<String> getSuggestions(ExecutionContext)
- Minor improvements
Full Changelog: 4.0.0-beta.8...4.0.0-beta.9
Lamp v4: Beta 10
Additions
- Added
@CommandPriority.Low
- Clean up
CommandRegistry
and migrate to a user-friendly interface - Rename
CommandRegistry#children()
toCommandRegistry#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
- Fixes in Minestom
- Fixes naming parameters not working with annotation replacers
Full Changelog: 4.0.0-beta.7...4.0.0-beta.8
Lamp v4: Beta 7
Iteration 7 for Lamp v4 (beta).
- Fixes class annotations taking priority over method annotations