mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 20:12:52 +08:00
Update Config.java
This commit is contained in:
parent
08c01ab15d
commit
a7b9b1f923
@ -1,5 +1,6 @@
|
|||||||
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 {
|
|||||||
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 {
|
|||||||
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user