Jason
c8fdf22f4b
✨ Allow for more easily using translatable components with MinecraftHelp ( #197 )
...
* ✨ Allow for more easily using translatable components with MinecraftHelp
* Add missing Javadoc
2021-01-16 08:54:07 +01:00
jmp
8913b2495e
🐛 Transition to AFTER_REGISTRATION even when no commands have been registered
2021-01-16 08:54:07 +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
jmp
23c0ad77f9
⬆️ Bump version to 1.4.0-SNAPSHOT
2021-01-16 08:54:07 +01:00
jmp
f7765d8fe9
✨ Minor formatting changes to MinecraftHelp
2021-01-16 08:54:07 +01:00
Irmo van den Berge
df52e99a8b
Show 'no results for query' in help when multi-help topic is empty
...
Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2021-01-16 08:54:07 +01:00
Irmo van den Berge
cabb7f426c
Add predicate command filter option to the cloud help system
...
Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
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
c281c49edf
🚀 Prepare for release
2020-12-18 19:49:57 +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
e5a35afb8a
✨ Add @Parser annotated methods
...
Fixes #166 . Also fixes #180 .
2020-12-18 19:49:57 +01:00
Irmo van den Berge
5224050c99
✨ Support repeating literals or argument names ( #168 )
...
Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
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
2f077e03f3
✨ Improve injection
2020-12-18 19:49:57 +01:00
jmp
f8235a4ed1
⬆️ Bump version to 1.3.0-SNAPSHOT
2020-12-18 19:49:57 +01:00
broccolai
2bdfc2777a
Bump version to 1.3.0-dev
2020-12-18 19:49:57 +01:00
broccolai
d656c99601
Move all 1.2.0-SNAPSHOT references to 1.2.0
2020-12-07 20:05:45 +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
jmp
77225274ce
✨ Improve Bukkit command registration logic
...
When a new command is registered, if a command with that name already exists, Bukkit will not register the new command, ie the existing command gets priority.
However, if the already existing command is an alias, it will replaced by the new command.
These changes update cloud to be aware whether or not an existing command is an alias, and that if so, that Bukkit will allow us to have priority for this command.
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
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
65684d0036
🎨 Add stacktrace click and hover events to the default minecraft-extras CommandExecutionException handler
2020-12-07 20:05:45 +01:00
jmp
62ba96ebeb
📦 Update minecraft-extras for adventure-api 4.2.0
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
d9735212a8
✨ Specify UTF-8 encoding in build.gradle
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
829c310872
✨ Add a method to CloudBrigadierManager to enable/disable native suggestions for argument types
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
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
jmp
81e53ed454
🚀 Version bump
2020-12-07 20:05:45 +01:00
Alexander Söderberg
2843b368d5
📚 Change version to 1.1.0 from 1.1.0-SNAPSHOT
2020-10-24 19:52:44 +02:00
jmp
e26d01388d
✨ Improve the exception message for LocationArgument
2020-10-24 19:52:44 +02: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
6ffee9d04f
✨ Make changes from PR comments
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
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