Skip to content

Commit 720463e

Browse files
Merge pull request #16 from CocoTheOwner/installCommandUpdate
Install Command update
2 parents ce7b00a + 12f249d commit 720463e

File tree

1 file changed

+38
-21
lines changed
  • src/main/java/com/volmit/abyssalith/commands/general

1 file changed

+38
-21
lines changed

src/main/java/com/volmit/abyssalith/commands/general/Install.java

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,43 @@ public Install() {
2121

2222
@Override
2323
public void handle(List<String> args, MessageReceivedEvent e) {
24-
VolmitEmbed em = new VolmitEmbed("Iris Installation Guides", e.getMessage());
25-
em.addField(new MessageEmbed.Field(
26-
"1.18.X (Latest)",
27-
"""
28-
The guide on the wiki is up-to-date for 1.18.X:
29-
https://docs.volmit.com/iris/getting-started""",
30-
true
31-
));
32-
em.addField(new MessageEmbed.Field("1.16.X (Unsupported) & 1.17.X (Supported)", """
33-
Please note that 1.16 is a very old version and that Iris has a lot of bugs in that version.
34-
1.17 is now no longer the most recent version, and we will drop support for it too.
35-
On top of being old and Iris having bugs,
36-
Minecraft has a known security exploit in both versions
37-
that puts your server at risk of being hacked and destroyed.
38-
With that said, here is a video tutorial for those
39-
reckless enough to make a new Iris world on these versions:
40-
Legacy install video here: https://youtu.be/WOvaq5ZkXn8
41-
""",
42-
true
43-
));
44-
em.send(e.getMessage(), true);
24+
e.getMessage().delete().queue();
25+
e.getChannel().sendMessageEmbeds(new VolmitEmbed()
26+
.setTitle("Iris Installation Guides")
27+
.addField(new MessageEmbed.Field("1.18.X (Latest)",
28+
"The guide on the wiki is up-to-date for 1.18.X:\n" +
29+
"https://docs.volmit.com/iris/getting-started",
30+
false
31+
))
32+
.addField(new MessageEmbed.Field("Legacy warning", """
33+
Any version older than 1.18 by default has a security exploit known as the Log4j exploit.
34+
We **strongly** recommend using 1.18 for this reason, as it makes your and our lives easier.
35+
Thank you for your cooperation!
36+
""",
37+
false
38+
))
39+
.addField(new MessageEmbed.Field("1.17.X", """
40+
**1.17.X** is a bit older now and the pack that is automatically downloaded is no longer correct.
41+
So you need to take some additional steps. We still recommend using 1.18.X though.
42+
If you really cannot use 1.18.X, here is a video: https://youtu.be/WOvaq5ZkXn8
43+
44+
- https://api.purpurmc.org/v2/purpur/1.17.1/1428/download
45+
- https://www.spigotmc.org/resources/iris-world-gen-custom-biome-colors.84586/download?version=433999
46+
- https://github.com/IrisDimensions/overworld/archive/refs/tags/2017.zip
47+
""",
48+
false
49+
))
50+
.addField(new MessageEmbed.Field("1.16.X", """
51+
**1.16.X** is a very old version and that Iris has a lot of bugs in that version.
52+
A lot of those bugs have been fixed, so we will not support the version anymore.
53+
If you're crazy, here is a video: https://youtu.be/WOvaq5ZkXn8
54+
55+
- https://api.purpurmc.org/v2/purpur/1.16.5/1171/download
56+
- https://www.spigotmc.org/resources/iris-world-gen-custom-biome-colors.84586/download?version=405004
57+
- https://github.com/IrisDimensions/overworld/archive/refs/heads/1.16.zip
58+
""",
59+
false
60+
))
61+
.build()).queue();
4562
}
4663
}

0 commit comments

Comments
 (0)