private void HandleServerStart() { SLVPlayers.Items.Clear(); MCCOut.Clear(); CIConsoleInput.ClearAutoCompletionHistory(); MCCOut.WriteOutput(MessageType.Info, "[GUI] Starting a new server"); }
/// <summary> /// Print output to the console /// </summary> /// <param name="text"></param> /// <param name="outputParseResult"></param> private void PrintOutput(string text, OutputParseResult outputParseResult) { MCCOut.WriteOutput(outputParseResult.Type, outputParseResult.Message); }
private void HandleServerStop() { SLVPlayers.Items.Clear(); CIConsoleInput.ClearAutoCompletionHistory(); MCCOut.WriteOutput(MessageType.Info, "[GUI] The server has stopped"); }