Commit graph

88 commits

Author SHA1 Message Date
Alexander Söderberg
e43a3c7194
Start working on the annotated command method system 2020-09-17 22:34:58 +02:00
Alexander Söderberg
a749b8f849
Add MaterialArgument 2020-09-17 21:04:09 +02:00
Alexander Söderberg
8190c96d1c
Add "literal" helper method to command builder 2020-09-17 14:56:07 +02:00
Alexander Söderberg
fb1f609c7f
Move codefactor badge 2020-09-17 13:50:31 +02:00
Alexander Söderberg
fe4def28e4
Add README badged because I love copying adventure 2020-09-17 13:48:37 +02:00
Alexander Söderberg
4cbbee7db0
Get rid of the command sender interface entirely 2020-09-17 13:35:16 +02:00
Alexander Söderberg
8b0a650b48
component->argument 2020-09-17 13:19:31 +02:00
Alexander Söderberg
b3d75496b5
Make use of the parser repository in the component builder 2020-09-17 12:09:15 +02:00
Alexander Söderberg
14b5d9fc3c
Command suggestion improvements 2020-09-17 09:50:36 +02:00
Alexander Söderberg
bc261676e7
Add required sender checking and add more tests 2020-09-16 21:22:46 +02:00
Alexander Söderberg
f5e230945d
Only set executor when the command is executable 2020-09-15 17:51:09 +02:00
Alexander Söderberg
c88b267758
Make the brigadier mapper a bit smarter 2020-09-15 17:27:41 +02:00
Alexander Söderberg
d78d64329b
Don't require BukkitCommandManager to use BukkitCommandSender 2020-09-15 14:07:00 +02:00
Alexander Söderberg
d144c3ea8c
Store component type in the component. Add mappings to native (NMS) Brigadier types. Shorten builder names. Make the Bukkit command manager take in a generic command sender type. 2020-09-15 13:36:13 +02:00
Alexander Söderberg
b8db1d3cb7
Add missing Brigadier pom... 2020-09-14 22:46:15 +02:00
Alexander Söderberg
7148e76bcd
Add Brigadier support. 2020-09-14 22:37:06 +02:00
dependabot[bot]
e1c17a4906 Bump junit-jupiter-engine from 5.6.2 to 5.7.0
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.6.2 to 5.7.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.2...r5.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-14 08:53:03 +02:00
Alexander Söderberg
e7c59b2062
Fix suggestions and add a bukkit test module 2020-09-13 22:07:34 +02:00
Alexander Söderberg
2cb367903f
Add command aliases 2020-09-13 19:02:46 +02:00
Alexander Söderberg
f70227ad7f
Make StringComponent return the correct mode when throwing exception due to missing leading '"' 2020-09-13 16:17:39 +02:00
Alexander Söderberg
d60e201502
Fix checkstyle violations 2020-09-13 14:24:12 +02:00
Alexander Söderberg
0fcf9822a9
Remove exec-maven-plugin for now 2020-09-13 14:16:02 +02:00
Alexander Söderberg
d797c848ee
Remove CodeQL workflow 2020-09-13 14:13:43 +02:00
Alexander Söderberg
53e5720f52
Add parameter registry 2020-09-13 13:50:47 +02:00
Alexander Söderberg
e01fd6af37
Merge pull request #3
* Start implementing command preprocessors

* Call the preprocessing step and also add a command suggestions processor

* Merge branch 'master' into preprocessing

* Improve command pre-processing
2020-09-12 20:29:58 +02:00
Alexander Söderberg
75f65c2da2
Update build.sh 2020-09-12 19:31:36 +02:00
Alexander Söderberg
ffed137422
Add maven wrapper 2020-09-12 19:25:55 +02:00
Alexander Söderberg
80af88b8e8
Add short component 2020-09-12 19:11:28 +02:00
Alexander Söderberg
c37749ee78
Improve string component 2020-09-12 19:10:12 +02:00
Alexander Söderberg
1ec18bc887
Add enum suggestions 2020-09-12 18:33:12 +02:00
Alexander Söderberg
c298fdeb6e
Add enum component 2020-09-12 18:31:37 +02:00
Alexander Söderberg
990b5685af Add build instructions to README and make the build process update submodules in the initialisation phase 2020-09-12 17:26:58 +02:00
Alexander Söderberg
cb1a6ee709
Checkout submodules in the codeql-analysis workflow 2020-09-12 16:15:18 +02:00
Alexander Söderberg
1260cf580e
Attempt to fix maven workflow 2020-09-12 14:58:24 +02:00
Alexander Söderberg
c6f2351e2c
Make cloud-core depend on cloud-pipeline 2020-09-12 14:45:11 +02:00
Alexander Söderberg
ab911c269a
Update submodule 2020-09-12 14:43:48 +02:00
Alexander Söderberg
9662366252
Fix pipeline submodule 2020-09-12 14:33:22 +02:00
Alexander Söderberg
f1a05c5cec
Add pipeline as submodule 2020-09-12 14:20:54 +02:00
broccolai
49eaa66b4e Adding line breaks and exception cleanup 2020-09-12 10:23:16 +02:00
broccolai
c29fea5bb3 Add float and char component 2020-09-12 10:23:16 +02:00
broccolai
bfadbf418b Add double and long component 2020-09-12 10:23:16 +02:00
broccolai
5855927cd5 Convert NumberParseException's constructor to Number instead of int 2020-09-12 10:23:16 +02:00
broccolai
67e696b27a Make boolean and string component comply to checkstyle 2020-09-12 10:23:16 +02:00
broccolai
d95c35c1a8 Update boolean and string components to comply to checkstyle 2020-09-12 10:23:16 +02:00
broccolai
95e1a597bd Add boolean suggestions 2020-09-12 10:23:16 +02:00
broccolai
c6372fcd7e Add boolean component 2020-09-12 10:23:16 +02:00
broccolai
2e4a223acd Cleanup indentation 2020-09-12 10:23:16 +02:00
broccolai
08171c241c Add string component 2020-09-12 10:23:16 +02:00
Alexander Söderberg
f90ce38a36
Add checkstyle and add 950 billion comments 2020-09-11 22:36:59 +02:00
Alexander Söderberg
784656b891 Create CODE_OF_CONDUCT.md 2020-09-11 21:06:14 +02:00