mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-21 03:15:59 +01:00
Split config debugLevel into logPackets (Game) and logRequests (Dispatch)
This commit is contained in:
@@ -93,9 +93,8 @@ public class ConfigContainer {
|
||||
}
|
||||
|
||||
public static class Server {
|
||||
public ServerDebugMode debugLevel = ServerDebugMode.NONE;
|
||||
public Set<Integer> DebugWhitelist = Set.of();
|
||||
public Set<Integer> DebugBlacklist = Set.of();
|
||||
public Set<Integer> debugWhitelist = Set.of();
|
||||
public Set<Integer> debugBlacklist = Set.of();
|
||||
public ServerRunMode runMode = ServerRunMode.HYBRID;
|
||||
|
||||
public HTTP http = new HTTP();
|
||||
@@ -135,16 +134,21 @@ public class ConfigContainer {
|
||||
|
||||
public static class Game {
|
||||
public String bindAddress = "0.0.0.0";
|
||||
public int bindPort = 22102;
|
||||
|
||||
/* This is the address used in the default region. */
|
||||
public String accessAddress = "127.0.0.1";
|
||||
|
||||
public int bindPort = 22102;
|
||||
/* This is the port used in the default region. */
|
||||
public int accessPort = 0;
|
||||
|
||||
/* Entities within a certain range will be loaded for the player */
|
||||
public int loadEntitiesForPlayerRange = 100;
|
||||
public boolean enableScriptInBigWorld = false;
|
||||
public boolean enableConsole = true;
|
||||
|
||||
/* Controls whether packets should be logged in console or not */
|
||||
public ServerDebugMode logPackets = ServerDebugMode.NONE;
|
||||
|
||||
public GameOptions gameOptions = new GameOptions();
|
||||
public JoinOptions joinOptions = new JoinOptions();
|
||||
public ConsoleAccount serverAccount = new ConsoleAccount();
|
||||
@@ -156,6 +160,8 @@ public class ConfigContainer {
|
||||
public Region[] regions = {};
|
||||
|
||||
public String defaultName = "Grasscutter";
|
||||
|
||||
public ServerDebugMode logRequests = ServerDebugMode.NONE;
|
||||
}
|
||||
|
||||
public static class Encryption {
|
||||
|
||||
Reference in New Issue
Block a user