From acf9325179136b28495f19d232487870dfa24e78 Mon Sep 17 00:00:00 2001 From: PhiRobot Date: Tue, 4 Nov 2025 21:02:57 +0000 Subject: [PATCH] Add Help messages and small refactor --- BauSystem/BauSystem_Main/src/BauSystem.properties | 3 ++- BauSystem/BauSystem_Main/src/BauSystem_de.properties | 3 ++- .../bausystem/features/{tntlistener => tls}/TLSCommand.java | 2 +- .../bausystem/features/{tntlistener => tls}/TLSListener.java | 2 +- .../features/{tntlistener => tls}/TLSScoreboardElement.java | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) rename BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/{tntlistener => tls}/TLSCommand.java (97%) rename BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/{tntlistener => tls}/TLSListener.java (98%) rename BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/{tntlistener => tls}/TLSScoreboardElement.java (96%) diff --git a/BauSystem/BauSystem_Main/src/BauSystem.properties b/BauSystem/BauSystem_Main/src/BauSystem.properties index 432ac00a..fe17bee6 100644 --- a/BauSystem/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem/BauSystem_Main/src/BauSystem.properties @@ -1033,4 +1033,5 @@ TLS_MESSAGE_79=§7TLS§8> §7Tick §e{0} §8- §7TNT §e{1} TLS_MESSAGE_80=§7TLS§8> §7Tick §e{0} §8- §7TNT §e{1} §8(§e{2} §7with Fuse 80§8) TLS_START_HELP=§8/§etls start §8: §7Start the TNT Listener TLS_STOP_HELP=§8/§etls stop §8: §7Stop the TNT Listener -TLS_SCOREBOARD_ELEMENT=§eTLS§8: §aon \ No newline at end of file +TLS_SCOREBOARD_ELEMENT=§eTLS§8: §aon +TLS_TOGGLE_HELP=§8/§etls§8: §7Toggle the TNT Listener \ No newline at end of file diff --git a/BauSystem/BauSystem_Main/src/BauSystem_de.properties b/BauSystem/BauSystem_Main/src/BauSystem_de.properties index 453b4079..432815c3 100644 --- a/BauSystem/BauSystem_Main/src/BauSystem_de.properties +++ b/BauSystem/BauSystem_Main/src/BauSystem_de.properties @@ -963,4 +963,5 @@ SCHEMATIC_GUI_ITEM=§eSchematics TLS_MESSAGE_80=§7TLS§8> §7Tick §e{0} §8- §7TNT §e{1} §8(§e{2} §7mit Fuse 80§8) TLS_START_HELP=§8/§etls start §8: §7Starte den TNT Listener TLS_STOP_HELP=§8/§etls stop §8: §7Stope den TNT Listener -TLS_SCOREBOARD_ELEMENT=§eTLS§8: §aan \ No newline at end of file +TLS_SCOREBOARD_ELEMENT=§eTLS§8: §aan +TLS_TOGGLE_HELP=§8/§etls§8: §7Toggle den TNT Listener \ No newline at end of file diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSCommand.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSCommand.java similarity index 97% rename from BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSCommand.java rename to BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSCommand.java index fbf2cf62..252482b6 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSCommand.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSCommand.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.steamwar.bausystem.features.tntlistener; +package de.steamwar.bausystem.features.tls; import de.steamwar.command.SWCommand; import de.steamwar.linkage.Linked; diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSListener.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSListener.java similarity index 98% rename from BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSListener.java rename to BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSListener.java index 9b587d8f..20e7f161 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSListener.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSListener.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.steamwar.bausystem.features.tntlistener; +package de.steamwar.bausystem.features.tls; import de.steamwar.bausystem.BauSystem; import de.steamwar.bausystem.features.tpslimit.TPSUtils; diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSScoreboardElement.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSScoreboardElement.java similarity index 96% rename from BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSScoreboardElement.java rename to BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSScoreboardElement.java index 0dec6609..8744e1f0 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tntlistener/TLSScoreboardElement.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/tls/TLSScoreboardElement.java @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -package de.steamwar.bausystem.features.tntlistener; +package de.steamwar.bausystem.features.tls; import de.steamwar.bausystem.BauSystem; import de.steamwar.bausystem.Permission;