mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Serverstart - Show some server settings in the log.
This commit is contained in:
parent
efb664c743
commit
e672e63736
1 changed files with 6 additions and 0 deletions
|
@ -123,6 +123,12 @@ public class Main {
|
||||||
adminPassword = SystemUtil.sanitize(adminPassword);
|
adminPassword = SystemUtil.sanitize(adminPassword);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.info("Config - max seconds idle: " + config.getMaxSecondsIdle());
|
||||||
|
logger.info("Config - max game threads: " + config.getMaxGameThreads());
|
||||||
|
logger.info("Config - max AI opponents: " + config.getMaxAiOpponents());
|
||||||
|
logger.info("Config - save game active: " + (config.isSaveGameActivated() ? "True":"false"));
|
||||||
|
|
||||||
Connection connection = new Connection();
|
Connection connection = new Connection();
|
||||||
connection.setHost(config.getServerAddress());
|
connection.setHost(config.getServerAddress());
|
||||||
connection.setPort(config.getPort());
|
connection.setPort(config.getPort());
|
||||||
|
|
Loading…
Reference in a new issue