Commit graph

820 commits

Author SHA1 Message Date
Jason
1694df732d Improve nullability annotations on generics in CommandContext (#405) 2022-12-13 11:13:00 -07:00
Jason Penilla
087fa0df2d Fix workflow syntax? 2022-12-13 11:13:00 -07:00
Jason Penilla
a222d0f488 Adjust gradle-build-action caching config 2022-12-13 11:13:00 -07:00
Jason Penilla
b888d99bb7 Update setup java 2022-12-13 11:13:00 -07:00
Jason Penilla
1860973a69 Update actions 2022-12-13 11:13:00 -07:00
Jason
025dc974ad Remove from command collection on unregister (#408) 2022-12-13 11:13:00 -07:00
Jason Penilla
ead52ef3aa Javadoc and SelectorUtils cleanup 2022-12-13 11:13:00 -07:00
Jason Penilla
7897159a1c Update license in examples 2022-12-13 11:13:00 -07:00
Jason Penilla
c9d0040596 Update license 2022-12-13 11:13:00 -07:00
Cheos
dbaa1f5aa2 Fix #406 wrong color codes in TextColorArgument (#407) 2022-12-13 11:13:00 -07:00
Jason Penilla
d098f4a631 comment out cloudburst module (repo is down?) 2022-12-13 11:13:00 -07:00
Pablo Herrera
ed1b3dc0c7 Fix parameter injection default predicate (#403) 2022-12-13 11:13:00 -07:00
Jason Penilla
3fc62ce358 build: Replace custom runVelocity task with run-velocity plugin, use run-waterfall in bungee example, update run-paper
also attach example build tasks to `assemble` instead of `build`
2022-12-13 11:13:00 -07:00
Pablo Herrera
c36cf6b937 Make injection order predictable (#402) 2022-12-13 11:13:00 -07:00
Jason Penilla
2f46b0c71d build: update loom 2022-12-13 11:13:00 -07:00
Jason Penilla
ebf9504b8e style fix 2022-12-13 11:13:00 -07:00
Jason Penilla
f891fed721 Fix handling for GREEDY_FLAG_YIELDING string in CloudBrigadierManager 2022-12-13 11:13:00 -07:00
Jason Penilla
a133aacaa2 More fixes for #387 2022-12-13 11:13:00 -07:00
Jason Penilla
82894ccdff Fix pre-1.13 compat 2022-12-13 11:13:00 -07:00
Jason Penilla
3a0768500b Add Javadoc for selector arguments 2022-12-13 11:13:00 -07:00
Jason Penilla
d403063622 Fix license 2022-12-13 11:13:00 -07:00
Jason Penilla
f92f26f6df Fix EntitySelectorWrapper annotations 2022-12-13 11:13:00 -07:00
Jason Penilla
2f34437398 Rewrite Bukkit entity selector arguments using WrappedBrigadierParser instead of Bukkit API
- Proper handling of spaces
- Possible to use built-in minecraft translations for brigadier exceptions
- Fixes suggestions on Paper in combination with their option to fix tag selector suggestions
- Added option to fail parse when the result collection is empty
2022-12-13 11:13:00 -07:00
Pasqual Koschmieder
09a66cef95 expose failure reason when flag parsing fails (#380) 2022-12-13 11:13:00 -07:00
Jason Penilla
36787198f7 1.8.0-SNAPSHOT 2022-12-13 11:13:00 -07:00
Alexander Söderberg
262ffd873e docs: add kotlin modules to README 2022-11-29 14:30:48 +01:00
Jason Penilla
314f13ade7 release: Version 1.7.1 2022-08-26 11:49:37 -07:00
Jason Penilla
fae4beb9ad Update changelog 2022-08-26 11:49:37 -07:00
Jason Penilla
c2ea60d68c Update gradle wrapper 2022-08-26 11:49:37 -07:00
Pasqual Koschmieder
7c934eccc7 fix root command unregister (#389) 2022-08-26 11:49:37 -07:00
Jason Penilla
4179bc4290 Fix #388 2022-08-26 11:49:37 -07:00
Jason Penilla
73a0386a85 fix formatting 2022-08-26 11:49:37 -07:00
Jason Penilla
32a756f033 Fix #387 2022-08-26 11:49:37 -07:00
Jason Penilla
abf662a51d bukkit/paper : Fix ItemStackPredicateArgument reflection 2022-08-26 11:49:37 -07:00
Jason
08242519dd Update PaperBrigadierListener.java 2022-08-26 11:49:37 -07:00
Jason Penilla
20087b357f Bump testing Paper version 2022-08-26 11:49:37 -07:00
Jason Penilla
158a8121a8 Use Paper raw command API when available 2022-08-26 11:49:37 -07:00
Jason Penilla
6ba9afd6a3 Set forceExecutor true for Paper Brigadier 2022-08-26 11:49:37 -07:00
Jason Penilla
90da6b0801 1.7.1-SNAPSHOT 2022-08-26 11:49:37 -07:00
Citymonstret
6219d30e4e
docs: improve the README pitch 2022-07-03 11:53:50 +02:00
Jason Penilla
2d45210734 release: Version 1.7.0 2022-06-18 22:52:58 -07:00
Alexander Söderberg
ec535dad7f feat(core): add repeatable flags (#378)
implements #209.
2022-06-18 22:52:58 -07:00
Citymonstret
d3864414aa feat(annotations): use TypeToken in AnnotationParser 2022-06-18 22:52:58 -07:00
Alexander Söderberg
296539d56c chore(core): deprecate prefixed accessors/mutators in CommandManager (#377)
chore(core): deprecate prefixed accessors/mutators in CommandManager.java

All prefixed (actual) getters/setters in CommandManager have been deprecated, and non-prefixed alternatives have been introduced. I've also put some effort into improving the JavaDocs of these methods.
2022-06-18 22:52:58 -07:00
Jason Penilla
687cd4c536 bukkit/paper: Update for commodore 2.0 2022-06-18 22:52:58 -07:00
Citymonstret
2dfbefdd7a fix(bukkit): only update commands if the method exists 2022-06-18 22:52:58 -07:00
Citymonstret
de22d70669 fix(bukkit): use Server#getMinecraftVersion when available 2022-06-18 22:52:58 -07:00
Citymonstret
89ec3fbf29 chore: make code style consistent 2022-06-18 22:52:58 -07:00
Jason Penilla
a2cea2f33e bukkit/paper: NamespacedKeyParseException cleanup 2022-06-18 22:52:58 -07:00
Jason
c250aa642f bukkit/paper: Add NamespacedKeyArgument (#376) 2022-06-18 22:52:58 -07:00