Jason Penilla
708d11854e
Fix import order
2021-12-02 02:04:43 -08:00
Jason Penilla
9dc4e87fa8
Use typesafe dependency accessors
2021-12-02 02:04:43 -08:00
Jason
e109e639a1
core: Improvements to number arguments ( #255 )
2021-07-05 02:56:06 -07:00
Jason
c9ac39ed26
Update build scripts for Gradle 7 ( #247 )
...
* fabric: Update Loom to 0.7-SNAPSHOT
* Update to Gradle 7
Switch to CadixDev/licenser
The plugin we were using before does not support Gradle 7, and hasn't been updated in over a year.
* Remove `jcenter()` references
* Move to new JDA repo and bump version
* Use setup-java v2 and Adopt JDK 16 in gh actions
* build: Temporarily add Incendo repo for plugin resolution
Allows building until licenser has a new release
* Import indra plugin classes instead of string applies
* remove space
Co-authored-by: broccolai <me@broccol.ai>
2021-07-05 02:56:06 -07:00
jmp
09fac7734e
brigadier: Use StringArgumentType.word() as fallback
...
`StringArgumentType.string()` is quoted mode.
2021-07-05 02:56:06 -07:00
jmp
ddf16373fb
brigadier: add @since tags
2021-07-05 02:56:06 -07:00
jmp
65bb4d7a5d
fabric: javadoc cleanup
2021-07-05 02:56:06 -07:00
jmp
488ea8f9d8
fabric: minor formatting/javadoc fixes
2021-07-05 02:56:06 -07:00
jmp
2659eac93b
brigadier: Fix MappedArgumentParsers always mapping to string
2021-07-05 02:56:06 -07:00
jmp
f16cafda3f
fix brigadier suggestions with the '/execute' command, fix running cloud commands with '/execute' on fabric
2021-07-05 02:56:06 -07:00
Zach Levis
5c7f2ffaab
license headers
2021-07-05 02:56:06 -07:00
Zach Levis
6eae149089
brigadier: Unwrap mapped argument parsers
2021-07-05 02:56:06 -07:00
Zach Levis
98aea50d3c
brigadier: Allow specifying a custom brigadier suggestions provider
2021-07-05 02:56:06 -07:00
Zach Levis
62caa2d641
brigadier: Add support for wrapped parsers
2021-07-05 02:56:06 -07:00
broccolai
d5259dfbe4
Add explict this checkstyle rule and fix violations
2021-07-05 02:56:06 -07:00
Alexander Söderberg
1600ef16c3
:clock: 2021 let's go!!!
2021-01-16 09:58:46 +01:00
jmp
b848070d57
Use an Object with fields instead of a Map for dependency versions
2021-01-16 08:54:07 +01:00
jmp
f1e467038c
Rename vers to versions
2021-01-16 08:54:07 +01:00
jmp
2c188eb130
✨ Convert build scripts to Kotlin
...
Also added some new tasks to only build/install to maven local certain platforms
`buildMinecraft`, `installMinecraft`, `buildDiscord`, `installDiscord`, `buildIRC`, `installIRC`
2021-01-16 08:54:07 +01:00
Irmo van den Berge
b29d1ae5d1
Fix suggestions showing twice on spigot+brigadier
...
Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2021-01-16 08:54:07 +01:00
Alexander Söderberg
c684c6607f
✨ Allow for literals to be combined with a variable arg( #181 )
...
Co-authored-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
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
070a719165
✨ Try to preserve command sender when getting Brigadier suggestions
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
jmp
e4efffe577
📚 Update changelog
2020-12-07 20:05:45 +01:00
jmp
d0209dc762
✨ Expose the Brigadier manager from Brigadier-enabled command managers
2020-12-07 20:05:45 +01:00
Alexander Söderberg
cfac2639ad
✨ Add errorprone and fix warnings/errors
...
The compiler will also treat all warnings as errors from now on.
2020-10-24 19:52:44 +02:00
jmp
c74ac64e5f
🐛 Fix optionals not being brig executors
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
Alexander Söderberg
06a34651bf
🐛 Fix brigadier suggestion building
...
An offset will be added pointing to the last occurrence of a blank space. This fixes incorrect tab completions for greedy strings
2020-10-13 19:53:01 +02:00
Alexander Söderberg
fcd269b6e7
✨ Add String[] args
2020-10-09 20:44:17 +02:00
Jason
882154a6a8
🐛 Fix async completions ( #38 )
...
Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
2020-10-08 13:12:07 +02:00
Alexander Söderberg
2aac3980d5
♻️ Reformat + Update .editorconfig
2020-10-07 22:47:48 +02:00
Josh Taylor
f1d4529276
✨ Cleanup annotations and remove Cloud Brigs Pair ( #32 )
2020-10-06 12:40:35 +02:00
Alexander Söderberg
c3469706ab
✨ fix-commodore ( #27 )
2020-10-06 12:39:06 +02:00
Alexander Söderberg
d6a2062069
✨ Fix annotation order
2020-10-05 17:56:12 +02:00
Alexander Söderberg
a4544a8550
✨ Prevent command arguments from being used in multiple commands
...
Also get rid of some random annoying warnings.
2020-10-05 16:17:18 +02:00
Alexander Söderberg
7f013124b2
🎨 @Annotation final -> final @Annotation
2020-10-03 21:40:07 +02:00
Alexander Söderberg
782f3023fc
✨ Finalize command flags
...
They're currently quite ugly in the help menu. this should probably be fixed, but it's not a priority issue.
2020-10-02 21:08:31 +02:00
Alexander Söderberg
26f11e3a7e
🚚 More removal of javax annotations
2020-09-30 10:40:44 +02:00
Alexander Söderberg
e914d04450
⚡ Fix dependency graph and replace Guava
2020-09-30 10:40:44 +02:00
Alexander Söderberg
4ca47777a3
⚡ Switch to gradle
2020-09-30 10:40:44 +02:00
Alexander Söderberg
d85684c22a
⚡ Fix merge conflicts
2020-09-28 20:42:18 +02:00
Alexander Söderberg
94710c5174
✨ Initial support for compound arguments
...
This allows for grouping and mappings of multiple command arguments by using product types.
2020-09-28 20:42:18 +02:00
Alexander Söderberg
e033ee88db
⚡ Update LICENSE text
2020-09-27 23:30:13 +02:00
Alexander Söderberg
c74cda3a0f
🚚 Switch namespace
2020-09-27 23:04:15 +02:00
Alexander Söderberg
7036beb8ad
🐛 Fix command registration for Velocity
...
We need to recreate the Brigadier command node each time a command is extended, and the code was only letting each command get registered once.
2020-09-26 17:39:54 +02:00
Alexander Söderberg
e8a1a9a6cf
Replace command permissions with a new smarter permission system that allows for compound permissions
2020-09-25 00:36:30 +02:00
Alexander Söderberg
7501bd4743
Version bump.
2020-09-22 18:58:43 +02:00
Alexander Söderberg
96fcd03a75
Attempt to fix maven thing again yes
2020-09-20 21:13:09 +02:00