feat: smp-like encryption for chomens mod instead of public-private keys

This commit is contained in:
ChomeNS
2025-04-08 16:42:17 +07:00
parent 11f08138fe
commit 93f582bba0
7 changed files with 189 additions and 179 deletions

View File

@@ -16,6 +16,8 @@ public class Configuration {
public Database database = new Database();
public ChomeNSMod chomeNSMod = new ChomeNSMod();
public String weatherApiKey;
public String namespace = "chomens_bot";
@@ -69,6 +71,12 @@ public class Configuration {
public String password = "123456";
}
public static class ChomeNSMod {
public boolean enabled = false;
public String password = "123456";
public List<String> players = new ArrayList<>();
}
public static class Keys {
public String trustedKey;
public String adminKey;