Maintenance hour and bot/game version config entries removed.
This commit is contained in:
@@ -20,12 +20,8 @@ public class StatusRequestHandler {
|
|||||||
|
|
||||||
String outString;
|
String outString;
|
||||||
|
|
||||||
// Add version information
|
|
||||||
outString = "MagicBot: " + ConfigManager.MB_MAGICBOT_BOTVERSION.getValue() + "\n" +
|
|
||||||
"MagicBane: " + ConfigManager.MB_MAGICBOT_GAMEVERSION.getValue() + "\n";
|
|
||||||
|
|
||||||
// Add server status info
|
// Add server status info
|
||||||
outString += "\nServer Status: ";
|
outString = "Server Status: ";
|
||||||
|
|
||||||
if (LoginServer.isPortInUse(Integer.parseInt(ConfigManager.MB_WORLD_PORT.getValue())))
|
if (LoginServer.isPortInUse(Integer.parseInt(ConfigManager.MB_WORLD_PORT.getValue())))
|
||||||
outString += "ONLINE\n";
|
outString += "ONLINE\n";
|
||||||
|
|||||||
@@ -63,10 +63,14 @@ public enum ConfigManager {
|
|||||||
MB_WORLD_UUID,
|
MB_WORLD_UUID,
|
||||||
MB_WORLD_WAREHOUSE_PUSH,
|
MB_WORLD_WAREHOUSE_PUSH,
|
||||||
MB_WORLD_MAINTENANCE,
|
MB_WORLD_MAINTENANCE,
|
||||||
MB_WORLD_MAINTENANCE_HOUR,
|
|
||||||
MB_WORLD_GREETING,
|
MB_WORLD_GREETING,
|
||||||
MB_WORLD_KEYCLONE_MAX,
|
MB_WORLD_KEYCLONE_MAX,
|
||||||
|
|
||||||
|
//drop rates
|
||||||
|
MB_NORMAL_RATE,
|
||||||
|
MB_HOTZONE_RATE,
|
||||||
|
MB_HOTZONE_DURATION,
|
||||||
|
|
||||||
// MagicBot configuration.
|
// MagicBot configuration.
|
||||||
|
|
||||||
MB_MAGICBOT_SERVERID,
|
MB_MAGICBOT_SERVERID,
|
||||||
@@ -79,13 +83,8 @@ public enum ConfigManager {
|
|||||||
MB_MAGICBOT_GENERAL,
|
MB_MAGICBOT_GENERAL,
|
||||||
MB_MAGICBOT_FORTOFIX,
|
MB_MAGICBOT_FORTOFIX,
|
||||||
MB_MAGICBOT_RECRUIT,
|
MB_MAGICBOT_RECRUIT,
|
||||||
MB_MAGICBOT_ADMINLOG,
|
MB_MAGICBOT_ADMINLOG;
|
||||||
MB_MAGICBOT_BOTVERSION,
|
|
||||||
MB_MAGICBOT_GAMEVERSION,
|
|
||||||
//drop rates
|
|
||||||
MB_NORMAL_RATE,
|
|
||||||
MB_HOTZONE_RATE,
|
|
||||||
MB_HOTZONE_DURATION;
|
|
||||||
// Map to hold our config pulled in from the environment
|
// Map to hold our config pulled in from the environment
|
||||||
// We also use the config to point to the current message pump
|
// We also use the config to point to the current message pump
|
||||||
// and determine the server type at runtime.
|
// and determine the server type at runtime.
|
||||||
|
|||||||
Reference in New Issue
Block a user