Coś się tworzy. Coś tam działa

This commit is contained in:
Christopher
2021-02-04 17:02:26 +01:00
parent 4481f695e2
commit e2e9112524
39 changed files with 15491 additions and 0 deletions
Binary file not shown.
+25
View File
@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30907.101
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServCreator", "ServCreator\ServCreator.csproj", "{99CE8C12-585C-46A0-A608-0170AC27E18C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{99CE8C12-585C-46A0-A608-0170AC27E18C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{99CE8C12-585C-46A0-A608-0170AC27E18C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{99CE8C12-585C-46A0-A608-0170AC27E18C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{99CE8C12-585C-46A0-A608-0170AC27E18C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6F69CA38-B96D-49B2-89CB-66CB8B5DC971}
EndGlobalSection
EndGlobal
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
+65
View File
@@ -0,0 +1,65 @@
namespace ServCreator
{
partial class ControlPanelForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlPanelForm));
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(12, 415);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(127, 23);
this.button1.TabIndex = 0;
this.button1.Text = "Edit properties";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// ControlPanelForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.button1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ControlPanelForm";
this.Text = "Control Panel - ServManager for Minecraft";
this.Load += new System.EventHandler(this.ControlPanelForm_Load);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
}
}
@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Newtonsoft.Json;
using System.IO;
namespace ServCreator
{
public partial class ControlPanelForm : Form
{
public string configFilePath;
public string config;
public string serverPath;
public string serverName;
public ControlPanelForm(string configFile)
{
InitializeComponent();
configFilePath = configFile;
}
private void button1_Click(object sender, EventArgs e)
{
if (File.Exists(serverPath + "\\server.properties"))
{
PropertiesEditorForm propertiesEditor = new PropertiesEditorForm(serverPath + "\\server.properties", serverName);
propertiesEditor.Show();
}
else
MessageBox.Show("File \"server.properties\" doesn't exist. Have you ever run this server?", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
private void ControlPanelForm_Load(object sender, EventArgs e)
{
StreamReader jsonToString = new StreamReader(configFilePath);
config = jsonToString.ReadToEnd();
Server server = JsonConvert.DeserializeObject<Server>(config);
serverPath = server.Path;
serverName = server.Name;
}
[JsonObject(MemberSerialization.OptIn)]
public class Server
{
[JsonProperty]
public string Name { get; set; }
[JsonProperty]
public string Path { get; set; }
[JsonProperty]
public string Version { get; set; }
[JsonProperty]
public string Engine { get; set; }
}
}
}
File diff suppressed because it is too large Load Diff
+346
View File
@@ -0,0 +1,346 @@
namespace ServCreator
{
partial class CreateForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CreateForm));
this.label1 = new System.Windows.Forms.Label();
this.serverEngineCB = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.serverVersionCB = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.selectBtn = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.serverNameTB = new System.Windows.Forms.TextBox();
this.argumentsTB = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.minRAM = new System.Windows.Forms.NumericUpDown();
this.maxRAM = new System.Windows.Forms.NumericUpDown();
this.label7 = new System.Windows.Forms.Label();
this.createBtn = new System.Windows.Forms.Button();
this.checkJavaBtn = new System.Windows.Forms.Button();
this.pathSelector = new System.Windows.Forms.FolderBrowserDialog();
this.serverPathTB = new System.Windows.Forms.TextBox();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
((System.ComponentModel.ISupportInitialize)(this.minRAM)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.maxRAM)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(91, 17);
this.label1.TabIndex = 0;
this.label1.Text = "Server Engine:";
//
// serverEngineCB
//
this.serverEngineCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.serverEngineCB.FormattingEnabled = true;
this.serverEngineCB.Items.AddRange(new object[] {
"vanilla",
"craftbukkit",
"spigot"});
this.serverEngineCB.Location = new System.Drawing.Point(12, 29);
this.serverEngineCB.Name = "serverEngineCB";
this.serverEngineCB.Size = new System.Drawing.Size(142, 25);
this.serverEngineCB.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(157, 9);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(54, 17);
this.label2.TabIndex = 2;
this.label2.Text = "Version:";
//
// serverVersionCB
//
this.serverVersionCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.serverVersionCB.FormattingEnabled = true;
this.serverVersionCB.Items.AddRange(new object[] {
"1.16.5",
"1.16.4",
"1.16.3",
"1.16.2",
"1.16.1",
"1.16",
"1.15.2",
"1.15.1",
"1.15",
"1.14.4",
"1.14.3",
"1.14.2",
"1.14.1",
"1.14",
"1.13.2",
"1.13.1",
"1.13",
"1.12.2",
"1.12.1",
"1.12",
"1.11.2",
"1.11.1",
"1.11",
"1.10.2",
"1.10.1",
"1.10",
"1.9.4",
"1.9.3",
"1.9.2",
"1.9.1",
"1.9",
"1.8.9",
"1.8.8",
"1.8.7",
"1.8.6",
"1.8.5",
"1.8.4",
"1.8.3",
"1.8.2",
"1.8.1",
"1.8",
"1.7.10",
"1.7.9",
"1.7.8",
"1.7.7",
"1.7.6",
"1.7.5",
"1.7.4",
"1.7.3",
"1.7.2",
"1.7.1",
"1.7",
"1.6.4",
"1.6.2",
"1.6.1",
"1.6"});
this.serverVersionCB.Location = new System.Drawing.Point(160, 29);
this.serverVersionCB.Name = "serverVersionCB";
this.serverVersionCB.Size = new System.Drawing.Size(214, 25);
this.serverVersionCB.TabIndex = 3;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(12, 57);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(77, 17);
this.label3.TabIndex = 4;
this.label3.Text = "Server Path:";
//
// selectBtn
//
this.selectBtn.ForeColor = System.Drawing.Color.Black;
this.selectBtn.Location = new System.Drawing.Point(274, 74);
this.selectBtn.Name = "selectBtn";
this.selectBtn.Size = new System.Drawing.Size(100, 28);
this.selectBtn.TabIndex = 6;
this.selectBtn.Text = "Select a path...";
this.selectBtn.UseVisualStyleBackColor = true;
this.selectBtn.Click += new System.EventHandler(this.selectPath);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(12, 105);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(258, 17);
this.label4.TabIndex = 7;
this.label4.Text = "Server Name (in ServManager and Folder):";
//
// serverNameTB
//
this.serverNameTB.Location = new System.Drawing.Point(12, 125);
this.serverNameTB.Name = "serverNameTB";
this.serverNameTB.Size = new System.Drawing.Size(362, 25);
this.serverNameTB.TabIndex = 8;
//
// argumentsTB
//
this.argumentsTB.Location = new System.Drawing.Point(12, 221);
this.argumentsTB.Name = "argumentsTB";
this.argumentsTB.Size = new System.Drawing.Size(362, 25);
this.argumentsTB.TabIndex = 9;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(12, 201);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(136, 17);
this.label5.TabIndex = 10;
this.label5.Text = "Additional arguments:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(12, 153);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(142, 17);
this.label6.TabIndex = 11;
this.label6.Text = "Minimum RAM (in MB):";
//
// minRAM
//
this.minRAM.Location = new System.Drawing.Point(12, 173);
this.minRAM.Maximum = new decimal(new int[] {
102400,
0,
0,
0});
this.minRAM.Name = "minRAM";
this.minRAM.Size = new System.Drawing.Size(177, 25);
this.minRAM.TabIndex = 12;
//
// maxRAM
//
this.maxRAM.Location = new System.Drawing.Point(197, 173);
this.maxRAM.Maximum = new decimal(new int[] {
102400,
0,
0,
0});
this.maxRAM.Name = "maxRAM";
this.maxRAM.Size = new System.Drawing.Size(177, 25);
this.maxRAM.TabIndex = 14;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(194, 153);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(145, 17);
this.label7.TabIndex = 13;
this.label7.Text = "Maximum RAM (in MB):";
//
// createBtn
//
this.createBtn.ForeColor = System.Drawing.Color.Black;
this.createBtn.Location = new System.Drawing.Point(310, 252);
this.createBtn.Name = "createBtn";
this.createBtn.Size = new System.Drawing.Size(64, 28);
this.createBtn.TabIndex = 15;
this.createBtn.Text = "Create";
this.createBtn.UseVisualStyleBackColor = true;
this.createBtn.Click += new System.EventHandler(this.createServer);
//
// checkJavaBtn
//
this.checkJavaBtn.ForeColor = System.Drawing.Color.Black;
this.checkJavaBtn.Location = new System.Drawing.Point(160, 252);
this.checkJavaBtn.Name = "checkJavaBtn";
this.checkJavaBtn.Size = new System.Drawing.Size(144, 28);
this.checkJavaBtn.TabIndex = 16;
this.checkJavaBtn.Text = "Check Java version";
this.checkJavaBtn.UseVisualStyleBackColor = true;
this.checkJavaBtn.Click += new System.EventHandler(this.checkJavaVersion);
//
// pathSelector
//
this.pathSelector.Description = "Select a path, where you want to have a server...";
//
// serverPathTB
//
this.serverPathTB.Location = new System.Drawing.Point(12, 77);
this.serverPathTB.Name = "serverPathTB";
this.serverPathTB.Size = new System.Drawing.Size(256, 25);
this.serverPathTB.TabIndex = 17;
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(12, 252);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(142, 28);
this.progressBar1.TabIndex = 18;
//
// CreateForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.ClientSize = new System.Drawing.Size(394, 301);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.serverPathTB);
this.Controls.Add(this.checkJavaBtn);
this.Controls.Add(this.createBtn);
this.Controls.Add(this.maxRAM);
this.Controls.Add(this.label7);
this.Controls.Add(this.minRAM);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.argumentsTB);
this.Controls.Add(this.serverNameTB);
this.Controls.Add(this.label4);
this.Controls.Add(this.selectBtn);
this.Controls.Add(this.label3);
this.Controls.Add(this.serverVersionCB);
this.Controls.Add(this.label2);
this.Controls.Add(this.serverEngineCB);
this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.ForeColor = System.Drawing.Color.White;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "CreateForm";
this.Text = "Server Creator - ServManager for Minecraft";
((System.ComponentModel.ISupportInitialize)(this.minRAM)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.maxRAM)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox serverEngineCB;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox serverVersionCB;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button selectBtn;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox serverNameTB;
private System.Windows.Forms.TextBox argumentsTB;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.NumericUpDown minRAM;
private System.Windows.Forms.NumericUpDown maxRAM;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Button createBtn;
private System.Windows.Forms.Button checkJavaBtn;
private System.Windows.Forms.FolderBrowserDialog pathSelector;
private System.Windows.Forms.TextBox serverPathTB;
private System.Windows.Forms.ProgressBar progressBar1;
}
}
+133
View File
@@ -0,0 +1,133 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using System.Net;
using Newtonsoft.Json;
namespace ServCreator
{
public partial class CreateForm : Form
{
public CreateForm()
{
InitializeComponent();
}
private void checkJavaVersion(object sender, EventArgs e)
{
Process checkJava = new Process
{
StartInfo = new ProcessStartInfo
{
FileName = "cmd.exe",
Arguments = "/c java -version",
UseShellExecute = false,
CreateNoWindow = true,
RedirectStandardError = true
}
};
checkJava.Start();
string version = checkJava.StandardError.ReadToEnd();
MessageBox.Show(version, "Java Version", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
private void createServer(object sender, EventArgs e)
{
if (serverEngineCB.Text != "" && serverNameTB.Text != "" && serverPathTB.Text != "" && serverVersionCB.Text != "" && minRAM.Value <= maxRAM.Value && maxRAM.Value >= minRAM.Value && minRAM.Value != 0)
{
// Pobieranie pliku serwerowego
progressBar1.Visible = true;
WebClient downloader = new WebClient();
downloader.DownloadProgressChanged += (s, v) => { progressBar1.Value = v.ProgressPercentage; };
downloader.DownloadFileCompleted += (s, v) => { progressBar1.Visible = false; };
downloader.DownloadFileAsync(new Uri("https://file.siemv.pl/gry/minecraft/server/" + serverVersionCB.Text + "/" + serverEngineCB.Text + "/" + "server.jar"), serverPathTB.Text + "\\server.jar");
// Tworzenie pliku EULA
StreamWriter eulaWriter = new StreamWriter(serverPathTB.Text + "\\eula.txt");
eulaWriter.Write("#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula)." + Environment.NewLine + "#" + DateTime.Now + Environment.NewLine + "eula=true");
eulaWriter.Close();
// Tworzenie pliku startowego serwera
StreamWriter startWriter = new StreamWriter(serverPathTB.Text + "\\start.cmd");
startWriter.Write("@echo off" + Environment.NewLine + "java -Xms" + minRAM.Value + "M -Xmx" + maxRAM.Value + "M " + argumentsTB.Text + " -jar server.jar nogui");
startWriter.Close();
// Tworzenie pliku dla ServManager
Server server = new Server();
server.Name = serverNameTB.Text;
server.Path = serverPathTB.Text;
server.Engine = serverEngineCB.Text;
server.Version = serverVersionCB.Text;
StreamWriter configWriter = new StreamWriter(serverPathTB.Text + "\\servmanager.json");
configWriter.Write(JsonConvert.SerializeObject(server));
configWriter.Close();
// Dodawanie wartości do pliku
if(File.Exists(Application.StartupPath + "\\servers.json"))
{
StreamReader serversReader = new StreamReader(Application.StartupPath + "\\servers.json");
string serversFile = serversReader.ReadToEnd();
var servers = JsonConvert.DeserializeObject<List<Server>>(serversFile);
servers.Add(new Server());
var addedServer = JsonConvert.SerializeObject(servers);
StreamWriter serversWriter = new StreamWriter(Application.StartupPath + "\\servers.json");
serversWriter.Write(addedServer);
serversWriter.Close();
}
else
{
}
MessageBox.Show("Serwer " + serverNameTB.Text + " został utworzony w folderze: " + serverPathTB.Text + ". Za chwilę zostaniesz przekierowany do panelu kontrolnego.");
ControlPanelForm controlPanel = new ControlPanelForm(serverPathTB.Text + "\\servmanager.json");
controlPanel.Show();
this.Close();
}
else
MessageBox.Show("Nie wypełniono wymaganych pól! Uzupełnij je i dopiero wtedy możesz utworzyć serwer");
}
private void selectPath(object sender, EventArgs e)
{
if (pathSelector.ShowDialog() == DialogResult.OK)
serverPathTB.Text = pathSelector.SelectedPath;
}
public class Servers
{
[JsonProperty]
public Server server { get; set; }
}
[JsonObject(MemberSerialization.OptIn)]
public class Server
{
[JsonProperty]
public string Name { get; set; }
[JsonProperty]
public string Path { get; set; }
[JsonProperty]
public string Version { get; set; }
[JsonProperty]
public string Engine { get; set; }
}
}
}
File diff suppressed because it is too large Load Diff
+123
View File
@@ -0,0 +1,123 @@
namespace ServCreator
{
partial class Form1
{
/// <summary>
/// Wymagana zmienna projektanta.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Wyczyść wszystkie używane zasoby.
/// </summary>
/// <param name="disposing">prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Kod generowany przez Projektanta formularzy systemu Windows
/// <summary>
/// Metoda wymagana do obsługi projektanta — nie należy modyfikować
/// jej zawartości w edytorze kodu.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.label1 = new System.Windows.Forms.Label();
this.serverList = new System.Windows.Forms.ComboBox();
this.createBtn = new System.Windows.Forms.Button();
this.selectBtn = new System.Windows.Forms.Button();
this.loadBtn = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(166, 17);
this.label1.TabIndex = 0;
this.label1.Text = "Select a server, to manage:";
//
// serverList
//
this.serverList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.serverList.FormattingEnabled = true;
this.serverList.Items.AddRange(new object[] {
"Hmm... There is no server. Create a new one."});
this.serverList.Location = new System.Drawing.Point(12, 33);
this.serverList.Name = "serverList";
this.serverList.Size = new System.Drawing.Size(312, 25);
this.serverList.TabIndex = 1;
//
// createBtn
//
this.createBtn.ForeColor = System.Drawing.Color.Black;
this.createBtn.Location = new System.Drawing.Point(190, 64);
this.createBtn.Name = "createBtn";
this.createBtn.Size = new System.Drawing.Size(64, 25);
this.createBtn.TabIndex = 2;
this.createBtn.Text = "Create";
this.createBtn.UseVisualStyleBackColor = true;
this.createBtn.Click += new System.EventHandler(this.createBtn_Click);
//
// selectBtn
//
this.selectBtn.ForeColor = System.Drawing.Color.Black;
this.selectBtn.Location = new System.Drawing.Point(260, 64);
this.selectBtn.Name = "selectBtn";
this.selectBtn.Size = new System.Drawing.Size(64, 25);
this.selectBtn.TabIndex = 3;
this.selectBtn.Text = "Select";
this.selectBtn.UseVisualStyleBackColor = true;
//
// loadBtn
//
this.loadBtn.ForeColor = System.Drawing.Color.Black;
this.loadBtn.Location = new System.Drawing.Point(120, 64);
this.loadBtn.Name = "loadBtn";
this.loadBtn.Size = new System.Drawing.Size(64, 25);
this.loadBtn.TabIndex = 4;
this.loadBtn.Text = "Load";
this.loadBtn.UseVisualStyleBackColor = true;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.ClientSize = new System.Drawing.Size(336, 104);
this.Controls.Add(this.loadBtn);
this.Controls.Add(this.selectBtn);
this.Controls.Add(this.createBtn);
this.Controls.Add(this.serverList);
this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.ForeColor = System.Drawing.Color.White;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "Form1";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ServManager for Minecraft";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox serverList;
private System.Windows.Forms.Button createBtn;
private System.Windows.Forms.Button selectBtn;
private System.Windows.Forms.Button loadBtn;
}
}
+26
View File
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ServCreator
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void createBtn_Click(object sender, EventArgs e)
{
CreateForm createFrm = new CreateForm();
createFrm.Show();
}
}
}
File diff suppressed because it is too large Load Diff
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ServCreator
{
static class Program
{
/// <summary>
/// Główny punkt wejścia dla aplikacji.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Ogólne informacje o zestawie są kontrolowane poprzez następujący
// zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje
// powiązane z zestawem.
[assembly: AssemblyTitle("ServCreator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ServCreator")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Ustawienie elementu ComVisible na wartość false sprawia, że typy w tym zestawie są niewidoczne
// dla składników COM. Jeśli potrzebny jest dostęp do typu w tym zestawie z
// COM, ustaw wartość true dla atrybutu ComVisible tego typu.
[assembly: ComVisible(false)]
// Następujący identyfikator GUID jest identyfikatorem biblioteki typów w przypadku udostępnienia tego projektu w modelu COM
[assembly: Guid("99ce8c12-585c-46a0-a608-0170ac27e18c")]
// Informacje o wersji zestawu zawierają następujące cztery wartości:
//
// Wersja główna
// Wersja pomocnicza
// Numer kompilacji
// Poprawka
//
// Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki
// przy użyciu symbolu „*”, tak jak pokazano poniżej:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
+70
View File
@@ -0,0 +1,70 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
// Wersja środowiska uruchomieniowego: 4.0.30319.42000
//
// Modyfikacje tego pliku mogą spowodować niewłaściwe zachowanie i zostaną utracone
// w przypadku ponownego wygenerowania kodu.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ServCreator.Properties
{
/// <summary>
/// Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itd.
/// </summary>
// Ta klasa została automatycznie wygenerowana za pomocą klasy StronglyTypedResourceBuilder
// przez narzędzie, takie jak ResGen lub Visual Studio.
// Aby dodać lub usunąć składowe, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen
// z opcją /str lub ponownie skompiluj projekt programu VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Zwraca buforowane wystąpienie składnika ResourceManager używane przez tę klasę.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ServCreator.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich
/// przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
+29
View File
@@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ServCreator.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
+160
View File
@@ -0,0 +1,160 @@
namespace ServCreator
{
partial class PropertiesEditorForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertiesEditorForm));
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.panel3.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(711, 45);
this.label1.TabIndex = 0;
this.label1.Text = " You\'re editing properties for {SERVER_NAME}";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.panel1.Location = new System.Drawing.Point(0, 45);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(12, 365);
this.panel1.TabIndex = 1;
//
// panel2
//
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
this.panel2.Location = new System.Drawing.Point(702, 45);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(9, 365);
this.panel2.TabIndex = 2;
//
// panel3
//
this.panel3.Controls.Add(this.button2);
this.panel3.Controls.Add(this.button1);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(0, 410);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(711, 40);
this.panel3.TabIndex = 3;
//
// richTextBox1
//
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Location = new System.Drawing.Point(12, 45);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(690, 365);
this.richTextBox1.TabIndex = 4;
this.richTextBox1.Text = "";
//
// button1
//
this.button1.Location = new System.Drawing.Point(624, 6);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "Save";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(521, 6);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(97, 23);
this.button2.TabIndex = 1;
this.button2.Text = "Save and Quit";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.copyToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(103, 26);
//
// copyToolStripMenuItem
//
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
this.copyToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
this.copyToolStripMenuItem.Text = "Copy";
//
// PropertiesEditorForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
this.ClientSize = new System.Drawing.Size(711, 450);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.label1);
this.Controls.Add(this.panel3);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "PropertiesEditorForm";
this.Text = "Server Properties Editor - ServManager";
this.Load += new System.EventHandler(this.PropertiesEditorForm_Load);
this.panel3.ResumeLayout(false);
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
}
}
@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace ServCreator
{
public partial class PropertiesEditorForm : Form
{
string pathToEdit;
public PropertiesEditorForm(string path, string name)
{
InitializeComponent();
pathToEdit = path;
label1.Text = " You're editing properties for " + name;
}
private void PropertiesEditorForm_Load(object sender, EventArgs e)
{
StreamReader streamReader = new StreamReader(pathToEdit);
richTextBox1.Text = streamReader.ReadToEnd();
streamReader.Close();
}
void saveIt()
{
StreamWriter streamWriter = new StreamWriter(pathToEdit);
streamWriter.Write(richTextBox1.Text);
streamWriter.Close();
}
private void button1_Click(object sender, EventArgs e) { saveIt(); }
private void button2_Click(object sender, EventArgs e) { saveIt(); this.Close(); }
}
}
File diff suppressed because it is too large Load Diff
+111
View File
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{99CE8C12-585C-46A0-A608-0170AC27E18C}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>ServCreator</RootNamespace>
<AssemblyName>ServCreator</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ControlPanelForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ControlPanelForm.Designer.cs">
<DependentUpon>ControlPanelForm.cs</DependentUpon>
</Compile>
<Compile Include="CreateForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CreateForm.Designer.cs">
<DependentUpon>CreateForm.cs</DependentUpon>
</Compile>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="PropertiesEditorForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PropertiesEditorForm.Designer.cs">
<DependentUpon>PropertiesEditorForm.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="ControlPanelForm.resx">
<DependentUpon>ControlPanelForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="CreateForm.resx">
<DependentUpon>CreateForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PropertiesEditorForm.resx">
<DependentUpon>PropertiesEditorForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Binary file not shown.
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
Binary file not shown.
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
@@ -0,0 +1 @@
9e60d19c82c16233e112cd179352c5fc8e1581ad
@@ -0,0 +1,13 @@
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServCreator.exe.config
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServCreator.exe
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServCreator.pdb
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.csprojAssemblyReference.cache
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.Form1.resources
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.Properties.Resources.resources
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.csproj.GenerateResource.cache
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.csproj.CoreCompileInputs.cache
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.exe
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.pdb
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.CreateForm.resources
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\Newtonsoft.Json.dll
D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.csproj.CopyComplete
Binary file not shown.
Binary file not shown.