|
|
@ -8,13 +8,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
package engine.gameManager; |
|
|
|
package engine.gameManager; |
|
|
|
|
|
|
|
|
|
|
|
// Magicbane configuration is loaded from environment variables
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// On boot the game first looks in /mb.conf for the file magicbane.conf.
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// If not found, a default config is loaded from /mb.data to enable bootstrap.
|
|
|
|
|
|
|
|
// This version should never be modified.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import engine.mbEnums; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.server.login.LoginServer; |
|
|
|
import engine.server.login.LoginServer; |
|
|
|
import engine.server.world.WorldServer; |
|
|
|
import engine.server.world.WorldServer; |
|
|
@ -30,6 +23,13 @@ import java.util.regex.Pattern; |
|
|
|
|
|
|
|
|
|
|
|
public enum ConfigManager { |
|
|
|
public enum ConfigManager { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Magicbane configuration is loaded from environment variables
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// On boot the game first looks in /mb.conf for the file magicbane.conf.
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// If not found, a default config is loaded from /mb.data to enable bootstrap.
|
|
|
|
|
|
|
|
// This version should never be modified.
|
|
|
|
|
|
|
|
|
|
|
|
MB_BIND_ADDR, |
|
|
|
MB_BIND_ADDR, |
|
|
|
MB_EXTERNAL_ADDR, |
|
|
|
MB_EXTERNAL_ADDR, |
|
|
|
|
|
|
|
|
|
|
|