From c3a011d98e4551d25253fea2670cb9e1706841f9 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 29 Nov 2023 15:07:45 +0100 Subject: [PATCH] Help page addition: schem submit tutorial link Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/HelpCommand.java | 4 +++- src/de/steamwar/messages/BungeeCore.properties | 2 ++ src/de/steamwar/messages/BungeeCore_de.properties | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/HelpCommand.java b/src/de/steamwar/bungeecore/commands/HelpCommand.java index 0aa879f..cdb5eb5 100644 --- a/src/de/steamwar/bungeecore/commands/HelpCommand.java +++ b/src/de/steamwar/bungeecore/commands/HelpCommand.java @@ -67,7 +67,9 @@ public class HelpCommand extends SWCommand { @Register({"build","other"}) public void buildOther(ProxiedPlayer player) { - printPage(ChatSender.of(player), "HELP_BAU_GROUP_OTHER_TITLE", "HELP_TESTBLOCK", "HELP_SKULL", "HELP_BAUINFO"); + ChatSender sender = ChatSender.of(player); + printPage(sender, "HELP_BAU_GROUP_OTHER_TITLE", "HELP_TESTBLOCK", "HELP_SKULL", "HELP_BAUINFO"); + sender.prefixless("HELP_SCHEMSUBMIT", new Message("HELP_SCHEMSUBMIT_HOVER"), new ClickEvent(ClickEvent.Action.OPEN_URL, "https://www.youtube.com/watch?v=9QrQ3UBWveE")); } @Register("build") diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 354c869..98a1f8b 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -58,6 +58,8 @@ HELP_FREEZE=§8/§7freeze §8- §7Stops block updates HELP_SKULL=§8/§7skull §8- §7Gives you a player head HELP_DEBUGSTICK=§8/§7debugstick §8- §7Gives you a debugstick HELP_BAUINFO=§8/§7buildinfo §8- §7Information about the current build server +HELP_SCHEMSUBMIT=§7For a Tutorial about unlocking your AirShip§8/§7MiniWarGear§8/§7WarGear§8/§7WarShip click §ehere§8! +HELP_SCHEMSUBMIT_HOVER=§ehttps://www.youtube.com/watch?v=9QrQ3UBWveE HELP_WE_POS1=§8//§71 §7» §8//§7pos1 HELP_WE_POS2=§8//§72 §7» §8//§7pos2 diff --git a/src/de/steamwar/messages/BungeeCore_de.properties b/src/de/steamwar/messages/BungeeCore_de.properties index 0ad8728..a3c692e 100644 --- a/src/de/steamwar/messages/BungeeCore_de.properties +++ b/src/de/steamwar/messages/BungeeCore_de.properties @@ -54,6 +54,7 @@ HELP_FREEZE=§8/§7freeze §8- §7Unterbindet Blockupdates HELP_SKULL=§8/§7skull §8- §7Gibt dir den Kopf eines Spielers HELP_DEBUGSTICK=§8/§7debugstick §8- §7Gibt dir einen Debugstick (1.15+) HELP_BAUINFO=§8/§7bauinfo §8- §7Gibt dir Informationen über den Bauserver +HELP_SCHEMSUBMIT=§7Für ein Tutorial über das Freischalten deines AirShips§8/§7MiniWarGear§8/§7WarGear§8/§7WarShips klicke §ehier§8! HELP_BAU_GROUP_ADMIN=§7Bauserver-Verwaltungsbefehle HELP_BAU_GROUP_ADMIN_HOVER=§eAlle Verwaltungsbefehle