Commit graph

54 commits

Author SHA1 Message Date
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
d6a2062069
Fix annotation order 2020-10-05 17:56:12 +02:00
Alexander Söderberg
5a89f98a25
🐛 Fix BukkitCommandManager capability calculations 2020-10-04 21:18:16 +02:00
Alexander Söderberg
22993a46d7
Improve Bukkit conflict management
Conflicting commands will now obey plugin load order. Brigadier aliases will be created for namespaced aliases. No asynchronous completions will be provided for conflicting commands and will only be provided for the namespaced label. Furthermore, error handling the command tree has been improved and the methods now return a pair, rather than an optional. This means that there's no need to catch and unwrap exceptions and they will be forwarded in the correct form.
2020-10-04 18:32:34 +02:00
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
ee59066733
🎨 required-> of 2020-10-01 13:20:29 +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
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
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
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
Alexander Söderberg
a9b65c601d
Add basic Cloudburst implementation 2020-09-23 01:12:14 +02:00
Alexander Söderberg
7501bd4743
Version bump. 2020-09-22 18:58:43 +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
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
Alexander Söderberg
d83690cdcf
Hackily solve issue where Bukkit doesn't create a new Brigadier command per alias, so that command aliases get the full Brigadier treatment 2020-09-19 22:49:03 +02:00
Alexander Söderberg
1fede2b4c0
Enable users to override exception handling and make the velocity test plugin less stupid 2020-09-19 16:38:58 +02:00
Alexander Söderberg
f1d4e7865d
Add Velocity module 2020-09-19 15:50:44 +02:00
Alexander Söderberg
ccd0e8ae0e
Clean up generics (and get rid of the type parameter for command meta data) 2020-09-19 12:14:09 +02:00
Alexander Söderberg
1a85251fc6
Add Bungee implementation 2020-09-19 00:21:27 +02:00
Alexander Söderberg
c208204fa3
Construct more reasonable syntax messages 2020-09-18 22:42:18 +02:00
Alexander Söderberg
3f852d068e
Improve the annotated command method code and add more supported annotations 2020-09-18 21:30:00 +02:00
Alexander Söderberg
a749b8f849
Add MaterialArgument 2020-09-17 21:04:09 +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
bc261676e7
Add required sender checking and add more tests 2020-09-16 21:22:46 +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