Update welcome mail

This commit is contained in:
Melledy
2023-11-24 21:20:54 -08:00
parent 0fa2380e7d
commit 2af7059749
2 changed files with 6 additions and 7 deletions

View File

@@ -114,13 +114,13 @@ public class Config {
public WelcomeMail() { public WelcomeMail() {
this.title = "Welcome to a LunarCore server"; this.title = "Welcome to a LunarCore server";
this.sender = "Server"; this.sender = "Server";
this.content = "Welcome to Lunar Core! Please take these items as a starter gift. For a list of commands, type /help in the server chat window. <a type=OpenURL1 href=https://discord.gg/cfPKJ6N5hw>Check out our Discord for more information about the server.</a>"; this.content = "Welcome to Lunar Core! Please take these items as a starter gift. For a list of commands, type /help in the server chat window. Check out our <a type=OpenURL1 href=https://discord.gg/cfPKJ6N5hw>Discord</a> and <a type=OpenURL1 href=https://github.com/Melledy/LunarCore>Github</a> for more information about the server.";
this.attachments = List.of( this.attachments = List.of(
new ItemParam(2, 1000000), new ItemParam(2, 1000000),
new ItemParam(101, 100), new ItemParam(101, 100),
new ItemParam(102, 100), new ItemParam(102, 100),
new ItemParam(1001, 1), new ItemParam(1001, 1),
new ItemParam(1002, 1) new ItemParam(1002, 1)
); );
} }
} }

View File

@@ -11,7 +11,6 @@ public class HelpCommand implements CommandHandler {
@Override @Override
public void execute(Player sender, CommandArgs args) { public void execute(Player sender, CommandArgs args) {
StringBuilder help = new StringBuilder();
this.sendMessage(sender, "Displaying list of commands:"); this.sendMessage(sender, "Displaying list of commands:");
var labels = LunarCore.getCommandManager().getLabels().keySet().stream().sorted().toList(); var labels = LunarCore.getCommandManager().getLabels().keySet().stream().sorted().toList();