예제 #1
0
 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));
 }
예제 #2
0
        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);
        }
예제 #3
0
 public static void Initialize()
 {
     KonsoleCommands.Register("Test", new KonsoleCommandEventHandler(Test_OnCommand));
     KonsoleCommands.Register("tt", new KonsoleCommandEventHandler(Test_OnCommand));
 }
예제 #4
0
 public static void Initialize()
 {
     KonsoleCommands.Register("Help", new KonsoleCommandEventHandler(Help_OnCommand));
     KonsoleCommands.Register("?", new KonsoleCommandEventHandler(Help_OnCommand));
 }
예제 #5
0
 public static void Initialize()
 {
     KonsoleCommands.Register("Broadcast", new KonsoleCommandEventHandler(Broadcast_OnCommand));
     KonsoleCommands.Register("B", new KonsoleCommandEventHandler(Broadcast_OnCommand));
 }
예제 #6
0
 public static void Initialize()
 {
     KonsoleCommands.Register("SaveShutdown", new KonsoleCommandEventHandler(SaveShutdown_OnCommand));
     KonsoleCommands.Register("SSD", new KonsoleCommandEventHandler(SaveShutdown_OnCommand));
 }
예제 #7
0
 public static void Initialize()
 {
     KonsoleCommands.Register("SetPLevel", new KonsoleCommandEventHandler(SetPLevel_OnCommand));
     KonsoleCommands.Register("SPL", new KonsoleCommandEventHandler(SetPLevel_OnCommand));
 }
예제 #8
0
 public static void Initialize()
 {
     KonsoleCommands.Register("CreateAccount", new KonsoleCommandEventHandler(CreateAccount_OnCommand));
     KonsoleCommands.Register("CA", new KonsoleCommandEventHandler(CreateAccount_OnCommand));
 }
예제 #9
0
 public static void Initialize()
 {
     KonsoleCommands.Register("Jail", new KonsoleCommandEventHandler(Jail_OnCommand));
     KonsoleCommands.Register("J", new KonsoleCommandEventHandler(Jail_OnCommand));
 }
예제 #10
0
 public static void Initialize()
 {
     KonsoleCommands.Register("Info", new KonsoleCommandEventHandler(Info_OnCommand));
     KonsoleCommands.Register("I", new KonsoleCommandEventHandler(Info_OnCommand));
 }
예제 #11
0
 public static void Initialize()
 {
     KonsoleCommands.Register("Status", new KonsoleCommandEventHandler(Status_OnCommand));
     KonsoleCommands.Register("ST", new KonsoleCommandEventHandler(Status_OnCommand));
 }
예제 #12
0
 public static void Initialize()
 {
     KonsoleCommands.Register("AccountList", new KonsoleCommandEventHandler(AccountList_OnCommand));
     KonsoleCommands.Register("AL", new KonsoleCommandEventHandler(AccountList_OnCommand));
 }