Commit graph

689 commits

Author SHA1 Message Date
jmp
d72558ee81 fabric: Remove unfinished argument types, add some javadoc, fix checkstyle issues 2021-07-05 02:56:06 -07:00
jmp
78e7146ba3 fabric: Implement entity/player selector argument types 2021-07-05 02:56:06 -07:00
jmp
2659eac93b brigadier: Fix MappedArgumentParsers always mapping to string 2021-07-05 02:56:06 -07:00
jmp
31d1f85830 fabric: Implement FabricClientCommandManager 2021-07-05 02:56:06 -07:00
jmp
f16cafda3f fix brigadier suggestions with the '/execute' command, fix running cloud commands with '/execute' on fabric 2021-07-05 02:56:06 -07:00
jmp
8db87744d9 fabric: use Velocity's workaround for https://github.com/Mojang/brigadier/issues/46 2021-07-05 02:56:06 -07:00
jmp
653503f375 fabric: only strip the starting '/' from input when it is actually there 2021-07-05 02:56:06 -07:00
jmp
96e08ab2ef fabric: register forwards mapper with the BrigadierManager
fixes CommandSourceStack#getServer being null during permission checks for arguments with custom suggestions
2021-07-05 02:56:06 -07:00
jmp
149ffffe8e fabric: check permissions using fabric-permissions-api 2021-07-05 02:56:06 -07:00
jmp
c01445dd1e fabric: update loom to 0.6-SNAPSHOT 2021-07-05 02:56:06 -07:00
Zach Levis
5c7f2ffaab license headers 2021-07-05 02:56:06 -07:00
Zach Levis
67a36d81e0 fabric: More work 2021-07-05 02:56:06 -07:00
Zach Levis
23e05262d7 bump MC version 2021-07-05 02:56:06 -07:00
Zach Levis
3f67a1ae04 fabric: work 2021-07-05 02:56:06 -07:00
Zach Levis
6eae149089 brigadier: Unwrap mapped argument parsers 2021-07-05 02:56:06 -07:00
Zach Levis
52c0796539 More parser work 2021-07-05 02:56:06 -07:00
Zach Levis
91b433c14b fabric: Fully implement a registry entry argument type 2021-07-05 02:56:06 -07:00
Zach Levis
98aea50d3c brigadier: Allow specifying a custom brigadier suggestions provider 2021-07-05 02:56:06 -07:00
Zach Levis
0af44e2406 fabric: Add builders for many of the basic argument types 2021-07-05 02:56:06 -07:00
Zach Levis
48181164b0 fabric: Split out server-specific command manager to allow for client commands 2021-07-05 02:56:06 -07:00
Zach Levis
6b690811f1 core: Add a way to map the output of argument parsers 2021-07-05 02:56:06 -07:00
Zach Levis
3be50956cc fabric: Begin adding support for some wrapped vanilla arguments 2021-07-05 02:56:06 -07:00
Zach Levis
62caa2d641 brigadier: Add support for wrapped parsers 2021-07-05 02:56:06 -07:00
Zach Levis
79006ac40f fabric: Add registration environment meta 2021-07-05 02:56:06 -07:00
Zach Levis
dc90551168 fabric: Use stateful command manager 2021-07-05 02:56:06 -07:00
Zach Levis
eef98da9c9 fabric: Begin work on commands manager for platform 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
jmp
5d460e9f3a minecraft-extras: Add AudienceProvider.nativeAudience and MinecraftHelp.createNative convenience methods for sender types which are Audiences. 2021-07-05 02:56:06 -07:00
jmp
c78c4aba08 core: Throw an exception when both GREEDY and QUOTED are specified for a StringArgument 2021-07-05 02:56:06 -07:00
jmp
1bed15ea6d core: Add @Quoted annotation to mark string arguments as quoted in annotated methods 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
p5nbTgip0r
dd811bd157 Update changelog for long parser 2021-07-05 02:56:06 -07:00
p5nbTgip0r
f3e142d1f6 Register Long parser in StandardParserRegistry 2021-07-05 02:56:06 -07:00
p5nbTgip0r
69642bd5f4 Make long parser public and add documentation to constructor 2021-07-05 02:56:06 -07:00
jmp
b7ffbda532 Update Gradle to 6.8.1 2021-07-05 02:56:06 -07:00
jmp
3c02c964e7 Add snapshot repo 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
broccolai
a6eb44376c Fix tuple#toArray implementations 2021-07-05 02:56:06 -07:00
broccolai
213039fc20 Update changelog 2021-07-05 02:56:06 -07:00
p5nbTgip0r
f83eb6c4a1 Restore old UserParser constructor and deprecate it 2021-07-05 02:56:06 -07:00
p5nbTgip0r
c0df263a32 Use GLOBAL isolation by default 2021-07-05 02:56:06 -07:00
p5nbTgip0r
80ad84f2e8 JDA: Guild isolation for user argument 2021-07-05 02:56:06 -07:00
p5nbTgip0r
775cf803fa JDA: Add role argument parser 2021-07-05 02:56:06 -07:00
jmp
956700b310 Remove unused imports 2021-07-05 02:56:06 -07:00
jmp
21fa35a9fc Bump version to 1.5.0-SNAPSHOT 2021-07-05 02:56:06 -07:00
jmp
58f49033ce Use Command instead of TabCompleteEvent on Bukkit 2021-07-05 02:56:06 -07:00
jmp
2cc72e2ff9 docs: Update snapshot repo link in docs 2021-05-03 21:17:52 -07:00
jmp
c76f296185 Update README with correct snapshot repo 2021-05-03 21:12:13 -07:00
Jason
7b441ec481 Use simpleCoordinator() in docs example
Replace `AsynchronousCommandExecutionCoordinator.newBuilder().build()` with `CommandExecutionCoordinator.simpleCoordinator()`. (`AsynchronousCommandExecutionCoordinator.newBuilder().build()` does not work as it's missing a generic type argument, needs to be `AsynchronousCommandExecutionCoordinator.<CommandSender>newBuilder().build()`)
2021-05-03 21:09:38 -07:00
dependabot[bot]
3960727b2a Bump com.github.ben-manes.versions from 0.36.0 to 0.38.0
Bumps com.github.ben-manes.versions from 0.36.0 to 0.38.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 14:34:24 +01:00