Zach Levis
62caa2d641
brigadier: Add support for wrapped parsers
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
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
78b081ccc2
core: Allow attaching a default description to arguments
2021-01-16 08:54:07 +01:00
Alexander Söderberg
9276a919d3
✨ Add keyed values to CommandContext and do some cleanup
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
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
broccolai
237eda75ef
Reformat project
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
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
118005978f
✨ Also expose the Brigadier manager from the VelocityCommandManager
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
d86973f227
✨ Add VelocityCommandPreprocessor
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
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
fba29041e6
🎨 Add caption for string "No input was provided"
2020-10-24 19:52:44 +02:00
Alexander Söderberg
edc5249244
✨ Improve the velocity module
2020-10-24 19:52:44 +02:00
allenclan23
4de9946683
Fix an issue created by breaking changes in Velocity. CommandSource#sendMessage now requires an Identity
2020-10-16 08:00:01 +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
Alexander Söderberg
4777831ee6
🗑️ Get rid of JLine3 and clean up Velocity
2020-10-07 22:47:48 +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
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