public static void Initialize() { KonsoleCommands.Register("Restart", new KonsoleCommandEventHandler(Restart_OnCommand)); KonsoleCommands.Register("R", new KonsoleCommandEventHandler(Restart_OnCommand)); KonsoleCommands.Register("SaveRestart", new KonsoleCommandEventHandler(SaveRestart_OnCommand)); KonsoleCommands.Register("SR", new KonsoleCommandEventHandler(SaveRestart_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("Save", new KonsoleCommandEventHandler(Save_OnCommand)); KonsoleCommands.Register("S", new KonsoleCommandEventHandler(Save_OnCommand)); // A BeforeSave() save event would have been nice to ensure Save() // is not called a second time before completeing or enforce this check in the World.Save() if it is not already World.onSave += new World.OnSaveDelegate(On_Save); }
public static void Initialize() { KonsoleCommands.Register("Test", new KonsoleCommandEventHandler(Test_OnCommand)); KonsoleCommands.Register("tt", new KonsoleCommandEventHandler(Test_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("Help", new KonsoleCommandEventHandler(Help_OnCommand)); KonsoleCommands.Register("?", new KonsoleCommandEventHandler(Help_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("Broadcast", new KonsoleCommandEventHandler(Broadcast_OnCommand)); KonsoleCommands.Register("B", new KonsoleCommandEventHandler(Broadcast_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("SaveShutdown", new KonsoleCommandEventHandler(SaveShutdown_OnCommand)); KonsoleCommands.Register("SSD", new KonsoleCommandEventHandler(SaveShutdown_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("SetPLevel", new KonsoleCommandEventHandler(SetPLevel_OnCommand)); KonsoleCommands.Register("SPL", new KonsoleCommandEventHandler(SetPLevel_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("CreateAccount", new KonsoleCommandEventHandler(CreateAccount_OnCommand)); KonsoleCommands.Register("CA", new KonsoleCommandEventHandler(CreateAccount_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("Jail", new KonsoleCommandEventHandler(Jail_OnCommand)); KonsoleCommands.Register("J", new KonsoleCommandEventHandler(Jail_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("Info", new KonsoleCommandEventHandler(Info_OnCommand)); KonsoleCommands.Register("I", new KonsoleCommandEventHandler(Info_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("Status", new KonsoleCommandEventHandler(Status_OnCommand)); KonsoleCommands.Register("ST", new KonsoleCommandEventHandler(Status_OnCommand)); }
public static void Initialize() { KonsoleCommands.Register("AccountList", new KonsoleCommandEventHandler(AccountList_OnCommand)); KonsoleCommands.Register("AL", new KonsoleCommandEventHandler(AccountList_OnCommand)); }