Commit graph

555 commits

Author SHA1 Message Date
jmp
b7ffbda532 Update Gradle to 6.8.1 2021-07-05 02:56:06 -07:00
jmp
3c02c964e7 Add snapshot repo 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
broccolai
a6eb44376c Fix tuple#toArray implementations 2021-07-05 02:56:06 -07:00
broccolai
213039fc20 Update changelog 2021-07-05 02:56:06 -07:00
p5nbTgip0r
f83eb6c4a1 Restore old UserParser constructor and deprecate it 2021-07-05 02:56:06 -07:00
p5nbTgip0r
c0df263a32 Use GLOBAL isolation by default 2021-07-05 02:56:06 -07:00
p5nbTgip0r
80ad84f2e8 JDA: Guild isolation for user argument 2021-07-05 02:56:06 -07:00
p5nbTgip0r
775cf803fa JDA: Add role argument parser 2021-07-05 02:56:06 -07:00
jmp
956700b310 Remove unused imports 2021-07-05 02:56:06 -07:00
jmp
21fa35a9fc Bump version to 1.5.0-SNAPSHOT 2021-07-05 02:56:06 -07:00
jmp
58f49033ce Use Command instead of TabCompleteEvent on Bukkit 2021-07-05 02:56:06 -07:00
jmp
2cc72e2ff9 docs: Update snapshot repo link in docs 2021-05-03 21:17:52 -07:00
jmp
c76f296185 Update README with correct snapshot repo 2021-05-03 21:12:13 -07:00
Jason
7b441ec481 Use simpleCoordinator() in docs example
Replace `AsynchronousCommandExecutionCoordinator.newBuilder().build()` with `CommandExecutionCoordinator.simpleCoordinator()`. (`AsynchronousCommandExecutionCoordinator.newBuilder().build()` does not work as it's missing a generic type argument, needs to be `AsynchronousCommandExecutionCoordinator.<CommandSender>newBuilder().build()`)
2021-05-03 21:09:38 -07:00
dependabot[bot]
3960727b2a Bump com.github.ben-manes.versions from 0.36.0 to 0.38.0
Bumps com.github.ben-manes.versions from 0.36.0 to 0.38.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 14:34:24 +01:00
dependabot[bot]
e0a1ec9c9f Bump jvm from 1.4.30 to 1.4.31
Bumps jvm from 1.4.30 to 1.4.31.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 14:34:08 +01:00
dependabot[bot]
96c6b13c63 Bump jvm from 1.4.21-2 to 1.4.30
Bumps jvm from 1.4.21-2 to 1.4.30.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-06 16:51:44 +01:00
Aurora
04270bef5b
Update README.adoc 2021-02-03 21:30:02 +01:00
Aurora
87a8bef895
Add files via upload 2021-02-03 21:24:29 +01:00
Aurora
85785ebe5a
Replace logo 2021-02-03 21:22:35 +01:00
Aurora
975d3e0e5d
New cloud logo epic poggers awesome 2021-02-03 21:21:47 +01:00
Alexander Söderberg
e77d5c8d78
Update README.adoc
Add information about injection points, suggestions and custom arguments.
2021-01-18 16:36:25 +01:00
Alexander Söderberg
42f5c643be
Update README.adoc
- Add flag section
- Add minecraft-extras section
- Add Bukkit/Paper sections
2021-01-17 22:45:01 +01:00
Zach Levis
753507cc3c build: Bump dependency versions 2021-01-17 09:43:45 +01:00
Zach Levis
98f389a72a build: Move to using Indra 2021-01-17 09:43:45 +01:00
Alexander Söderberg
6a100c9ca1
Update docs.yml
Only push documentation on push to master
2021-01-17 09:42:14 +01:00
Alexander Söderberg
414fa3f8b3
Specify some source highlighting options. 2021-01-17 01:15:57 +01:00
Alexander Söderberg
928d1b641f
Add a lot of documentation.
A lot of documentation has been added to the new Cloud documentation. This has primarily been focused on covering usage of annotations.
2021-01-17 01:09:00 +01:00
Alexander Söderberg
77b569d30a
Fix building failure due to license violations.
The HEADER file had not been updated to match the content of LICENSE.
2021-01-16 23:19:28 +01:00
Alexander Söderberg
d3642e3c7d
📚 Fix license and push tag 2021-01-16 10:06:08 +01:00
Alexander Söderberg
d9122d47d0
📚 Update CHANGELOG.md 2021-01-16 09:59:38 +01:00
Alexander Söderberg
1600ef16c3
:clock: 2021 let's go!!! 2021-01-16 09:58:46 +01:00
Alexander Söderberg
3454cbe4da 🚀 1.4.0 release 2021-01-16 08:54:07 +01:00
Zach Levis
7d46e64ed3 Add logical operators to permissions
These operators allow some basic combination of permissions to occur,
which expands what can be easily done with permissions definitions.
2021-01-16 08:54:07 +01:00
p5nbTgip0r
09f8dbd956 🐛 JDA: Fix webhook messages throwing NPE (#214)
* Fix NPE with webhook messages.

Webhook messages would be constructed as `JDAGuildSender`, which calls `Objects.requireNonNull(event.getMember())` however the JDA documentation states that the `getMember()` method will `be null in case of Message being received in a PrivateChannel or isWebhookMessage() returning true.` If the message is a webhook message, a generic `JDACommandSender` instance will be constructed instead of a `JDAGuildSender`

* Add webhook fix to changelog
2021-01-16 08:54:07 +01:00
zml
5dd925a8d1 sponge7: Implement basic command manager for SpongeAPI 7 (#212) 2021-01-16 08:54:07 +01:00
Alexander Söderberg
9550dce5e6 Add access to parameter annotations in the parameter injector 2021-01-16 08:54:07 +01:00
Alexander Söderberg
92f8661b59 📚 Make CHANGELOG less messy and add missing changes 2021-01-16 08:54:07 +01:00
Alexander Söderberg
14baf5b876 📚 Improve CommandSyntaxFormatter documentation 2021-01-16 08:54:07 +01:00
Alexander Söderberg
2cf743c805 Add injection services (#211)
*  Add injection services

* Change dependency scope for Guice
2021-01-16 08:54:07 +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
78b081ccc2 core: Allow attaching a default description to arguments 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
jmp
fa16fc8ef2 Fix license plugin 2021-01-16 08:54:07 +01:00
Zach Levis
ef85fa9ee9 core: Add CommandFlag-accepting getters to FlagContext
This allows for type-safe access to the collection of available flags.
2021-01-16 08:54:07 +01:00
jmp
2068b5a43c update changelog 2021-01-16 08:54:07 +01:00
jmp
39b94a3df0 Add helper method for flags to MutableCommandBuilder 2021-01-16 08:54:07 +01:00
jmp
47d602fde1 Update Gradle to 6.8 2021-01-16 08:54:07 +01:00
Jason
7347ced0db Expose Command/Context from exceptions where possible (#204)
* Expose Command/Context from exceptions where possible

* Update changelog
2021-01-16 08:54:07 +01:00