示例#1
0
        /// <summary>
        /// </summary>
        /// <returns>
        /// </returns>
        private static bool InitializeConsoleCommands()
        {
            consoleCommands.Engine = "Web";

            consoleCommands.AddEntry("start", StartServer);
            consoleCommands.AddEntry("running", IsServerRunning);
            consoleCommands.AddEntry("stop", StopServer);
            consoleCommands.AddEntry("exit", ShutDownServer);
            consoleCommands.AddEntry("quit", ShutDownServer);
            consoleCommands.AddEntry("debugnetwork", SetDebugNetwork);

            consoleCommands.AddEntry("checkphp", CheckPphp);
            consoleCommands.AddEntry("checkWebCore", CheckWebCore);
            return(true);
        }
示例#2
0
 /// <summary>
 /// </summary>
 /// <returns>
 /// </returns>
 private static bool InitializeConsoleCommands()
 {
     consoleCommands.Engine = "Chat";
     consoleCommands.AddEntry("start", StartServer);
     consoleCommands.AddEntry("running", IsServerRunning);
     consoleCommands.AddEntry("stop", StopServer);
     consoleCommands.AddEntry("exit", ShutDownServer);
     consoleCommands.AddEntry("quit", ShutDownServer);
     consoleCommands.AddEntry("debug", SetDebug);
     return(true);
 }
示例#3
0
        /// <summary>
        /// </summary>
        /// <returns>
        /// </returns>
        private static bool InitializeConsoleCommands()
        {
            consoleCommands.Engine = "Login";

            consoleCommands.AddEntry("start", StartServer);
            consoleCommands.AddEntry("running", IsServerRunning);
            consoleCommands.AddEntry("stop", StopServer);
            consoleCommands.AddEntry("exit", ShutDownServer);
            consoleCommands.AddEntry("quit", ShutDownServer);
            consoleCommands.AddEntry("debugnetwork", SetDebugNetwork);
            consoleCommands.AddEntry("adduser", AddUser);
            consoleCommands.AddEntry("hash", SetHash);
            consoleCommands.AddEntry("setgm", SetGMLevel);
            consoleCommands.AddEntry("logoffchars", LogoffCharacters);
            consoleCommands.AddEntry("setpass", SetPassword);
            return(true);
        }
示例#4
0
        /// <summary>
        /// </summary>
        /// <returns>
        /// </returns>
        private static bool InitializeConsoleCommands()
        {
            consoleCommands.Engine = "Zone";

            consoleCommands.AddEntry("start", StartServer);
            consoleCommands.AddEntry("startm", StartServerMultipleScriptDlls);
            consoleCommands.AddEntry("running", IsServerRunning);
            consoleCommands.AddEntry("ping", PingChatServer);

            consoleCommands.AddEntry("stop", StopServer);

            consoleCommands.AddEntry("exit", ShutDownServer);
            consoleCommands.AddEntry("quit", ShutDownServer);

            consoleCommands.AddEntry("check", CheckDatabase);
            consoleCommands.AddEntry("updatedb", CheckDatabase);

            consoleCommands.AddEntry("online", ShowOnlineCharacters);
            consoleCommands.AddEntry("ls", ListAvailableScripts);

            consoleCommands.AddEntry("debug", SetDebug);

            return(true);
        }