Commit graph

74 commits

Author SHA1 Message Date
Jason Penilla
66c803852c Update CraftBukkit reflection for 1.18 2021-12-02 02:04:43 -08:00
Jason Penilla
f43386d29b Update Adventure 2021-12-02 02:04:43 -08:00
Jason Penilla
b4492e9bc5 Fix Brigadier suggestions for KeyedWorldArgument 2021-12-02 02:04:43 -08:00
Jason Penilla
ac77c85722 bukkit: Test with 1.17.1 2021-12-02 02:04:43 -08:00
zml
c16ee8049b example-velocity: Run on Velocity 3, fix decorator 2021-12-02 02:04:43 -08:00
Alastair Woodbury
f14d27314b
Correct velocity example not appending error component (#289) 2021-08-18 17:15:02 +00:00
Jason Penilla
f7b7b93251 Various minor cleanup 2021-07-05 02:56:06 -07:00
Jason Penilla
54f281abe7 build: Remove unused extension 2021-07-05 02:56:06 -07:00
Jason Penilla
ab0a9299e4 bukkit: Check class presence for CloudBukkitCapabilities instead of using Minecraft version 2021-07-05 02:56:06 -07:00
Jason Penilla
c4966c2b80 bukkit: Add run tasks for testing legacy versions 2021-07-05 02:56:06 -07:00
Jason Penilla
2a9a32aafe bukkit: Switch to release version of run-paper and update config for Paper 1.17 2021-07-05 02:56:06 -07:00
Jason Penilla
fb48a3c8af build: Update Gradle and plugins, small cleanup to build scripts 2021-07-05 02:56:06 -07:00
Jason Penilla
123341563d bukkit: Update for Minecraft 1.17 2021-07-05 02:56:06 -07:00
Jason
7da05da323 bukkit: Implement ItemStack and Block predicate arguments (#259) 2021-07-05 02:56:06 -07:00
jmp
99040ca68a bukkit: Use WrappedBrigadierParser for modern ItemStack suggestions 2021-07-05 02:56:06 -07:00
Jason
c9ac39ed26 Update build scripts for Gradle 7 (#247)
* fabric: Update Loom to 0.7-SNAPSHOT

* Update to Gradle 7

Switch to CadixDev/licenser
The plugin we were using before does not support Gradle 7, and hasn't been updated in over a year.

* Remove `jcenter()` references

* Move to new JDA repo and bump version

* Use setup-java v2 and Adopt JDK 16 in gh actions

* build: Temporarily add Incendo repo for plugin resolution

Allows building until licenser has a new release

* Import indra plugin classes instead of string applies

* remove space

Co-authored-by: broccolai <me@broccol.ai>
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
broccolai
d5259dfbe4 Add explict this checkstyle rule and fix violations 2021-07-05 02:56:06 -07:00
Zach Levis
98f389a72a build: Move to using Indra 2021-01-17 09:43:45 +01:00
Alexander Söderberg
1600ef16c3
:clock: 2021 let's go!!! 2021-01-16 09:58:46 +01:00
Alexander Söderberg
0b6a554946 Implement predicate permissions (#210)
Co-authored-by: Josh Taylor <me@broccol.ai>
2021-01-16 08:54:07 +01:00
Zach Levis
b38c725dc5 core: Use the ArgumentDescription interface for descriptions
This allows minecraft-extras to provide an implementation that
uses Adventure chat components to represent the description.
2021-01-16 08:54:07 +01:00
p5nbTgip0r
fe153f19c1 Adjust JDA example to provide MessageReceivedEvent in commandSender mappers.
This is necessary for the `ChannelArgument` parser to work.
2021-01-16 08:54:07 +01:00
jmp
b848070d57 Use an Object with fields instead of a Map for dependency versions 2021-01-16 08:54:07 +01:00
jmp
f1e467038c Rename vers to versions 2021-01-16 08:54:07 +01:00
jmp
2c188eb130 Convert build scripts to Kotlin
Also added some new tasks to only build/install to maven local certain platforms
`buildMinecraft`, `installMinecraft`, `buildDiscord`, `installDiscord`, `buildIRC`, `installIRC`
2021-01-16 08:54:07 +01:00
Alexander Söderberg
c48eb28434 🐛 Fix issues with the help system 2020-12-18 19:49:57 +01:00
Alexander Söderberg
97e447739c 🎨 Update example plugins to the new meta format 2020-12-18 19:49:57 +01:00
zml
1e91273e0e Work towards making CommandMeta typesafe (#173)
Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
2020-12-18 19:49:57 +01:00
broccolai
d656c99601 Move all 1.2.0-SNAPSHOT references to 1.2.0 2020-12-07 20:05:45 +01:00
broccolai
237eda75ef Reformat project 2020-12-07 20:05:45 +01:00
jmp
7df6917fe4 Added CommandExecutionException which wraps any exception thrown during the execution of command handlers. Should be handled using CommandManager#registerExceptionHandler, similar to NoSuchCommandException, ArgumentParseException, etc. 2020-12-07 20:05:45 +01:00
jmp
81e53ed454 🚀 Version bump 2020-12-07 20:05:45 +01:00
allenclan23
3c75361e38 Bump Velocity to latest 2020-10-28 16:43:50 +01:00
dependabot[bot]
0db6a68750 ⬆️ Bump JDA from 4.2.0_211 to 4.2.0_212
Bumps JDA from 4.2.0_211 to 4.2.0_212.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-28 09:45:42 +01:00
dependabot[bot]
e55a9ca116 ⬆️ Bump slf4j-simple from 1.7.21 to 1.7.30
Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 1.7.21 to 1.7.30.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.21...v_1.7.30)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 13:40:33 +01:00
dependabot[bot]
24bfc1d961 ⬆️ Bump JDA from 4.2.0_209 to 4.2.0_211
Bumps JDA from 4.2.0_209 to 4.2.0_211.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-26 08:53:12 +01:00
Alexander Söderberg
2843b368d5 📚 Change version to 1.1.0 from 1.1.0-SNAPSHOT 2020-10-24 19:52:44 +02:00
Alexander Söderberg
cfac2639ad Add errorprone and fix warnings/errors
The compiler will also treat all warnings as errors from now on.
2020-10-24 19:52:44 +02:00
broccolai
c5873e46e6 Deprecate JDACommandManager and add JDA4CommandManager 2020-10-24 19:52:44 +02:00
broccolai
530ecc4f73 Bump JDA version 2020-10-24 19:52:44 +02:00
broccolai
0715c4ab9d Add JDA example
Basic example also showing a basic implementation of the permission mapper
2020-10-24 19:52:44 +02:00
jmp
7cb1661f42 Add BungeeCommandPreprocessor 2020-10-24 19:52:44 +02:00
allenclan23
f73b713658 Expand the bungee module 2020-10-24 19:52:44 +02:00
jmp
d86973f227 Add VelocityCommandPreprocessor 2020-10-24 19:52:44 +02:00
Alexander Söderberg
79aefb05b5 Add LocationArgument to cloud-bukkit (#63)
*  Add LocationArgument to cloud-bukkit

* 🎨 Use the Bukkit CommandSender from the command context in LocationArgument

* 🐛 Fixed quoted parsing in StringArgument

* 📚 Fix code style

Co-authored-by: jmp <jasonpenilla2@me.com>
2020-10-24 19:52:44 +02:00
allenclan23
8d69767c15 Added ServerArgument to Velocity 2020-10-24 19:52:44 +02:00
jmp
c7c286eb7a Update TextColorArgument with captions 2020-10-24 19:52:44 +02:00
jmp
fba29041e6 🎨 Add caption for string "No input was provided" 2020-10-24 19:52:44 +02:00
Alexander Söderberg
366c4f2ce5 Add an adventure text colour parser 2020-10-24 19:52:44 +02:00