|
|
@ -22,6 +22,13 @@ import java.util.Map.Entry; |
|
|
|
import java.util.concurrent.ConcurrentHashMap; |
|
|
|
import java.util.concurrent.ConcurrentHashMap; |
|
|
|
|
|
|
|
|
|
|
|
public enum DevCmdManager { |
|
|
|
public enum DevCmdManager { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// MB Dev Notes:
|
|
|
|
|
|
|
|
// Class registers "Dev Commands" where access requires
|
|
|
|
|
|
|
|
// Status = "ADMIN" be set in the obj_account table
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// Use these at your own risk.
|
|
|
|
|
|
|
|
|
|
|
|
DEV_CMD_MANAGER; |
|
|
|
DEV_CMD_MANAGER; |
|
|
|
|
|
|
|
|
|
|
|
public static ConcurrentHashMap<String, AbstractDevCmd> devCmds; |
|
|
|
public static ConcurrentHashMap<String, AbstractDevCmd> devCmds; |
|
|
@ -35,9 +42,6 @@ public enum DevCmdManager { |
|
|
|
DevCmdManager.registerCommands(); |
|
|
|
DevCmdManager.registerCommands(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
private static void registerCommands() { |
|
|
|
private static void registerCommands() { |
|
|
|
|
|
|
|
|
|
|
|
// Player
|
|
|
|
// Player
|
|
|
|