Alexander Söderberg
3c7bd63f07
✨ Add named suggestion providers
...
This allows for pre-registration of command suggestion providers, that can then be used in annotated command methods.
2020-10-24 19:52:44 +02:00
Alexander Söderberg
37e0b4e91b
📚 Change false to true in method javadoc
2020-10-24 19:52:44 +02:00
Alexander Söderberg
65b7cb6c69
🔥 Fix super important issues
2020-10-24 19:52:44 +02:00
Alexander Söderberg
9344adea59
📚 Add recent changes to CHANGELOG
2020-10-24 19:52:44 +02:00
Alexander Söderberg
bd19e1be56
✨ Make the flag parser smarter
...
It will now allow multiple presence flag aliases to be joined into a single flag, such that `-a -b -c <=> -abc`.
This fixes #75
2020-10-24 19:52:44 +02:00
Alexander Söderberg
c9b61e4275
💀 Stop building the javacord example
...
The simplix repo is too unreliable.
2020-10-24 19:52:44 +02:00
Alexander Söderberg
da0d586e52
📚 Add missing @Since annotations
2020-10-24 19:52:44 +02:00
Alexander Söderberg
60dd74915a
🐛 Update scripts/dependencies.gradle
...
lol, O and 0 look the same D:
2020-10-24 19:52:44 +02:00
Alexander Söderberg
d6ccc1d59b
🧹 Clean up the gradle build scripts a little
...
Changes:
- Move all dependency versions to a shared file
- Order the projects in settings.gradle
2020-10-24 19:52:44 +02:00
broccolai
f3abbf5958
Fix code style issues in jda
2020-10-24 19:52:44 +02:00
broccolai
c5873e46e6
Deprecate JDACommandManager and add JDA4CommandManager
2020-10-24 19:52:44 +02:00
broccolai
530ecc4f73
Bump JDA version
2020-10-24 19:52:44 +02:00
broccolai
36afe207d7
Change JDACommandListeners sendMessage back to queue instead of complete
2020-10-24 19:52:44 +02:00
broccolai
0715c4ab9d
Add JDA example
...
Basic example also showing a basic implementation of the permission mapper
2020-10-24 19:52:44 +02:00
broccolai
c0bc1e7523
Fix custom senders on Cloud-JDA
...
Switches the command sender class to JDACommandSender and allows for it to be constructed with a nullable MessageReceivedEvent allowing for poeple to have backwards mappers
2020-10-24 19:52:44 +02:00
broccolai
433cd88c90
Change UserArgument
...
Changed list usages to set and made the default builders use the mention parser
2020-10-24 19:52:44 +02:00
jmp
37d4bdfe80
📚 Add missing @since annotations
2020-10-24 19:52:44 +02:00
jmp
7cb1661f42
✨ Add BungeeCommandPreprocessor
2020-10-24 19:52:44 +02:00
allenclan23
f73b713658
Expand the bungee module
2020-10-24 19:52:44 +02:00
jmp
d86973f227
✨ Add VelocityCommandPreprocessor
2020-10-24 19:52:44 +02:00
Alexander Söderberg
ad3ca86f42
✨ Add a lockable command manager
...
This will be used for Sponge & Fabric, that both require command registration to happen (at latest) in specific events. This way we lock writing after that event has occurred.
As a side effect, we're able to collect & merge all commands before registering them to the platform, which means we don't have to hackily force-inject duplicate commands.
2020-10-24 19:52:44 +02:00
broccolai
5cdef1b401
Update gradle and gradle plugin versions
2020-10-24 19:52:44 +02:00
jmp
5ce9677cb4
✨ Register new Velocity arguments with the parser registry
2020-10-24 19:52:44 +02:00
jmp
15c6c8a2a1
🐛 Suggest the right amount of arguments with >1 requestedArgumentCount
2020-10-24 19:52:44 +02:00
Alexander Söderberg
79aefb05b5
✨ Add LocationArgument to cloud-bukkit ( #63 )
...
* ✨ Add LocationArgument to cloud-bukkit
* 🎨 Use the Bukkit CommandSender from the command context in LocationArgument
* 🐛 Fixed quoted parsing in StringArgument
* 📚 Fix code style
Co-authored-by: jmp <jasonpenilla2@me.com>
2020-10-24 19:52:44 +02:00
Alexander Söderberg
1249b74e83
📚 Add since annotations to new classes
2020-10-24 19:52:44 +02:00
allenclan23
8d69767c15
Added ServerArgument to Velocity
2020-10-24 19:52:44 +02:00
jmp
c7c286eb7a
✨ Update TextColorArgument with captions
2020-10-24 19:52:44 +02:00
jmp
fba29041e6
🎨 Add caption for string "No input was provided"
2020-10-24 19:52:44 +02:00
jmp
c67cc35cf6
🎨 Add captions for Bukkit entity selector arguments
2020-10-24 19:52:44 +02:00
Alexander Söderberg
366c4f2ce5
✨ Add an adventure text colour parser
2020-10-24 19:52:44 +02:00
Alexander Söderberg
edc5249244
✨ Improve the velocity module
2020-10-24 19:52:44 +02:00
Alexander Söderberg
9761c0fadf
🚀 Version bump.
2020-10-24 19:52:44 +02:00
dependabot[bot]
845cd1ec5d
⬆️ Bump checker-qual from 3.5.0 to 3.7.0
...
Bumps [checker-qual](https://github.com/typetools/checker-framework ) from 3.5.0 to 3.7.0.
- [Release notes](https://github.com/typetools/checker-framework/releases )
- [Changelog](https://github.com/typetools/checker-framework/blob/master/changelog.txt )
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.5.0...checker-framework-3.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 22:45:24 +02:00
dependabot[bot]
e993d0e41c
⬆️ Bump JDA from 4.2.0_207 to 4.2.0_210
...
Bumps JDA from 4.2.0_207 to 4.2.0_210.
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 22:44:42 +02:00
dependabot[bot]
fadd9578ec
⬆️ Bump jmh-generator-annprocess from 1.25.2 to 1.26
...
Bumps jmh-generator-annprocess from 1.25.2 to 1.26.
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 22:44:16 +02:00
dependabot[bot]
e1c7d91722
⬆️ Bump com.github.johnrengelman.shadow from 6.0.0 to 6.1.0
...
Bumps com.github.johnrengelman.shadow from 6.0.0 to 6.1.0.
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 22:38:30 +02:00
Jason
4d94259e3b
✨ Update dependabot.yml
2020-10-23 22:34:05 +02:00
Federico López
472d3b7054
Fix broken readme linking to cloud-minecraft smh
2020-10-20 19:06:26 +02:00
jmp
bc0cc6fa4b
🔖 Bump version to 1.0.2
2020-10-19 10:03:56 +02:00
jmp
3125e49632
📦 Bump adventure-api to 4.1.1
2020-10-19 10:03:56 +02:00
Jason
c051ff20df
🐛 Fix wrong suggestions following an invalid literal ( #72 )
...
* ✅ Add a test for suggestions after an invalid literal
* 🐛 Fix wrong suggestions following an invalid literal
* 📚 Document literal suggestion fix in CHANGELOG
Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
2020-10-19 10:03:56 +02:00
Alexander Söderberg
27d228cb4c
✨ Implement PR comments
2020-10-19 10:03:56 +02:00
Alexander Söderberg
720019b508
🐛 Fixed quoted parsing in StringArgument
2020-10-19 10:03:56 +02:00
jmp
9bfb0f17d6
✨ Use the correct failure reason for quoted StringArguments
2020-10-19 10:03:56 +02:00
Alexander Söderberg
6c63b47e5e
🐛 Fix multiple chained optionals not working correctly ( #73 )
...
* 🐛 Fix multiple chained optionals not working correctly
There is a problem where the child arguments never forwarded their commands correctly. This will now fix itself when necessary.
* 📚 Add CHANGELOG entry for change
2020-10-18 21:36:58 +02:00
Alexander Söderberg
d6cdeca1c3
📚 Improve the Bukkit and PaperCommandManager documentation
2020-10-17 19:03:52 +02:00
Alexander Söderberg
de0666aa73
📚 Improve the CommandManager documentation
2020-10-17 19:03:52 +02:00
jmp
460040b39c
📚 Fix readme code examples
2020-10-16 23:39:14 +02:00
Alexander Söderberg
9f642dec9b
📚 Update gradle.yml ( #61 )
2020-10-16 22:33:14 +02:00