Jason Penilla
eae247954f
build and publishing updates
2022-06-18 22:52:58 -07:00
Jason
b3db0aab38
Improved KeyedWorldArgument suggestions ( #334 )
2022-06-18 22:52:58 -07:00
Jason Penilla
d8b6dec80f
reword comment
2021-12-18 04:12:42 -08:00
Frank van der Heijden
e47f54e376
paper: Fix handling of empty slash buffer in async suggestion listener ( #327 )
2021-12-18 04:12:42 -08:00
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
0cf8030f72
bukkit: Make KeyedWorldArgument fallback to normal WorldParser when World does not implement Keyed ( #298 )
2021-12-02 02:04:43 -08:00
Jason Penilla
b4492e9bc5
Fix Brigadier suggestions for KeyedWorldArgument
2021-12-02 02:04:43 -08:00
Jason Penilla
4447ab451f
Add @since tags and typed default to KeyedWorldArgument
2021-12-02 02:04:43 -08:00
Jake Potrebic
ffac750f0d
paper: Add KeyedWorldArgument ( #293 )
2021-12-02 02:04:43 -08:00
Jason
04e697cca6
bukkit: Update Minecraft Brigadier argument types to work on Mojang-mapped servers ( #267 )
2021-07-05 02:56:06 -07:00
jmp
99040ca68a
bukkit: Use WrappedBrigadierParser for modern ItemStack suggestions
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
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
0722bf6ead
bukkit/paper/velocity: Add convenience methods for constructing command managers using native platform sender types
2021-07-05 02:56:06 -07:00
Frank van der Heijden
ffa17b001b
Apply .trim() before .isEmpty() check to prevent 0-length splits
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
jmp
d812ea633a
🐛 Fix suggestions in console (Bukkit/Paper)
2021-01-16 08:54:07 +01:00
Alexander Söderberg
2f077e03f3
✨ Improve injection
2020-12-18 19:49:57 +01:00
broccolai
237eda75ef
Reformat project
2020-12-07 20:05:45 +01:00
jmp
01d36aecd8
🐛 Fix Commodore registration on Bukkit
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
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
118005978f
✨ Also expose the Brigadier manager from the VelocityCommandManager
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
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
d6cdeca1c3
📚 Improve the Bukkit and PaperCommandManager documentation
2020-10-17 19:03:52 +02:00
Alexander Söderberg
6ab1c8a2e0
✨ Merge pull request #43
...
* ✨ Add a new caption system to allow for the configuration of…
* ✨ Add caption support to all numerical types
* Add more standard pasres to the registry
* Add default messages for captions
* ✨ Improve captions in core
* Add captions for Bukkit
* ✨ Add FactoryDelegatingCaptionRegistry.java
2020-10-12 18:13:23 +02:00
jmp
c3d679d5ec
✨ Implement EnchantmentArgument, remove inaccurate brig mappings.
2020-10-10 01:37: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
jmp
d5461d104f
🎨 Move Brig mappings to a common class for Paper and Commodore
2020-10-06 20:04:16 +02:00
Josh Taylor
f1d4529276
✨ Cleanup annotations and remove Cloud Brigs Pair ( #32 )
2020-10-06 12:40:35 +02:00
Alexander Söderberg
ec233fcc20
✨ Get rid of some annoying warnings
2020-10-05 16:27:26 +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
jmp
80988ec986
✨ Throw an IllegalStateException when trying to register async completions on an unsupported server
2020-10-04 21:59:14 +02:00
Alexander Söderberg
22993a46d7
✨ Improve Bukkit conflict management
...
Conflicting commands will now obey plugin load order. Brigadier aliases will be created for namespaced aliases. No asynchronous completions will be provided for conflicting commands and will only be provided for the namespaced label. Furthermore, error handling the command tree has been improved and the methods now return a pair, rather than an optional. This means that there's no need to catch and unwrap exceptions and they will be forwarded in the correct form.
2020-10-04 18:32:34 +02:00
Alexander Söderberg
a6b98ca278
🎨 Some codestyle fixes
2020-10-03 21:35:16 +02:00
jmp
9a35a873c0
Add entity selector arguments (@p, @e, @r, etc.) for Bukkit and register with the PaperBrigadierListener.
2020-10-03 21:35:16 +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
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
d3ed876df6
Send brigadier permissions to bukkit command manager
2020-09-25 00:36:30 +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
jmp
f984a40f58
Log the exception when failing to map nms argument types, don't register UUID argument before 1.16
2020-09-24 12:42:57 +02:00