Commit a7b9b1f9 authored by Secretboy's avatar Secretboy Committed by Melledy
Browse files

Update Config.java

parent 08c01ab1
package emu.grasscutter; package emu.grasscutter;
import java.util.Locale;
import emu.grasscutter.Grasscutter.ServerDebugMode; import emu.grasscutter.Grasscutter.ServerDebugMode;
import emu.grasscutter.Grasscutter.ServerRunMode; import emu.grasscutter.Grasscutter.ServerRunMode;
import emu.grasscutter.game.mail.Mail; import emu.grasscutter.game.mail.Mail;
...@@ -22,7 +23,7 @@ public final class Config { ...@@ -22,7 +23,7 @@ public final class Config {
public ServerRunMode RunMode = ServerRunMode.HYBRID; // HYBRID, DISPATCH_ONLY, GAME_ONLY public ServerRunMode RunMode = ServerRunMode.HYBRID; // HYBRID, DISPATCH_ONLY, GAME_ONLY
public GameServerOptions GameServer = new GameServerOptions(); public GameServerOptions GameServer = new GameServerOptions();
public DispatchServerOptions DispatchServer = new DispatchServerOptions(); public DispatchServerOptions DispatchServer = new DispatchServerOptions();
public String Language = "en_us"; public Locale LocaleLanguage = Locale.getDefault();
public Boolean OpenStamina = true; public Boolean OpenStamina = true;
public GameServerOptions getGameServerOptions() { public GameServerOptions getGameServerOptions() {
...@@ -57,7 +58,7 @@ public final class Config { ...@@ -57,7 +58,7 @@ public final class Config {
public int Port = 22102; public int Port = 22102;
} }
} }
public static class GameServerOptions { public static class GameServerOptions {
public String Name = "Test"; public String Name = "Test";
public String Ip = "0.0.0.0"; public String Ip = "0.0.0.0";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment