Commit graph

614 commits

Author SHA1 Message Date
Alexander Söderberg
810fcc4b6b
📚 Add project listing to README 2020-10-14 04:46:12 +02:00
jmp
53f112795b 📚 Update README 2020-10-13 17:44:43 -07:00
Alexander Söderberg
f669e93be5
🚀 Version bump. 2020-10-14 01:34:32 +02:00
Alexander Söderberg
fd0658d320
🐛 Fix number suggestions. Again. 2020-10-14 01:07:56 +02:00
jmp
15526c95ed 🐛 Make number argument suggestions respect minimum 2020-10-13 13:38:12 -07:00
Julian Staudt
57169f070f Finally got the dependencies working 2020-10-13 22:02:51 +02:00
jmp
78796255a2 Only suggest each flag one time 2020-10-13 20:26:39 +02:00
Alexander Söderberg
06a34651bf
🐛 Fix brigadier suggestion building
An offset will be added pointing to the last occurrence of a blank space. This fixes incorrect tab completions for greedy strings
2020-10-13 19:53:01 +02:00
Julian Staudt
2d937f1a38 Fixed Dependencies 2020-10-13 18:01:11 +02:00
Julian Staudt
484dc0435f Add Example Javacord Implementation 2020-10-13 17:27:29 +02:00
jmp
5f466fcbc0 Fix parsing of flag arguments that start with '-', i.e. a negative integer, add captions for flag argument 2020-10-13 15:07:40 +02:00
jmp
2fbd90dfee 🐛 Register permissions with Bukkit so commands aren't suggested to players without permission when Brigadier is not used 2020-10-12 13:33:07 -07:00
Alexander Söderberg
1bc2af8eed
🐛 Fix duplicate caption key names 2020-10-12 18:42:27 +02:00
Alexander Söderberg
6ab1c8a2e0
Merge pull request #43
*  Add a new caption system to allow for the configuration of…

*  Add caption support to all numerical types

* Add more standard pasres to the registry

* Add default messages for captions

*  Improve captions in core

* Add captions for Bukkit

*  Add FactoryDelegatingCaptionRegistry.java
2020-10-12 18:13:23 +02:00
jmp
378d57964f 🐛 Override build in Material and Enchant arguments 2020-10-11 21:19:32 -07:00
Alexander Söderberg
0af788fa1d
🐛 Fix issue with permissions
Essentially, when there's an intermediary command and a child command with a variable leading argument, only the permission for the leading argument would be checked. In this case, that permission should only be considered if there's no more input. This fixes #46.
2020-10-12 01:43:50 +02:00
jmp
674507fea6 Add pagination to MinecraftHelp, move minecraft-extras to it's own package 2020-10-11 17:46:28 +02:00
jmp
454ceb318a 🐛 Only print flags once in command syntax 2020-10-11 17:46:28 +02:00
Alexander Söderberg
319b367434
📚 Update README 2020-10-11 17:34:09 +02:00
PiggyPiglet
9c32a91047 fix typo in sentence
no, this isn't for hacktoberfest, i'm not that petty, it just annoyed me.
2020-10-11 03:09:57 +01:00
jmp
7e09351cf1 Add highlighting to invalid syntax exception 2020-10-10 01:37:17 +02:00
jmp
c3d679d5ec Implement EnchantmentArgument, remove inaccurate brig mappings. 2020-10-10 01:37:17 +02:00
Alexander Söderberg
1f3c3f2bd9
Add command argument preprocessors 2020-10-10 01:24:16 +02:00
Alexander Söderberg
fcd269b6e7
Add String[] args 2020-10-09 20:44:17 +02:00
Alexander Söderberg
16623969ad
🧹 Clean up CommandManager 2020-10-09 20:02:28 +02:00
Alexander Söderberg
4368305bc9
Add adventure-based exception handlers to cloud-minecraft-extras 2020-10-09 15:07:41 +02:00
Alexander Söderberg
423b29ee3c
Clean up StandardCommandSyntaxFormatter and make it easier to extend 2020-10-09 14:26:43 +02:00
jmp
70818bb4b2 🎨 Show less useless info in MinecraftHelp 2020-10-09 13:37:01 +02:00
jmp
decde5cc77 Add message provider function to MinecraftHelp 2020-10-09 13:37:01 +02:00
jmp
29740aa780 🎨 Make MinecraftHelp use Component builders instead of MiniMessage, add a configurable Color pallet 2020-10-09 13:37:01 +02:00
Josh Taylor
fdb80b304c
Rename methods (#41) 2020-10-09 13:30:08 +02:00
Josh Taylor
8ebb248a47
JDA improvements (#39) 2020-10-09 13:29:47 +02:00
Alexander Söderberg
3763eb40d4
Make MaterialArgument's error message less annoying 2020-10-08 13:26:23 +02:00
Jason
882154a6a8
🐛 Fix async completions (#38)
Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
2020-10-08 13:12:07 +02:00
Alexander Söderberg
aa572e3533
🐛 Remove rogue print statement 2020-10-08 11:57:13 +02:00
Alexander Söderberg
c4abf4eca3
🐛 Fix float/double arguments 2020-10-07 23:40:48 +02:00
Alexander Söderberg
63dce244aa
🐛 Fix argument flags 2020-10-07 23:28:56 +02:00
jmp
2bad5759c6 🐛 Actually fix double namespaced commands 2020-10-07 23:11:37 +02:00
jmp
1fa0eead69 Pass manager instance to command builders 2020-10-07 23:11:37 +02:00
jmp
50dd6f0e85 Register the Greedy string annotation mapper 2020-10-07 23:11:37 +02:00
jmp
eabdfe4243 🐛 Fix double namespaced commands on Bukkit without Brigadier 2020-10-07 23:11:37 +02:00
Alexander Söderberg
4777831ee6 🗑️ Get rid of JLine3 and clean up Velocity 2020-10-07 22:47:48 +02:00
Alexander Söderberg
2aac3980d5 ♻️ Reformat + Update .editorconfig 2020-10-07 22:47:48 +02:00
Alexander Söderberg
8bdec87a74
Add cloud-tasks build file 2020-10-06 21:18:19 +02:00
broccolai
1080b1a2f0 Update example plugin for new compound argument mapper 2020-10-06 20:55:48 +02:00
broccolai
c2b1ec8a11 Make compound argumnets constructor public and fix code style issue 2020-10-06 20:55:48 +02:00
broccolai
caf1cc5b39 Add sender to compound argument mappers 2020-10-06 20:55:48 +02:00
Alexander Söderberg
aaa6386ca3 Add a system for creating task chains
This will make it easier to use the asynchronous coordinator.
2020-10-06 20:55:34 +02:00
Alexander Söderberg
8e52bf705c
Add example-bukkit build file 2020-10-06 20:52:51 +02:00
jmp
0caaccb7de 🐛 Also register namespaced commands with Commodore 2020-10-06 20:04:34 +02:00