Complete rework of Dispatch, Added DebugMode

This commit is contained in:
Benjamin Elsdon
2022-05-01 00:30:56 +08:00
parent 4db1724d06
commit 947d3e5745
8 changed files with 206 additions and 262 deletions

View File

@@ -13,6 +13,7 @@ public final class Config {
public String SCRIPTS_FOLDER = "./resources/Scripts/";
public String PLUGINS_FOLDER = "./plugins/";
public String DebugMode = "NONE"; // ALL, MISSING, NONE
public String RunMode = "HYBRID"; // HYBRID, DISPATCH_ONLY, GAME_ONLY
public GameServerOptions GameServer = new GameServerOptions();
public DispatchServerOptions DispatchServer = new DispatchServerOptions();
@@ -60,8 +61,6 @@ public final class Config {
public String DispatchServerDatabaseUrl = "mongodb://localhost:27017";
public String DispatchServerDatabaseCollection = "grasscutter";
public boolean LOG_PACKETS = false;
public int InventoryLimitWeapon = 2000;
public int InventoryLimitRelic = 2000;
public int InventoryLimitMaterial = 2000;