mirror of
https://github.com/EssentialsX/Essentials.git
synced 2026-11-05 01:00:13 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bcb0fb5825 | ||
|
|
91f4493fe0 | ||
|
|
d53ff36a2a | ||
|
|
98917d97c8 | ||
|
|
7e1d18fee4 |
No files matched your search
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 2.x
|
||||
- dev/*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -9,6 +9,7 @@ on:
|
||||
branches:
|
||||
- 2.x
|
||||
- mc/*
|
||||
- dev/*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
+6
-1
@@ -34,7 +34,12 @@ public class InteractionEventImpl implements InteractionEvent {
|
||||
public void reply(String message) {
|
||||
message = FormatUtil.stripFormat(message).replace("§", ""); // Don't ask
|
||||
replyBuffer.add(message);
|
||||
event.getHook().editOriginal(new MessageBuilder().setContent(Joiner.on('\n').join(replyBuffer).substring(0, Message.MAX_CONTENT_LENGTH)).setAllowedMentions(DiscordUtil.NO_GROUP_MENTIONS).build())
|
||||
String reply = Joiner.on('\n').join(replyBuffer);
|
||||
reply = reply.substring(0, Math.min(Message.MAX_CONTENT_LENGTH, reply.length()));
|
||||
event.getHook().editOriginal(
|
||||
new MessageBuilder()
|
||||
.setContent(reply)
|
||||
.setAllowedMentions(DiscordUtil.NO_GROUP_MENTIONS).build())
|
||||
.queue(null, error -> logger.log(Level.SEVERE, "Error while editing command interaction response", error));
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ EssentialsX is almost a completely drop-in replacement for Essentials. However,
|
||||
|
||||
* **EssentialsX requires Java 8 or higher.** On older versions, the plugin may not work properly.
|
||||
|
||||
* **EssentialsX supports Minecraft versions 1.8.8, 1.9.4, 1.10.2, 1.11.2, 1.12.2, 1.13.2, 1.14.4, 1.15.2, 1.16.5, 1.17.1, and 1.18.1**
|
||||
* **EssentialsX supports Minecraft versions 1.8.8, 1.9.4, 1.10.2, 1.11.2, 1.12.2, 1.13.2, 1.14.4, 1.15.2, 1.16.5, 1.17.1, and 1.18.1.**
|
||||
|
||||
|
||||
Support
|
||||
@@ -65,8 +65,8 @@ To add EssentialsX to your build system, you should use the following artifacts:
|
||||
|
||||
| Type | Group ID | Artifact ID | Version |
|
||||
|:---------------|:----------------|:------------|:----------------|
|
||||
| Latest release | net.essentialsx | EssentialsX | 2.19.1 |
|
||||
| Snapshots | net.essentialsx | EssentialsX | 2.19.1-SNAPSHOT |
|
||||
| Latest release | net.essentialsx | EssentialsX | 2.19.2 |
|
||||
| Snapshots | net.essentialsx | EssentialsX | 2.19.2-SNAPSHOT |
|
||||
| Older releases | net.ess3 | EssentialsX | 2.18.2 |
|
||||
|
||||
Note: up until `2.18.2`, EssentialsX used the `net.ess3` group ID, but starting with `2.19.0` snapshots, the group ID is now `net.essentialsx`.
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "net.essentialsx"
|
||||
version = "2.19.1"
|
||||
version = "2.19.2"
|
||||
|
||||
project.ext {
|
||||
GIT_COMMIT = !indraGit.isPresent() ? "unknown" : indraGit.commit().abbreviate(7).name()
|
||||
|
||||
Reference in new issue
Block a user