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
Zach Levis
b38c725dc5
core: Use the ArgumentDescription interface for descriptions
...
This allows minecraft-extras to provide an implementation that
uses Adventure chat components to represent the description.
2021-01-16 08:54:07 +01:00
zml
a6f8159410
Expand ability to use Adventure Components in exceptions and metadata ( #200 )
...
* cloud-minecraft: Support preserving component error messages
Any exception thrown by an argument parser that is a
ComponentMessageThrowable will now have its component message directly
queried.
* minecraft-extras: Add Component-based description handling for help
* Apply review comments
2021-01-16 08:54:07 +01:00
jmp
12f5c71504
Add missing inputQueue.remove() to TextColorArgument
2021-01-16 08:54:07 +01:00
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
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
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
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
jmp
544c344f18
📚 Update changelog
...
Also minor codestyle fixes
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
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
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
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
jmp
d86973f227
✨ Add VelocityCommandPreprocessor
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
jmp
c7c286eb7a
✨ Update TextColorArgument with captions
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
jmp
3125e49632
📦 Bump adventure-api to 4.1.1
2020-10-19 10:03:56 +02:00
jmp
6f0940ebd4
📦 Update minecraft-extras for Adventure 4.0.0
2020-10-14 12:11:25 +02:00
jmp
5f466fcbc0
✨ Fix parsing of flag arguments that start with '-', i.e. a negative integer, add captions for flag argument
2020-10-13 15:07:40 +02:00
jmp
674507fea6
✨ Add pagination to MinecraftHelp, move minecraft-extras to it's own package
2020-10-11 17:46:28 +02:00
jmp
7e09351cf1
✨ Add highlighting to invalid syntax exception
2020-10-10 01:37:17 +02:00
jmp
c3d679d5ec
✨ Implement EnchantmentArgument, remove inaccurate brig mappings.
2020-10-10 01:37:17 +02:00
Alexander Söderberg
4368305bc9
✨ Add adventure-based exception handlers to cloud-minecraft-extras
2020-10-09 15:07:41 +02:00
jmp
70818bb4b2
🎨 Show less useless info in MinecraftHelp
2020-10-09 13:37:01 +02:00
jmp
decde5cc77
✨ Add message provider function to MinecraftHelp
2020-10-09 13:37:01 +02:00
jmp
29740aa780
🎨 Make MinecraftHelp use Component builders instead of MiniMessage, add a configurable Color pallet
2020-10-09 13:37:01 +02:00
Alexander Söderberg
2aac3980d5
♻️ Reformat + Update .editorconfig
2020-10-07 22:47:48 +02:00
jmp
b37706fd97
✨ Respect permissions in help queries
2020-10-05 22:44:37 +01:00
Alexander Söderberg
7f013124b2
🎨 @Annotation final -> final @Annotation
2020-10-03 21:40:07 +02:00
Alexander Söderberg
26f11e3a7e
🚚 More removal of javax annotations
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
7501bd4743
Version bump.
2020-09-22 18:58:43 +02:00
Alexander Söderberg
146bbc2db3
Make the generated help menu a little prettier and add command insertions
2020-09-22 15:52:32 +02:00
Alexander Söderberg
3f96837cf1
Add adventure based help menu
2020-09-21 19:11:48 +02:00