TCheckpoint

This commit is contained in:
Gokalp Sen 2025-06-21 23:52:38 +03:00
parent 26daa1e830
commit 9bc57fdcb4
52 changed files with 563 additions and 111 deletions

View file

@ -34,8 +34,10 @@ public class ConfigRequirements {
Map.entry("buyTp", "market"),
Map.entry("reloadGrimmsConfig", "default"),
Map.entry("home", "homes"),
Map.entry("nick", "chat")
Map.entry("nick", "chat"),
Map.entry("market", "market")
);
public static boolean isCommandEnabled(String command) {
return switch (CommandRequirements.getOrDefault(command, "default")) {
case "market" -> ActiveConfig.module_Market;