Commit graph

59 commits

Author SHA1 Message Date
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
Alexander Söderberg
edc5249244 Improve the velocity module 2020-10-24 19:52:44 +02:00
jmp
bc0cc6fa4b 🔖 Bump version to 1.0.2 2020-10-19 10:03:56 +02:00
JarFiles
7fd7c89882
Merge pull request #48 from Sauilitired/example-javacord
Add Example Javacord Implementation
2020-10-14 13:15:37 +02:00
jmp
6f0940ebd4
📦 Update minecraft-extras for Adventure 4.0.0 2020-10-14 12:11:25 +02:00
Alexander Söderberg
79bb017fd3
🔖 Version bump 2020-10-14 12:11:19 +02:00
Julian Staudt
57169f070f Finally got the dependencies working 2020-10-13 22:02:51 +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
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
674507fea6 Add pagination to MinecraftHelp, move minecraft-extras to it's own package 2020-10-11 17:46:28 +02: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
4368305bc9
Add adventure-based exception handlers to cloud-minecraft-extras 2020-10-09 15:07:41 +02:00