Implemented the ability to enable/disable entrance, sign, and channel servers

This commit is contained in:
Eclipse
2022-09-22 20:51:18 -04:00
parent 44a42a3365
commit 2f123d96df
5 changed files with 103 additions and 82 deletions

View File

@@ -23,6 +23,7 @@ type Config struct {
Database Database
Launcher Launcher
Sign Sign
Channel Channel
Entrance Entrance
}
@@ -86,17 +87,24 @@ type Database struct {
// Launcher holds the launcher server config.
type Launcher struct {
Enabled bool
Port int
UseOriginalLauncherFiles bool
}
// Sign holds the sign server config.
type Sign struct {
Port int
Enabled bool
Port int
}
type Channel struct {
Enabled bool
}
// Entrance holds the entrance server config.
type Entrance struct {
Enabled bool
Port uint16
Entries []EntranceServerInfo
}