From d8d519765aa94a2861f7de6ddd81f826bddb0ab1 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 29 Nov 2023 16:22:01 +0100 Subject: [PATCH] Add QuickGear Rules, disable LevelHead on Badlion Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/RegelnCommand.java | 1 + src/de/steamwar/bungeecore/listeners/mods/Badlion.java | 2 +- src/de/steamwar/messages/BungeeCore.properties | 3 +++ src/de/steamwar/messages/BungeeCore_de.properties | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/RegelnCommand.java b/src/de/steamwar/bungeecore/commands/RegelnCommand.java index 31643c97..bb1f3b07 100644 --- a/src/de/steamwar/bungeecore/commands/RegelnCommand.java +++ b/src/de/steamwar/bungeecore/commands/RegelnCommand.java @@ -36,6 +36,7 @@ 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_QG", player, Message.parse("REGELN_QG_HOVER", player), new ClickEvent(ClickEvent.Action.OPEN_URL, Message.parse("REGELN_QG_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/bungeecore/listeners/mods/Badlion.java b/src/de/steamwar/bungeecore/listeners/mods/Badlion.java index ce01ce43..a194f02d 100644 --- a/src/de/steamwar/bungeecore/listeners/mods/Badlion.java +++ b/src/de/steamwar/bungeecore/listeners/mods/Badlion.java @@ -26,6 +26,6 @@ public class Badlion extends BasicListener { } */ - event.getPlayer().sendData("badlion:mods", ("{\"Clear Glass\":{\"disabled\":true},\"ClearWater\":{\"disabled\":true},\"FOV Changer\":{\"disabled\":true},\"Hitboxes\":{\"disabled\":true},\"MiniMap\":{\"disabled\":true},\"MLG Cobweb\":{\"disabled\":true},\"Replay\":{\"disabled\":true},\"Schematica\":{\"disabled\":true},\"ToggleSneak\":{\"disabled\":true},\"ToggleSprint\":{\"disabled\":true},\"TNT Time\":{\"disabled\":true}}").getBytes()); + event.getPlayer().sendData("badlion:mods", ("{\"Clear Glass\":{\"disabled\":true},\"ClearWater\":{\"disabled\":true},\"FOV Changer\":{\"disabled\":true},\"Hitboxes\":{\"disabled\":true},\"LevelHead\":{\"disabled\":true},\"MiniMap\":{\"disabled\":true},\"MLG Cobweb\":{\"disabled\":true},\"Replay\":{\"disabled\":true},\"Schematica\":{\"disabled\":true},\"ToggleSneak\":{\"disabled\":true},\"ToggleSprint\":{\"disabled\":true},\"TNT Time\":{\"disabled\":true}}").getBytes()); } } diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 98a1f8bb..b6982db2 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -357,6 +357,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_QG=§eQuickGear §7Rules +REGELN_QG_HOVER=§7https://steamwar.de/spielmodi/quickgear-regelwerk/ +REGELN_QG_URL=https://steamwar.de/spielmodi/quickgear-regelwerk/ REGELN_CONDUCT=§eCode of conduct REGELN_CONDUCT_HOVER=§7https://steamwar.de/verhaltensrichtlinien/ REGELN_CONDUCT_URL=https://steamwar.de/verhaltensrichtlinien/ diff --git a/src/de/steamwar/messages/BungeeCore_de.properties b/src/de/steamwar/messages/BungeeCore_de.properties index a3c692e5..bce5de7d 100644 --- a/src/de/steamwar/messages/BungeeCore_de.properties +++ b/src/de/steamwar/messages/BungeeCore_de.properties @@ -340,6 +340,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_QG=§eQuickGear§8-§7Regelwerk +REGELN_QG_HOVER=§7https://steamwar.de/spielmodi/quickgear-regelwerk/ +REGELN_QG_URL=https://steamwar.de/spielmodi/quickgear-regelwerk/ REGELN_CONDUCT=§eVerhaltensrichtlinien REGELN_CONDUCT_HOVER=§7https://steamwar.de/verhaltensrichtlinien/ REGELN_CONDUCT_URL=https://steamwar.de/verhaltensrichtlinien/