Jason
3f0ef5715c
cloud-kotlin-coroutines (#318 )
...
* Builder coroutine support
* Move coroutines to version catalog
* Add kdocs
* Add note about simple coordinator
* Update changelog
2021-12-02 02:04:43 -08:00
Jason Penilla
762de3dfba
Update changelog
2021-12-02 02:04:43 -08:00
Alexander Söderberg
ad80933a20
Feature: Allow argument names to be inferred from parameter names
2021-12-02 02:04:43 -08:00
Jason
3df3560d91
annotations: Also apply builder modifiers from class ( #303 )
2021-12-02 02:04:43 -08:00
Jason Penilla
6cd1105642
Update changelog
2021-12-02 02:04:43 -08:00
Jake Potrebic
9f0ff4e504
core: fix And/OrPermission losing conditional tree ( #296 )
2021-12-02 02:04:43 -08:00
Jason Penilla
00bb3f79cd
Update changelog
2021-12-02 02:04:43 -08:00
Jake Potrebic
ffac750f0d
paper: Add KeyedWorldArgument ( #293 )
2021-12-02 02:04:43 -08:00
Frank van der Heijden
3e28cc3191
Add @since and CHANGELOG.md entry for flag permissions
2021-12-02 02:04:43 -08:00
Alexander Söderberg
5934c2fd3b
Add changelog
2021-12-02 02:04:43 -08:00
Jason Penilla
5cc7fdd634
Update changelog
2021-07-05 02:56:06 -07:00
broccolai
e5f55145b1
Update changelog
2021-07-05 02:56:06 -07:00
Jason
7da05da323
bukkit: Implement ItemStack and Block predicate arguments ( #259 )
2021-07-05 02:56:06 -07:00
Jason
e3cc7d43cb
bukkit: Implement ItemStackArgument ( #257 )
...
Fully featured on 1.13+, falls back to Material parser on legacy versions.
Also some general cleanup to the Bukkit impl
2021-07-05 02:56:06 -07:00
p5nbTgip0r
dd811bd157
Update changelog for long parser
2021-07-05 02:56:06 -07:00
broccolai
a6eb44376c
Fix tuple#toArray implementations
2021-07-05 02:56:06 -07:00
broccolai
213039fc20
Update changelog
2021-07-05 02:56:06 -07:00
jmp
58f49033ce
Use Command instead of TabCompleteEvent on Bukkit
2021-07-05 02:56:06 -07:00
Alexander Söderberg
d9122d47d0
📚 Update CHANGELOG.md
2021-01-16 09:59:38 +01:00
Alexander Söderberg
3454cbe4da
🚀 1.4.0 release
2021-01-16 08:54:07 +01:00
Zach Levis
7d46e64ed3
✨ Add logical operators to permissions
...
These operators allow some basic combination of permissions to occur,
which expands what can be easily done with permissions definitions.
2021-01-16 08:54:07 +01:00
p5nbTgip0r
09f8dbd956
🐛 JDA: Fix webhook messages throwing NPE ( #214 )
...
* Fix NPE with webhook messages.
Webhook messages would be constructed as `JDAGuildSender`, which calls `Objects.requireNonNull(event.getMember())` however the JDA documentation states that the `getMember()` method will `be null in case of Message being received in a PrivateChannel or isWebhookMessage() returning true.` If the message is a webhook message, a generic `JDACommandSender` instance will be constructed instead of a `JDAGuildSender`
* Add webhook fix to changelog
2021-01-16 08:54:07 +01:00
Alexander Söderberg
9550dce5e6
✨ Add access to parameter annotations in the parameter injector
2021-01-16 08:54:07 +01:00
Alexander Söderberg
92f8661b59
📚 Make CHANGELOG less messy and add missing changes
2021-01-16 08:54:07 +01:00
Alexander Söderberg
2cf743c805
✨ Add injection services ( #211 )
...
* ✨ Add injection services
* Change dependency scope for Guice
2021-01-16 08:54:07 +01:00
Alexander Söderberg
0b6a554946
✨ Implement predicate permissions ( #210 )
...
Co-authored-by: Josh Taylor <me@broccol.ai>
2021-01-16 08:54:07 +01:00
jmp
2068b5a43c
update changelog
2021-01-16 08:54:07 +01:00
Jason
7347ced0db
Expose Command/Context from exceptions where possible ( #204 )
...
* Expose Command/Context from exceptions where possible
* Update changelog
2021-01-16 08:54:07 +01:00
Alexander Söderberg
83edf839e3
:docs: Add missing stuff to changelog
2020-12-18 19:49:57 +01:00
Alexander Söderberg
c281c49edf
🚀 Prepare for release
2020-12-18 19:49:57 +01:00
Alexander Söderberg
9ed40a698a
✨ Allow interception of command builders based on annotations in AnnotationParser
...
Fixes #179
2020-12-18 19:49:57 +01:00
Alexander Söderberg
e5a35afb8a
✨ Add @Parser annotated methods
...
Fixes #166 . Also fixes #180 .
2020-12-18 19:49:57 +01:00
Alexander Söderberg
885cc7e005
🎨 Fix formatting
2020-12-18 19:49:57 +01:00
zml
1e91273e0e
✨ Work towards making CommandMeta typesafe ( #173 )
...
Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
2020-12-18 19:49:57 +01:00
Alexander Söderberg
ab366be24d
:sparkes: Add @Suggestions annotated methods
2020-12-18 19:49:57 +01:00
Alexander Söderberg
2f077e03f3
✨ Improve injection
2020-12-18 19:49:57 +01:00
Alexander Söderberg
eb588997f9
🎆 Release 1.2.0
2020-12-07 20:05:45 +01:00
Alexander Söderberg
070a719165
✨ Try to preserve command sender when getting Brigadier suggestions
2020-12-07 20:05:45 +01:00
jmp
ded94567c6
✨ Add a ManagerSetting to override existing commands
2020-12-07 20:05:45 +01:00
jmp
1ff5a2c4ce
📚 Update changelog
...
Add back an entry which was accidentally removed, move an entry to the correct location, add missing entries
2020-12-07 20:05:45 +01:00
jmp
544c344f18
📚 Update changelog
...
Also minor codestyle fixes
2020-12-07 20:05:45 +01:00
zml
013d2d61f4
✨ Give CommandManager a registration state ( #148 )
...
* Make CommandManager track its availability for registration
This prevents situations where changes to the manager
would result in undefined state in other places.
* Add unsafe registration capability
* Very minor formatting + `@since` tags
* Add changes to changelog
Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
2020-12-07 20:05:45 +01:00
jmp
7df6917fe4
✨ Added CommandExecutionException which wraps any exception thrown during the execution of command handlers. Should be handled using CommandManager#registerExceptionHandler, similar to NoSuchCommandException, ArgumentParseException, etc.
2020-12-07 20:05:45 +01:00
jmp
2f0ded5be6
🐛 Fix registration of command aliases on Bukkit when using Brigadier
2020-12-07 20:05:45 +01:00
jmp
fc1a613463
✨ Allow for use of named suggestion providers in @Flag annotated command method parameters, add methods to FlagContext to work with flag values as optionals
2020-12-07 20:05:45 +01:00
jmp
dbdafed273
🐛 Fix Bukkit alias command suggestions without Brigadier
2020-12-07 20:05:45 +01:00
jmp
e6af4e6caa
✨ Add a method to get the failure reason of SelectorParseExceptions
2020-12-07 20:05:45 +01:00
jmp
a04e3f92cb
✨ Allow for use of a BiFunction<C, E, Component> instead of just a Function<E, Component> in MinecraftExceptionHandler
2020-12-07 20:05:45 +01:00
jmp
1193135b8e
📚 Update changelog
2020-12-07 20:05:45 +01:00
jmp
829c310872
✨ Add a method to CloudBrigadierManager to enable/disable native suggestions for argument types
2020-12-07 20:05:45 +01:00