Commit graph

75 commits

Author SHA1 Message Date
jmp
a8b2b9a608 Expose input string from EntitySelectors 2020-10-04 13:48:57 +02:00
jmp
4c178fc9cd 🖌️ Small codestyle fix 2020-10-03 22:45:10 +02:00
Alexander Söderberg
a2670722e7
🗑️ Remove plugin test modules 2020-10-03 21:46:22 +02:00
Alexander Söderberg
7f013124b2
🎨 @Annotation final -> final @Annotation 2020-10-03 21:40:07 +02:00
Alexander Söderberg
a6b98ca278 🎨 Some codestyle fixes 2020-10-03 21:35:16 +02:00
jmp
9a35a873c0 Add entity selector arguments (@p, @e, @r, etc.) for Bukkit and register with the PaperBrigadierListener. 2020-10-03 21:35:16 +02:00
Alexander Söderberg
782f3023fc
Finalize command flags
They're currently quite ugly in the help menu. this should probably be fixed, but it's not a priority issue.
2020-10-02 21:08:31 +02:00
Alexander Söderberg
1c56be714c Reduce builder noise. 2020-10-02 02:54:21 +02:00
Alexander Söderberg
9d47a7c82d
🎨 Change (improve) command context semantics 2020-10-01 13:24:15 +02:00
Alexander Söderberg
ee59066733
🎨 required-> of 2020-10-01 13:20:29 +02:00
Alexander Söderberg
cf0947ab81
💩 Use BukkitAudiences#player because gradle refuses to resolve #sender. 2020-09-30 10:59:23 +02:00
Alexander Söderberg
144ac02778
🐛 Fix merge conflict 2020-09-30 10:49:09 +02:00
Jason
09e3e7aa13
Add exception messages so invalid input doesn't result in 'Invalid Command Argument: null' (#13)
Co-authored-by: Alexander Söderberg <Sauilitired@users.noreply.github.com>
2020-09-30 10:44:07 +02:00
Alexander Söderberg
0fbe1fe6a2 🚚 Finalize annotation transition 2020-09-30 10:40:44 +02:00
Alexander Söderberg
f7c00244e7 Some small changes 2020-09-30 10:40:44 +02:00
Alexander Söderberg
26f11e3a7e 🚚 More removal of javax annotations 2020-09-30 10:40:44 +02:00
Alexander Söderberg
e914d04450 Fix dependency graph and replace Guava 2020-09-30 10:40:44 +02:00
Alexander Söderberg
4ca47777a3 Switch to gradle 2020-09-30 10:40:44 +02:00
broccolai
05dcd52659
Fix Bukkit-Test compilation after adventure update 2020-09-29 14:39:31 +00:00
broccolai
7b19e7e8ba
Fix typo in cloud-cloudburst 2020-09-29 03:17:08 +00:00
broccolai
e277237db3 Final touches on new arguments 2020-09-28 20:44:13 +02:00
broccolai
5c7d0bda1e Update arguments 2020-09-28 20:44:13 +02:00
broccolai
c7119dc115 Add player arguments 2020-09-28 20:44:13 +02:00
Alexander Söderberg
d85684c22a Fix merge conflicts 2020-09-28 20:42:18 +02:00
Alexander Söderberg
94710c5174 Initial support for compound arguments
This allows for grouping and mappings of multiple command arguments by using product types.
2020-09-28 20:42:18 +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
7036beb8ad 🐛 Fix command registration for Velocity
We need to recreate the Brigadier command node each time a command is extended, and the code was only letting each command get registered once.
2020-09-26 17:39:54 +02:00
Alexander Söderberg
0d44a8c944 Add intermediary command executors.
This allows for command executors along the entire command chain, such that `/command`and `/command subcommand` may both be executed.
2020-09-26 17:39:54 +02:00
Alexander Söderberg
d3ed876df6 Send brigadier permissions to bukkit command manager 2020-09-25 00:36:30 +02:00
Alexander Söderberg
e8a1a9a6cf Replace command permissions with a new smarter permission system that allows for compound permissions 2020-09-25 00:36:30 +02:00
jmp
f984a40f58 Log the exception when failing to map nms argument types, don't register UUID argument before 1.16 2020-09-24 12:42:57 +02:00
Alexander Söderberg
3b2ccdca14
Clean up descriptions 2020-09-23 20:55:17 +02:00
Alexander Söderberg
b0cd22886d Add a cloudburst test plugin 2020-09-23 13:01:50 +02:00
Alexander Söderberg
a9b65c601d
Add basic Cloudburst implementation 2020-09-23 01:12:14 +02:00
Alexander Söderberg
3f59a81836
Add a confirmation system. 2020-09-22 23:03:11 +02:00
Alexander Söderberg
7501bd4743
Version bump. 2020-09-22 18:58:43 +02:00
Alexander Söderberg
dbd546dd20
Add the viaversion maven repository 2020-09-22 18:28:00 +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
e72a876037
Allow argument descriptions to be set using the @Argument annotation 2020-09-21 19:51:17 +02:00
Alexander Söderberg
3f96837cf1
Add adventure based help menu 2020-09-21 19:11:48 +02:00
Alexander Söderberg
1b8ccbbf11
Basic Minecraft specific documentation 2020-09-20 22:35:41 +02:00
Alexander Söderberg
96fcd03a75
Attempt to fix maven thing again yes 2020-09-20 21:13:09 +02:00
Alexander Söderberg
ec3438c0f3
Revert parent version change. 2020-09-20 20:21:24 +02:00
Alexander Söderberg
d4b9d033dc
Version (de-)bump 2020-09-20 20:00:50 +02:00
Alexander Söderberg
6f0dba0bf0
Add asynchronous tab completion to the paper module 2020-09-20 19:49:25 +02:00
Alexander Söderberg
9d5f007e37
Add the option to use an asynchronous command execution coordinator 2020-09-20 17:37:46 +02:00
Alexander Söderberg
0ccf8d37e6
Fix some velocity related issues 2020-09-20 17:09:48 +02:00
Alexander Söderberg
1c831a3bcf
Add support for Commodore mappings 2020-09-20 16:44:30 +02:00
Alexander Söderberg
95f903bb1f
Allow overriding of all argument suggestions 2020-09-19 23:23:28 +02:00