From 265c8419208108505575f433627835cb6c5084ad Mon Sep 17 00:00:00 2001 From: MoBrot <90271578+MoBrot@users.noreply.github.com> Date: Sun, 19 Mar 2023 22:26:25 +0100 Subject: [PATCH] Add Code of Conduct to RegelnCommand --- src/de/steamwar/bungeecore/commands/RegelnCommand.java | 1 + src/de/steamwar/messages/BungeeCore.properties | 3 +++ src/de/steamwar/messages/BungeeCore_de.properties | 3 +++ 3 files changed, 7 insertions(+) diff --git a/src/de/steamwar/bungeecore/commands/RegelnCommand.java b/src/de/steamwar/bungeecore/commands/RegelnCommand.java index 63731a53..31643c97 100644 --- a/src/de/steamwar/bungeecore/commands/RegelnCommand.java +++ b/src/de/steamwar/bungeecore/commands/RegelnCommand.java @@ -36,5 +36,6 @@ public class RegelnCommand extends SWCommand { Message.sendPrefixless("REGELN_MWG", player, Message.parse("REGELN_MWG_HOVER", player), new ClickEvent(ClickEvent.Action.OPEN_URL, Message.parse("REGELN_MWG_URL", player))); Message.sendPrefixless("REGELN_WG", player, Message.parse("REGELN_WG_HOVER", player), new ClickEvent(ClickEvent.Action.OPEN_URL, Message.parse("REGELN_WG_URL", player))); Message.sendPrefixless("REGELN_WS", player, Message.parse("REGELN_WS_HOVER", player), new ClickEvent(ClickEvent.Action.OPEN_URL, Message.parse("REGELN_WS_URL", player))); + Message.sendPrefixless("REGELN_CONDUCT", player, Message.parse("REGELN_CONDUCT_HOVER", player), new ClickEvent(ClickEvent.Action.OPEN_URL, Message.parse("REGELN_CONDUCT_URL", player))); } } diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 1845f38f..a95129c5 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -353,6 +353,9 @@ REGELN_WG_URL=https://steamwar.de/spielmodi/wargear-regelwerk/ REGELN_WS=§eWarShip §7Rules REGELN_WS_HOVER=§7https://steamwar.de/spielmodi/warship-regelwerk/ REGELN_WS_URL=https://steamwar.de/spielmodi/warship-regelwerk/ +REGELN_CONDUCT=§eConduct rules +REGELN_CONDUCT_HOVER=§7https://steamwar.de/verhaltensrichtlinien/ +REGELN_CONDUCT_URL=https://steamwar.de/verhaltensrichtlinien/ #ReplayCommand REPLAY_TITLE=Most recent fights diff --git a/src/de/steamwar/messages/BungeeCore_de.properties b/src/de/steamwar/messages/BungeeCore_de.properties index d1f8a22a..47760d1e 100644 --- a/src/de/steamwar/messages/BungeeCore_de.properties +++ b/src/de/steamwar/messages/BungeeCore_de.properties @@ -337,6 +337,9 @@ REGELN_WG_URL=https://steamwar.de/spielmodi/wargear-regelwerk/ REGELN_WS=§eWarShip§8-§7Regelwerk REGELN_WS_HOVER=§7https://steamwar.de/spielmodi/warship-regelwerk/ REGELN_WS_URL=https://steamwar.de/spielmodi/warship-regelwerk/ +REGELN_CONDUCT=§eVerhaltensrichtlinien +REGELN_CONDUCT_HOVER=§7https://steamwar.de/verhaltensrichtlinien/ +REGELN_CONDUCT_URL=https://steamwar.de/verhaltensrichtlinien/ #ReplayCommand REPLAY_TITLE=Letzte Kämpfe