Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
a7b9b1f9
Commit
a7b9b1f9
authored
May 05, 2022
by
Secretboy
Committed by
Melledy
May 04, 2022
Browse files
Update Config.java
parent
08c01ab1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/Config.java
View file @
a7b9b1f9
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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment