Skip to content

Commit

Permalink
removed lag counter and usage command
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcbencrafter committed Jan 16, 2025
1 parent a14f3e6 commit 45d5bb0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 81 deletions.
37 changes: 0 additions & 37 deletions src/main/java/de/cuuky/varo/command/essentials/UsageCommand.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ public enum ConfigSetting implements SectionEntry {
COMMAND_TIME_ENABLED(ConfigSettingSection.COMMANDS, "time.enabled", true, "Ob /day und /night aktiviert sein soll"),
COMMAND_TR_ENABLED(ConfigSettingSection.COMMANDS, "tr.enabled", true, "Ob /tr aktiviert sein soll"),
COMMAND_TR_NAME(ConfigSettingSection.COMMANDS, "tr.name", "tr", "Custom name für /tr"),
COMMAND_USAGE_ENABLED(ConfigSettingSection.COMMANDS, "usage.enabled", true, "Ob /usage aktiviert sein soll"),
COMMAND_VANISH_ENABLED(ConfigSettingSection.COMMANDS, "vanish.enabled", true, "Ob /vanish aktiviert sein soll"),
COMMAND_VARO_ENABLED(ConfigSettingSection.COMMANDS, "varo.enabled", true, "Ob /varo aktiviert sein soll"),
COMMAND_VARO_NAME(ConfigSettingSection.COMMANDS, "varo.name", "varo", "Custom name für /varo"),
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/de/cuuky/varo/data/BugReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import de.cuuky.varo.Main;
import de.cuuky.varo.configuration.configurations.config.ConfigSetting;
import de.cuuky.varo.threads.LagCounter;
import de.cuuky.varo.utils.ZipUtil;

public class BugReport {
Expand Down Expand Up @@ -63,7 +62,6 @@ private static void printInfo() {
System.out.println(Main.getConsolePrefix() + "Java Version: " + System.getProperty("java.version"));
System.out.println(Main.getConsolePrefix() + "Total memory usage: " + (r.totalMemory() - r.freeMemory()) / 1048576 + "MB!");
System.out.println(Main.getConsolePrefix() + "Total memory available: " + r.maxMemory() / 1048576 + "MB!");
System.out.println(Main.getConsolePrefix() + "TPS: " + (double) Math.round(LagCounter.getTPS() * 100) / 100);
System.out.println(Main.getConsolePrefix() + "Date: " + new SimpleDateFormat("dd.MM.yyyy HH:mm").format(new Date()));
System.out.println(Main.getConsolePrefix());
System.out.println(Main.getConsolePrefix() + "----------------------");
Expand Down
1 change: 0 additions & 1 deletion src/main/java/de/cuuky/varo/data/BukkitRegisterer.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ public static void registerCommands() {
registerDynamicCommand("unfreeze", "Entfriert einen Spieler", new UnfreezeCommand(), ConfigSetting.COMMAND_FREEZE_ENABLED, "move");
registerDynamicCommand("unmute", "Entmutet einen Spieler", new UnmuteCommand(), ConfigSetting.COMMAND_MUTE_ENABLED);
registerDynamicCommand("unprotect", "Beendet die Beschützung vor Schaden von Spielern", new UnprotectCommand(), ConfigSetting.COMMAND_PROTECT_ENABLED);
registerDynamicCommand("usage", "Zeigt die Nutzung des Servers", new UsageCommand(), ConfigSetting.COMMAND_USAGE_ENABLED);
registerDynamicCommand("vanish", "Versteckt dich oder einen Spieler vor allen anderen", new VanishCommand(), ConfigSetting.COMMAND_VANISH_ENABLED, "v");
registerDynamicCommand(ConfigSetting.COMMAND_VARO_NAME.getValueAsString(), "Hauptbefehl des Plugins", new VaroCommandListener(), ConfigSetting.COMMAND_VARO_ENABLED, "varoplugin");
registerDynamicCommand("varotime", "Zeigt die verbleibende Session-Zeit an", new VaroTimeCommand(), ConfigSetting.COMMAND_VAROTIME_ENABLED, "vt");
Expand Down
40 changes: 0 additions & 40 deletions src/main/java/de/cuuky/varo/threads/LagCounter.java

This file was deleted.

0 comments on commit 45d5bb0

Please sign in to comment.