diff --git a/ServCreator/.vs/ServCreator/v16/.suo b/ServCreator/.vs/ServCreator/v16/.suo index c6f5a05..9d2203a 100644 Binary files a/ServCreator/.vs/ServCreator/v16/.suo and b/ServCreator/.vs/ServCreator/v16/.suo differ diff --git a/ServCreator/ServCreator/App.config b/ServCreator/ServCreator/App.config index bf38180..8c0de95 100644 --- a/ServCreator/ServCreator/App.config +++ b/ServCreator/ServCreator/App.config @@ -1,24 +1,24 @@ - + - -
+ +
- + - + - + - + - \ No newline at end of file + diff --git a/ServCreator/ServCreator/ControlPanelForm.Designer.cs b/ServCreator/ServCreator/ControlPanelForm.Designer.cs index 29ba49c..1d9cabc 100644 --- a/ServCreator/ServCreator/ControlPanelForm.Designer.cs +++ b/ServCreator/ServCreator/ControlPanelForm.Designer.cs @@ -70,7 +70,7 @@ namespace ServCreator this.outputText.Dock = System.Windows.Forms.DockStyle.Fill; this.outputText.Location = new System.Drawing.Point(179, 12); this.outputText.Name = "outputText"; - this.outputText.Size = new System.Drawing.Size(609, 365); + this.outputText.Size = new System.Drawing.Size(609, 458); this.outputText.TabIndex = 1; this.outputText.Text = ""; this.outputText.TextChanged += new System.EventHandler(this.outputChanged); @@ -82,7 +82,6 @@ namespace ServCreator this.commandInput.Name = "commandInput"; this.commandInput.Size = new System.Drawing.Size(540, 20); this.commandInput.TabIndex = 2; - this.commandInput.TextChanged += new System.EventHandler(this.commandInput_TextChanged); this.commandInput.KeyUp += new System.Windows.Forms.KeyEventHandler(this.submitCommand); // // submit @@ -133,7 +132,7 @@ namespace ServCreator this.servMgmtBox.Controls.Add(this.killBtn); this.servMgmtBox.Controls.Add(this.editProperties); this.servMgmtBox.ForeColor = System.Drawing.Color.White; - this.servMgmtBox.Location = new System.Drawing.Point(12, 179); + this.servMgmtBox.Location = new System.Drawing.Point(12, 272); this.servMgmtBox.Name = "servMgmtBox"; this.servMgmtBox.Size = new System.Drawing.Size(157, 224); this.servMgmtBox.TabIndex = 6; @@ -196,7 +195,7 @@ namespace ServCreator this.serverLabel.ForeColor = System.Drawing.Color.White; this.serverLabel.Location = new System.Drawing.Point(12, 12); this.serverLabel.Name = "serverLabel"; - this.serverLabel.Size = new System.Drawing.Size(157, 94); + this.serverLabel.Size = new System.Drawing.Size(157, 257); this.serverLabel.TabIndex = 8; // // panel1 @@ -206,7 +205,7 @@ namespace ServCreator this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(179, 415); + this.panel1.Size = new System.Drawing.Size(179, 508); this.panel1.TabIndex = 10; // // panel2 @@ -220,7 +219,7 @@ namespace ServCreator // panel3 // this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel3.Location = new System.Drawing.Point(179, 403); + this.panel3.Location = new System.Drawing.Point(179, 496); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(621, 12); this.panel3.TabIndex = 12; @@ -230,7 +229,7 @@ namespace ServCreator this.panel4.Dock = System.Windows.Forms.DockStyle.Right; this.panel4.Location = new System.Drawing.Point(788, 12); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(12, 391); + this.panel4.Size = new System.Drawing.Size(12, 484); this.panel4.TabIndex = 13; // // panel5 @@ -238,7 +237,7 @@ namespace ServCreator this.panel5.Controls.Add(this.commandInput); this.panel5.Controls.Add(this.submit); this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel5.Location = new System.Drawing.Point(179, 383); + this.panel5.Location = new System.Drawing.Point(179, 476); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(609, 20); this.panel5.TabIndex = 14; @@ -246,7 +245,7 @@ namespace ServCreator // panel6 // this.panel6.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel6.Location = new System.Drawing.Point(179, 377); + this.panel6.Location = new System.Drawing.Point(179, 470); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(609, 6); this.panel6.TabIndex = 15; @@ -256,7 +255,7 @@ namespace ServCreator 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, 415); + this.ClientSize = new System.Drawing.Size(800, 508); this.Controls.Add(this.outputText); this.Controls.Add(this.panel6); this.Controls.Add(this.panel5); @@ -264,7 +263,9 @@ namespace ServCreator this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); + this.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MinimumSize = new System.Drawing.Size(816, 547); this.Name = "ControlPanelForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Control Panel - ServManager for Minecraft"; diff --git a/ServCreator/ServCreator/ControlPanelForm.cs b/ServCreator/ServCreator/ControlPanelForm.cs index ec356fa..c97520e 100644 --- a/ServCreator/ServCreator/ControlPanelForm.cs +++ b/ServCreator/ServCreator/ControlPanelForm.cs @@ -17,6 +17,8 @@ namespace ServCreator public string serverPath; public string serverName; + string ip; + Server server; ServerManagementForm easyManagementFrm; public ControlPanelForm(string configFile) @@ -38,13 +40,19 @@ namespace ServCreator private void ControlPanelForm_Load(object sender, EventArgs e) { - string ip = null; - - GetFreshConfig(); - Form1 frm1 = new Form1(); frm1.Visible = false; + GetFreshConfig(); + } + + public void GetFreshConfig() + { + StreamReader jsonToString = new StreamReader(configFilePath); + config = jsonToString.ReadToEnd(); + server = JsonConvert.DeserializeObject(config); + jsonToString.Close(); + serverPath = server.Path; serverName = server.Name; @@ -62,21 +70,17 @@ namespace ServCreator } } - serverLabel.Text = serverName + Environment.NewLine + ip; streamReader.Close(); } + var n = Environment.NewLine; + + serverLabel.Text = "Name: " + n + serverName + n + n + "IP Address: " + n + ip + n + n + "Engine: " + n + server.Engine + n + n + "Version: " + n + server.Version; + if (server.Engine != "vanilla") pluginsBtn.Visible = true; } - public void GetFreshConfig() - { - StreamReader jsonToString = new StreamReader(configFilePath); - config = jsonToString.ReadToEnd(); - server = JsonConvert.DeserializeObject(config); - } - [JsonObject(MemberSerialization.OptIn)] public class Server { @@ -96,7 +100,7 @@ namespace ServCreator private void button3_Click(object sender, EventArgs e) { - outputText.Text = "Loading server. Please wait..."; + outputText.Text = "Loading server. Please wait... Sometimes you have to wait 20 seconds to start, when you're using an older version of server engine. (error about outdated engine)" + Environment.NewLine; enableBoxes(true); process = new Process { @@ -135,12 +139,15 @@ namespace ServCreator }); thread.Start(); - easyManagementFrm = new ServerManagementForm(process); } private void ControlPanelForm_FormClosing(object sender, FormClosingEventArgs e) { Application.Exit(); } private void submit_Click(object sender, EventArgs e) { process.StandardInput.WriteLine(commandInput.Text); commandInput.Text = ""; commandInput.Focus(); } - private void easyManagement(object sender, EventArgs e) { easyManagementFrm.Show(); } + private void easyManagement(object sender, EventArgs e) + { + easyManagementFrm = new ServerManagementForm(process); + easyManagementFrm.Show(); + } private void outputChanged(object sender, EventArgs e) { outputText.SelectionStart = outputText.Text.Length; outputText.ScrollToCaret(); } private void submitCommand(object sender, KeyEventArgs e) @@ -166,7 +173,6 @@ namespace ServCreator process.StandardInput.WriteLine("stop"); enableBoxes(false); outputText.Text += "Server has been stoped."; - easyManagementFrm.Close(); } private void killBtn_Click(object sender, EventArgs e) @@ -174,12 +180,6 @@ namespace ServCreator Process.Start("cmd.exe", "/c taskkill /f /im java.exe"); enableBoxes(false); outputText.Text += "Server has been killed."; - easyManagementFrm.Close(); - } - - private void commandInput_TextChanged(object sender, EventArgs e) - { - } private void pluginsBtn_Click(object sender, EventArgs e) @@ -192,7 +192,8 @@ namespace ServCreator UpgradeServerEngineForm upgrader = new UpgradeServerEngineForm(configFilePath); upgrader.controlPanel = this; upgrader.Show(); - this.Enabled = false; + + this.Visible = false; } } } diff --git a/ServCreator/ServCreator/CreateForm.Designer.cs b/ServCreator/ServCreator/CreateForm.Designer.cs index a1dbd00..a90c810 100644 --- a/ServCreator/ServCreator/CreateForm.Designer.cs +++ b/ServCreator/ServCreator/CreateForm.Designer.cs @@ -120,9 +120,9 @@ namespace ServCreator // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(6, 21); + this.label1.Location = new System.Drawing.Point(6, 19); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(96, 17); + this.label1.Size = new System.Drawing.Size(112, 15); this.label1.TabIndex = 0; this.label1.Text = "Server Engine*:"; // @@ -130,17 +130,17 @@ namespace ServCreator // this.serverEngineCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.serverEngineCB.FormattingEnabled = true; - this.serverEngineCB.Location = new System.Drawing.Point(6, 41); + this.serverEngineCB.Location = new System.Drawing.Point(6, 36); this.serverEngineCB.Name = "serverEngineCB"; - this.serverEngineCB.Size = new System.Drawing.Size(142, 25); + this.serverEngineCB.Size = new System.Drawing.Size(142, 23); this.serverEngineCB.TabIndex = 1; // // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(151, 21); + this.label2.Location = new System.Drawing.Point(151, 19); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(59, 17); + this.label2.Size = new System.Drawing.Size(70, 15); this.label2.TabIndex = 2; this.label2.Text = "Version*:"; // @@ -150,26 +150,26 @@ namespace ServCreator this.serverVersionCB.FormattingEnabled = true; this.serverVersionCB.Items.AddRange(new object[] { ""}); - this.serverVersionCB.Location = new System.Drawing.Point(154, 41); + this.serverVersionCB.Location = new System.Drawing.Point(154, 36); this.serverVersionCB.Name = "serverVersionCB"; - this.serverVersionCB.Size = new System.Drawing.Size(214, 25); + this.serverVersionCB.Size = new System.Drawing.Size(214, 23); this.serverVersionCB.TabIndex = 3; // // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(6, 69); + this.label3.Location = new System.Drawing.Point(6, 61); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(82, 17); + this.label3.Size = new System.Drawing.Size(98, 15); this.label3.TabIndex = 4; this.label3.Text = "Server Path*:"; // // selectBtn // this.selectBtn.ForeColor = System.Drawing.Color.Black; - this.selectBtn.Location = new System.Drawing.Point(268, 86); + this.selectBtn.Location = new System.Drawing.Point(268, 76); this.selectBtn.Name = "selectBtn"; - this.selectBtn.Size = new System.Drawing.Size(100, 28); + this.selectBtn.Size = new System.Drawing.Size(100, 25); this.selectBtn.TabIndex = 6; this.selectBtn.Text = "Select a path..."; this.selectBtn.UseVisualStyleBackColor = true; @@ -178,55 +178,56 @@ namespace ServCreator // label4 // this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(6, 117); + this.label4.Location = new System.Drawing.Point(6, 103); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(196, 17); + this.label4.Size = new System.Drawing.Size(217, 15); this.label4.TabIndex = 7; this.label4.Text = "Server Name (in ServManager)*:"; // // serverNameTB // - this.serverNameTB.Location = new System.Drawing.Point(6, 137); + this.serverNameTB.Location = new System.Drawing.Point(6, 121); + this.serverNameTB.MaxLength = 32; this.serverNameTB.Name = "serverNameTB"; - this.serverNameTB.Size = new System.Drawing.Size(362, 25); + this.serverNameTB.Size = new System.Drawing.Size(362, 23); this.serverNameTB.TabIndex = 8; - this.serverNameTB.Text = "New Server"; + this.serverNameTB.Text = "My New Minecraft Server"; // // argumentsTB // - this.argumentsTB.Location = new System.Drawing.Point(6, 233); + this.argumentsTB.Location = new System.Drawing.Point(6, 206); this.argumentsTB.Name = "argumentsTB"; - this.argumentsTB.Size = new System.Drawing.Size(362, 25); + this.argumentsTB.Size = new System.Drawing.Size(362, 23); this.argumentsTB.TabIndex = 9; // // label5 // this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(6, 213); + this.label5.Location = new System.Drawing.Point(6, 188); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(136, 17); + this.label5.Size = new System.Drawing.Size(154, 15); this.label5.TabIndex = 10; this.label5.Text = "Additional arguments:"; // // label6 // this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(6, 165); + this.label6.Location = new System.Drawing.Point(6, 146); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(147, 17); + this.label6.Size = new System.Drawing.Size(154, 15); this.label6.TabIndex = 11; this.label6.Text = "Minimum RAM (in MB)*:"; // // minRAM // - this.minRAM.Location = new System.Drawing.Point(6, 185); + this.minRAM.Location = new System.Drawing.Point(6, 163); 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.Size = new System.Drawing.Size(177, 23); this.minRAM.TabIndex = 12; this.minRAM.Value = new decimal(new int[] { 2048, @@ -236,14 +237,14 @@ namespace ServCreator // // maxRAM // - this.maxRAM.Location = new System.Drawing.Point(191, 185); + this.maxRAM.Location = new System.Drawing.Point(191, 163); 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.Size = new System.Drawing.Size(177, 23); this.maxRAM.TabIndex = 14; this.maxRAM.Value = new decimal(new int[] { 2048, @@ -254,18 +255,18 @@ namespace ServCreator // label7 // this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(188, 165); + this.label7.Location = new System.Drawing.Point(188, 146); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(150, 17); + this.label7.Size = new System.Drawing.Size(154, 15); 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(917, 398); + this.createBtn.Location = new System.Drawing.Point(917, 351); this.createBtn.Name = "createBtn"; - this.createBtn.Size = new System.Drawing.Size(64, 28); + this.createBtn.Size = new System.Drawing.Size(64, 25); this.createBtn.TabIndex = 15; this.createBtn.Text = "Create"; this.createBtn.UseVisualStyleBackColor = true; @@ -274,9 +275,9 @@ namespace ServCreator // checkJavaBtn // this.checkJavaBtn.ForeColor = System.Drawing.Color.Black; - this.checkJavaBtn.Location = new System.Drawing.Point(767, 398); + this.checkJavaBtn.Location = new System.Drawing.Point(767, 351); this.checkJavaBtn.Name = "checkJavaBtn"; - this.checkJavaBtn.Size = new System.Drawing.Size(144, 28); + this.checkJavaBtn.Size = new System.Drawing.Size(144, 25); this.checkJavaBtn.TabIndex = 16; this.checkJavaBtn.Text = "Check Java version"; this.checkJavaBtn.UseVisualStyleBackColor = true; @@ -288,16 +289,16 @@ namespace ServCreator // // serverPathTB // - this.serverPathTB.Location = new System.Drawing.Point(6, 89); + this.serverPathTB.Location = new System.Drawing.Point(6, 79); this.serverPathTB.Name = "serverPathTB"; - this.serverPathTB.Size = new System.Drawing.Size(256, 25); + this.serverPathTB.Size = new System.Drawing.Size(256, 23); this.serverPathTB.TabIndex = 17; // // progressBar1 // - this.progressBar1.Location = new System.Drawing.Point(600, 398); + this.progressBar1.Location = new System.Drawing.Point(600, 351); this.progressBar1.Name = "progressBar1"; - this.progressBar1.Size = new System.Drawing.Size(161, 28); + this.progressBar1.Size = new System.Drawing.Size(161, 25); this.progressBar1.TabIndex = 18; this.progressBar1.Visible = false; // @@ -319,9 +320,9 @@ namespace ServCreator this.groupBox1.Controls.Add(this.argumentsTB); this.groupBox1.Controls.Add(this.label5); this.groupBox1.ForeColor = System.Drawing.Color.White; - this.groupBox1.Location = new System.Drawing.Point(600, 12); + this.groupBox1.Location = new System.Drawing.Point(600, 11); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(377, 272); + this.groupBox1.Size = new System.Drawing.Size(377, 240); this.groupBox1.TabIndex = 19; this.groupBox1.TabStop = false; this.groupBox1.Text = "Server"; @@ -331,7 +332,7 @@ namespace ServCreator this.linkLabel1.AutoSize = true; this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.linkLabel1.LinkColor = System.Drawing.Color.White; - this.linkLabel1.Location = new System.Drawing.Point(346, 313); + this.linkLabel1.Location = new System.Drawing.Point(366, 274); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(88, 13); this.linkLabel1.TabIndex = 71; @@ -340,27 +341,27 @@ namespace ServCreator // // motd // - this.motd.Location = new System.Drawing.Point(170, 329); + this.motd.Location = new System.Drawing.Point(170, 290); this.motd.Name = "motd"; - this.motd.Size = new System.Drawing.Size(403, 73); + this.motd.Size = new System.Drawing.Size(403, 65); this.motd.TabIndex = 70; this.motd.Text = "A Minecraft Server"; // // label12 // this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(170, 309); + this.label12.Location = new System.Drawing.Point(170, 273); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(171, 17); + this.label12.Size = new System.Drawing.Size(189, 15); this.label12.TabIndex = 69; this.label12.Text = "Message of the Day (motd):"; // // onlineMode // this.onlineMode.AutoSize = true; - this.onlineMode.Location = new System.Drawing.Point(6, 159); + this.onlineMode.Location = new System.Drawing.Point(94, 141); this.onlineMode.Name = "onlineMode"; - this.onlineMode.Size = new System.Drawing.Size(104, 21); + this.onlineMode.Size = new System.Drawing.Size(103, 19); this.onlineMode.TabIndex = 68; this.onlineMode.Text = "Online-Mode"; this.onlineMode.UseVisualStyleBackColor = true; @@ -370,9 +371,9 @@ namespace ServCreator this.generateStructures.AutoSize = true; this.generateStructures.Checked = true; this.generateStructures.CheckState = System.Windows.Forms.CheckState.Checked; - this.generateStructures.Location = new System.Drawing.Point(6, 132); + this.generateStructures.Location = new System.Drawing.Point(6, 116); this.generateStructures.Name = "generateStructures"; - this.generateStructures.Size = new System.Drawing.Size(142, 21); + this.generateStructures.Size = new System.Drawing.Size(159, 19); this.generateStructures.TabIndex = 67; this.generateStructures.Text = "Generate Structures"; this.generateStructures.UseVisualStyleBackColor = true; @@ -380,9 +381,9 @@ namespace ServCreator // whiteList // this.whiteList.AutoSize = true; - this.whiteList.Location = new System.Drawing.Point(6, 213); + this.whiteList.Location = new System.Drawing.Point(108, 191); this.whiteList.Name = "whiteList"; - this.whiteList.Size = new System.Drawing.Size(81, 21); + this.whiteList.Size = new System.Drawing.Size(96, 19); this.whiteList.TabIndex = 66; this.whiteList.Text = "White-list"; this.whiteList.UseVisualStyleBackColor = true; @@ -392,23 +393,23 @@ namespace ServCreator this.spawnAnimals.AutoSize = true; this.spawnAnimals.Checked = true; this.spawnAnimals.CheckState = System.Windows.Forms.CheckState.Checked; - this.spawnAnimals.Location = new System.Drawing.Point(119, 159); + this.spawnAnimals.Location = new System.Drawing.Point(6, 166); this.spawnAnimals.Name = "spawnAnimals"; - this.spawnAnimals.Size = new System.Drawing.Size(114, 21); + this.spawnAnimals.Size = new System.Drawing.Size(117, 19); this.spawnAnimals.TabIndex = 65; this.spawnAnimals.Text = "Spawn Animals"; this.spawnAnimals.UseVisualStyleBackColor = true; // // viewDistance // - this.viewDistance.Location = new System.Drawing.Point(9, 185); + this.viewDistance.Location = new System.Drawing.Point(9, 163); this.viewDistance.Maximum = new decimal(new int[] { 64, 0, 0, 0}); this.viewDistance.Name = "viewDistance"; - this.viewDistance.Size = new System.Drawing.Size(155, 25); + this.viewDistance.Size = new System.Drawing.Size(155, 23); this.viewDistance.TabIndex = 64; this.viewDistance.Value = new decimal(new int[] { 10, @@ -419,35 +420,35 @@ namespace ServCreator // label11 // this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(6, 165); + this.label11.Location = new System.Drawing.Point(6, 146); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(90, 17); + this.label11.Size = new System.Drawing.Size(105, 15); this.label11.TabIndex = 63; this.label11.Text = "View distance:"; // // levelName // - this.levelName.Location = new System.Drawing.Point(9, 137); + this.levelName.Location = new System.Drawing.Point(9, 121); this.levelName.Name = "levelName"; - this.levelName.Size = new System.Drawing.Size(155, 25); + this.levelName.Size = new System.Drawing.Size(155, 23); this.levelName.TabIndex = 62; this.levelName.Text = "world"; // // label10 // this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(6, 117); + this.label10.Location = new System.Drawing.Point(6, 103); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(79, 17); + this.label10.Size = new System.Drawing.Size(84, 15); this.label10.TabIndex = 61; this.label10.Text = "Level Name:"; // // allowFlight // this.allowFlight.AutoSize = true; - this.allowFlight.Location = new System.Drawing.Point(6, 24); + this.allowFlight.Location = new System.Drawing.Point(6, 21); this.allowFlight.Name = "allowFlight"; - this.allowFlight.Size = new System.Drawing.Size(93, 21); + this.allowFlight.Size = new System.Drawing.Size(110, 19); this.allowFlight.TabIndex = 60; this.allowFlight.Text = "Allow Flight"; this.allowFlight.UseVisualStyleBackColor = true; @@ -457,40 +458,40 @@ namespace ServCreator this.spawnNpcs.AutoSize = true; this.spawnNpcs.Checked = true; this.spawnNpcs.CheckState = System.Windows.Forms.CheckState.Checked; - this.spawnNpcs.Location = new System.Drawing.Point(139, 186); + this.spawnNpcs.Location = new System.Drawing.Point(6, 191); this.spawnNpcs.Name = "spawnNpcs"; - this.spawnNpcs.Size = new System.Drawing.Size(100, 21); + this.spawnNpcs.Size = new System.Drawing.Size(96, 19); this.spawnNpcs.TabIndex = 59; this.spawnNpcs.Text = "Spawn NPCs"; this.spawnNpcs.UseVisualStyleBackColor = true; // // serverIp // - this.serverIp.Location = new System.Drawing.Point(173, 185); + this.serverIp.Location = new System.Drawing.Point(173, 163); this.serverIp.MaxLength = 15; this.serverIp.Name = "serverIp"; - this.serverIp.Size = new System.Drawing.Size(145, 25); + this.serverIp.Size = new System.Drawing.Size(145, 23); this.serverIp.TabIndex = 58; // // label9 // this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(170, 165); + this.label9.Location = new System.Drawing.Point(170, 146); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(62, 17); + this.label9.Size = new System.Drawing.Size(77, 15); this.label9.TabIndex = 57; this.label9.Text = "Server IP:"; // // serverPort // - this.serverPort.Location = new System.Drawing.Point(173, 137); + this.serverPort.Location = new System.Drawing.Point(173, 121); this.serverPort.Maximum = new decimal(new int[] { 69420, 0, 0, 0}); this.serverPort.Name = "serverPort"; - this.serverPort.Size = new System.Drawing.Size(145, 25); + this.serverPort.Size = new System.Drawing.Size(145, 23); this.serverPort.TabIndex = 56; this.serverPort.Value = new decimal(new int[] { 25565, @@ -501,22 +502,22 @@ namespace ServCreator // label8 // this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(170, 117); + this.label8.Location = new System.Drawing.Point(170, 103); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(76, 17); + this.label8.Size = new System.Drawing.Size(91, 15); this.label8.TabIndex = 55; this.label8.Text = "Server Port:"; // // maxWorldSize // - this.maxWorldSize.Location = new System.Drawing.Point(173, 89); + this.maxWorldSize.Location = new System.Drawing.Point(173, 79); this.maxWorldSize.Maximum = new decimal(new int[] { 1410065408, 2, 0, 0}); this.maxWorldSize.Name = "maxWorldSize"; - this.maxWorldSize.Size = new System.Drawing.Size(145, 25); + this.maxWorldSize.Size = new System.Drawing.Size(145, 23); this.maxWorldSize.TabIndex = 54; this.maxWorldSize.Value = new decimal(new int[] { 29999984, @@ -527,22 +528,22 @@ namespace ServCreator // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(170, 69); + this.label13.Location = new System.Drawing.Point(170, 61); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(102, 17); + this.label13.Size = new System.Drawing.Size(112, 15); this.label13.TabIndex = 53; this.label13.Text = "Max World Size:"; // // maxPlayers // - this.maxPlayers.Location = new System.Drawing.Point(173, 41); + this.maxPlayers.Location = new System.Drawing.Point(173, 36); this.maxPlayers.Maximum = new decimal(new int[] { 100000, 0, 0, 0}); this.maxPlayers.Name = "maxPlayers"; - this.maxPlayers.Size = new System.Drawing.Size(145, 25); + this.maxPlayers.Size = new System.Drawing.Size(145, 23); this.maxPlayers.TabIndex = 52; this.maxPlayers.Value = new decimal(new int[] { 20, @@ -553,18 +554,18 @@ namespace ServCreator // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(170, 21); + this.label14.Location = new System.Drawing.Point(170, 19); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(81, 17); + this.label14.Size = new System.Drawing.Size(91, 15); this.label14.TabIndex = 51; this.label14.Text = "Max Players:"; // // enableCommandBlocks // this.enableCommandBlocks.AutoSize = true; - this.enableCommandBlocks.Location = new System.Drawing.Point(6, 78); + this.enableCommandBlocks.Location = new System.Drawing.Point(6, 69); this.enableCommandBlocks.Name = "enableCommandBlocks"; - this.enableCommandBlocks.Size = new System.Drawing.Size(170, 21); + this.enableCommandBlocks.Size = new System.Drawing.Size(173, 19); this.enableCommandBlocks.TabIndex = 50; this.enableCommandBlocks.Text = "Enable Command Blocks"; this.enableCommandBlocks.UseVisualStyleBackColor = true; @@ -574,9 +575,9 @@ namespace ServCreator this.enableStatus.AutoSize = true; this.enableStatus.Checked = true; this.enableStatus.CheckState = System.Windows.Forms.CheckState.Checked; - this.enableStatus.Location = new System.Drawing.Point(108, 51); + this.enableStatus.Location = new System.Drawing.Point(108, 45); this.enableStatus.Name = "enableStatus"; - this.enableStatus.Size = new System.Drawing.Size(104, 21); + this.enableStatus.Size = new System.Drawing.Size(117, 19); this.enableStatus.TabIndex = 49; this.enableStatus.Text = "Enable status"; this.enableStatus.UseVisualStyleBackColor = true; @@ -584,9 +585,9 @@ namespace ServCreator // hardcore // this.hardcore.AutoSize = true; - this.hardcore.Location = new System.Drawing.Point(157, 132); + this.hardcore.Location = new System.Drawing.Point(6, 141); this.hardcore.Name = "hardcore"; - this.hardcore.Size = new System.Drawing.Size(82, 21); + this.hardcore.Size = new System.Drawing.Size(82, 19); this.hardcore.TabIndex = 48; this.hardcore.Text = "Hardcore"; this.hardcore.UseVisualStyleBackColor = true; @@ -596,9 +597,9 @@ namespace ServCreator this.enablePvp.AutoSize = true; this.enablePvp.Checked = true; this.enablePvp.CheckState = System.Windows.Forms.CheckState.Checked; - this.enablePvp.Location = new System.Drawing.Point(6, 51); + this.enablePvp.Location = new System.Drawing.Point(6, 45); this.enablePvp.Name = "enablePvp"; - this.enablePvp.Size = new System.Drawing.Size(90, 21); + this.enablePvp.Size = new System.Drawing.Size(96, 19); this.enablePvp.TabIndex = 47; this.enablePvp.Text = "Enable PvP"; this.enablePvp.UseVisualStyleBackColor = true; @@ -606,14 +607,15 @@ namespace ServCreator // spawnMonsters // this.spawnMonsters.AutoSize = true; + this.spawnMonsters.BackColor = System.Drawing.Color.Transparent; this.spawnMonsters.Checked = true; this.spawnMonsters.CheckState = System.Windows.Forms.CheckState.Checked; - this.spawnMonsters.Location = new System.Drawing.Point(6, 186); + this.spawnMonsters.Location = new System.Drawing.Point(129, 166); this.spawnMonsters.Name = "spawnMonsters"; - this.spawnMonsters.Size = new System.Drawing.Size(124, 21); + this.spawnMonsters.Size = new System.Drawing.Size(124, 19); this.spawnMonsters.TabIndex = 46; this.spawnMonsters.Text = "Spawn Monsters"; - this.spawnMonsters.UseVisualStyleBackColor = true; + this.spawnMonsters.UseVisualStyleBackColor = false; // // difficulty // @@ -624,17 +626,17 @@ namespace ServCreator "easy", "normal", "hard"}); - this.difficulty.Location = new System.Drawing.Point(9, 281); + this.difficulty.Location = new System.Drawing.Point(9, 248); this.difficulty.Name = "difficulty"; - this.difficulty.Size = new System.Drawing.Size(155, 25); + this.difficulty.Size = new System.Drawing.Size(155, 23); this.difficulty.TabIndex = 45; // // label15 // this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(6, 261); + this.label15.Location = new System.Drawing.Point(6, 230); this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(60, 17); + this.label15.Size = new System.Drawing.Size(84, 15); this.label15.TabIndex = 44; this.label15.Text = "Difficulty:"; // @@ -644,19 +646,19 @@ namespace ServCreator this.gamemode.FormattingEnabled = true; this.gamemode.Items.AddRange(new object[] { "survival", - "adventure", - "creative"}); - this.gamemode.Location = new System.Drawing.Point(9, 233); + "creative", + "adventure"}); + this.gamemode.Location = new System.Drawing.Point(9, 206); this.gamemode.Name = "gamemode"; - this.gamemode.Size = new System.Drawing.Size(155, 25); + this.gamemode.Size = new System.Drawing.Size(155, 23); this.gamemode.TabIndex = 37; // // label16 // this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(6, 213); + this.label16.Location = new System.Drawing.Point(6, 188); this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(79, 17); + this.label16.Size = new System.Drawing.Size(70, 15); this.label16.TabIndex = 43; this.label16.Text = "Gamemode:"; // @@ -665,9 +667,9 @@ namespace ServCreator this.allowNether.AutoSize = true; this.allowNether.Checked = true; this.allowNether.CheckState = System.Windows.Forms.CheckState.Checked; - this.allowNether.Location = new System.Drawing.Point(108, 24); + this.allowNether.Location = new System.Drawing.Point(122, 21); this.allowNether.Name = "allowNether"; - this.allowNether.Size = new System.Drawing.Size(102, 21); + this.allowNether.Size = new System.Drawing.Size(110, 19); this.allowNether.TabIndex = 42; this.allowNether.Text = "Allow Nether"; this.allowNether.UseVisualStyleBackColor = true; @@ -675,34 +677,34 @@ namespace ServCreator // forceGamemode // this.forceGamemode.AutoSize = true; - this.forceGamemode.Location = new System.Drawing.Point(6, 105); + this.forceGamemode.Location = new System.Drawing.Point(6, 93); this.forceGamemode.Name = "forceGamemode"; - this.forceGamemode.Size = new System.Drawing.Size(131, 21); + this.forceGamemode.Size = new System.Drawing.Size(124, 19); this.forceGamemode.TabIndex = 41; this.forceGamemode.Text = "Force Gamemode"; this.forceGamemode.UseVisualStyleBackColor = true; // // generatorSettings // - this.generatorSettings.Location = new System.Drawing.Point(9, 89); + this.generatorSettings.Location = new System.Drawing.Point(9, 79); this.generatorSettings.Name = "generatorSettings"; - this.generatorSettings.Size = new System.Drawing.Size(155, 25); + this.generatorSettings.Size = new System.Drawing.Size(155, 23); this.generatorSettings.TabIndex = 40; // // label17 // this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(6, 69); + this.label17.Location = new System.Drawing.Point(6, 61); this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(120, 17); + this.label17.Size = new System.Drawing.Size(140, 15); this.label17.TabIndex = 39; this.label17.Text = "Generator Settings:"; // // spawnProtection // - this.spawnProtection.Location = new System.Drawing.Point(9, 41); + this.spawnProtection.Location = new System.Drawing.Point(9, 36); this.spawnProtection.Name = "spawnProtection"; - this.spawnProtection.Size = new System.Drawing.Size(155, 25); + this.spawnProtection.Size = new System.Drawing.Size(155, 23); this.spawnProtection.TabIndex = 38; this.spawnProtection.Value = new decimal(new int[] { 16, @@ -713,9 +715,9 @@ namespace ServCreator // label18 // this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(6, 21); + this.label18.Location = new System.Drawing.Point(6, 19); this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(112, 17); + this.label18.Size = new System.Drawing.Size(126, 15); this.label18.TabIndex = 36; this.label18.Text = "Spawn Protection:"; // @@ -755,23 +757,23 @@ namespace ServCreator this.groupBox2.Controls.Add(this.label14); this.groupBox2.Controls.Add(this.maxPlayers); this.groupBox2.ForeColor = System.Drawing.Color.White; - this.groupBox2.Location = new System.Drawing.Point(12, 12); + this.groupBox2.Location = new System.Drawing.Point(12, 11); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(582, 414); + this.groupBox2.Size = new System.Drawing.Size(582, 365); this.groupBox2.TabIndex = 72; this.groupBox2.TabStop = false; this.groupBox2.Text = "Server Properties"; // // numericUpDown1 // - this.numericUpDown1.Location = new System.Drawing.Point(173, 281); + this.numericUpDown1.Location = new System.Drawing.Point(173, 248); this.numericUpDown1.Maximum = new decimal(new int[] { 4, 0, 0, 0}); this.numericUpDown1.Name = "numericUpDown1"; - this.numericUpDown1.Size = new System.Drawing.Size(145, 25); + this.numericUpDown1.Size = new System.Drawing.Size(145, 23); this.numericUpDown1.TabIndex = 82; this.numericUpDown1.Value = new decimal(new int[] { 4, @@ -782,42 +784,42 @@ namespace ServCreator // label23 // this.label23.AutoSize = true; - this.label23.Location = new System.Drawing.Point(173, 261); + this.label23.Location = new System.Drawing.Point(173, 230); this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(129, 17); + this.label23.Size = new System.Drawing.Size(147, 15); this.label23.TabIndex = 81; this.label23.Text = "Op Permission Level:"; // // levelSeed // - this.levelSeed.Location = new System.Drawing.Point(173, 233); + this.levelSeed.Location = new System.Drawing.Point(173, 206); this.levelSeed.Name = "levelSeed"; - this.levelSeed.Size = new System.Drawing.Size(145, 25); + this.levelSeed.Size = new System.Drawing.Size(145, 23); this.levelSeed.TabIndex = 80; // // levelType // - this.levelType.Location = new System.Drawing.Point(9, 377); + this.levelType.Location = new System.Drawing.Point(9, 333); this.levelType.Name = "levelType"; - this.levelType.Size = new System.Drawing.Size(155, 25); + this.levelType.Size = new System.Drawing.Size(155, 23); this.levelType.TabIndex = 79; this.levelType.Text = "default"; // // label22 // this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(6, 357); + this.label22.Location = new System.Drawing.Point(6, 315); this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(71, 17); + this.label22.Size = new System.Drawing.Size(84, 15); this.label22.TabIndex = 78; this.label22.Text = "Level Type:"; // // label21 // this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(173, 213); + this.label21.Location = new System.Drawing.Point(173, 188); this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(73, 17); + this.label21.Size = new System.Drawing.Size(84, 15); this.label21.TabIndex = 76; this.label21.Text = "Level Seed:"; // @@ -825,9 +827,9 @@ namespace ServCreator // this.linkLabel2.AutoSize = true; this.linkLabel2.LinkColor = System.Drawing.Color.White; - this.linkLabel2.Location = new System.Drawing.Point(485, -3); + this.linkLabel2.Location = new System.Drawing.Point(464, -2); this.linkLabel2.Name = "linkLabel2"; - this.linkLabel2.Size = new System.Drawing.Size(97, 17); + this.linkLabel2.Size = new System.Drawing.Size(112, 15); this.linkLabel2.TabIndex = 75; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "Settings Helper"; @@ -835,7 +837,7 @@ namespace ServCreator // // maxBuildingHeight // - this.maxBuildingHeight.Location = new System.Drawing.Point(9, 329); + this.maxBuildingHeight.Location = new System.Drawing.Point(9, 290); this.maxBuildingHeight.Maximum = new decimal(new int[] { 256, 0, @@ -847,7 +849,7 @@ namespace ServCreator 0, 0}); this.maxBuildingHeight.Name = "maxBuildingHeight"; - this.maxBuildingHeight.Size = new System.Drawing.Size(155, 25); + this.maxBuildingHeight.Size = new System.Drawing.Size(155, 23); this.maxBuildingHeight.TabIndex = 74; this.maxBuildingHeight.Value = new decimal(new int[] { 256, @@ -858,9 +860,9 @@ namespace ServCreator // label20 // this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(6, 309); + this.label20.Location = new System.Drawing.Point(6, 273); this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(128, 17); + this.label20.Size = new System.Drawing.Size(147, 15); this.label20.TabIndex = 73; this.label20.Text = "Max Building Height:"; // @@ -881,9 +883,9 @@ namespace ServCreator this.groupBox3.Controls.Add(this.enableCommandBlocks); this.groupBox3.Controls.Add(this.hardcore); this.groupBox3.ForeColor = System.Drawing.Color.White; - this.groupBox3.Location = new System.Drawing.Point(324, 14); + this.groupBox3.Location = new System.Drawing.Point(324, 12); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(252, 292); + this.groupBox3.Size = new System.Drawing.Size(252, 258); this.groupBox3.TabIndex = 72; this.groupBox3.TabStop = false; this.groupBox3.Text = "Options"; @@ -891,9 +893,9 @@ namespace ServCreator // checkBox1 // this.checkBox1.AutoSize = true; - this.checkBox1.Location = new System.Drawing.Point(144, 106); + this.checkBox1.Location = new System.Drawing.Point(136, 93); this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(99, 21); + this.checkBox1.Size = new System.Drawing.Size(103, 19); this.checkBox1.TabIndex = 69; this.checkBox1.Text = "Enable Rcon"; this.checkBox1.UseVisualStyleBackColor = true; @@ -901,9 +903,10 @@ namespace ServCreator // label19 // this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(597, 344); + this.label19.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label19.Location = new System.Drawing.Point(597, 306); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(380, 51); + this.label19.Size = new System.Drawing.Size(391, 39); this.label19.TabIndex = 73; this.label19.Text = "This server.properties is universal for every Minecraft version.\r\nSome of options" + " can not work in earlier versions properly. You \r\ncan later add or change settin" + @@ -914,9 +917,9 @@ namespace ServCreator this.groupBox4.Controls.Add(this.linkLabel3); this.groupBox4.Controls.Add(this.eulaBox); this.groupBox4.ForeColor = System.Drawing.Color.White; - this.groupBox4.Location = new System.Drawing.Point(600, 290); + this.groupBox4.Location = new System.Drawing.Point(600, 256); this.groupBox4.Name = "groupBox4"; - this.groupBox4.Size = new System.Drawing.Size(377, 51); + this.groupBox4.Size = new System.Drawing.Size(377, 45); this.groupBox4.TabIndex = 74; this.groupBox4.TabStop = false; this.groupBox4.Text = "Minecraft - End User License Agreement"; @@ -924,9 +927,9 @@ namespace ServCreator // linkLabel3 // this.linkLabel3.AutoSize = true; - this.linkLabel3.Location = new System.Drawing.Point(112, 21); + this.linkLabel3.Location = new System.Drawing.Point(112, 19); this.linkLabel3.Name = "linkLabel3"; - this.linkLabel3.Size = new System.Drawing.Size(114, 17); + this.linkLabel3.Size = new System.Drawing.Size(119, 15); this.linkLabel3.TabIndex = 1; this.linkLabel3.TabStop = true; this.linkLabel3.Text = "Read about EULA "; @@ -935,19 +938,19 @@ namespace ServCreator // eulaBox // this.eulaBox.AutoSize = true; - this.eulaBox.Location = new System.Drawing.Point(6, 20); + this.eulaBox.Location = new System.Drawing.Point(6, 18); this.eulaBox.Name = "eulaBox"; - this.eulaBox.Size = new System.Drawing.Size(100, 21); + this.eulaBox.Size = new System.Drawing.Size(103, 19); this.eulaBox.TabIndex = 0; this.eulaBox.Text = "Accept EULA"; this.eulaBox.UseVisualStyleBackColor = true; // // CreateForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 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(990, 438); + this.ClientSize = new System.Drawing.Size(990, 386); this.Controls.Add(this.groupBox4); this.Controls.Add(this.label19); this.Controls.Add(this.groupBox1); @@ -955,12 +958,12 @@ namespace ServCreator this.Controls.Add(this.createBtn); this.Controls.Add(this.checkJavaBtn); this.Controls.Add(this.groupBox2); - this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.Font = new System.Drawing.Font("Consolas", 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.MaximumSize = new System.Drawing.Size(1006, 477); - this.MinimumSize = new System.Drawing.Size(1006, 477); + this.MaximumSize = new System.Drawing.Size(1006, 425); + this.MinimumSize = new System.Drawing.Size(1006, 425); this.Name = "CreateForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Server Creator - ServManager for Minecraft"; diff --git a/ServCreator/ServCreator/CreateForm.cs b/ServCreator/ServCreator/CreateForm.cs index c545555..3312489 100644 --- a/ServCreator/ServCreator/CreateForm.cs +++ b/ServCreator/ServCreator/CreateForm.cs @@ -9,7 +9,6 @@ namespace ServCreator { public partial class CreateForm : Form { - static Properties.Settings conf = new Properties.Settings(); public CreateForm() { InitializeComponent(); diff --git a/ServCreator/ServCreator/Form1.cs b/ServCreator/ServCreator/Form1.cs index 59be272..04e2676 100644 --- a/ServCreator/ServCreator/Form1.cs +++ b/ServCreator/ServCreator/Form1.cs @@ -15,7 +15,6 @@ namespace ServCreator { public partial class Form1 : Form { - static Properties.Settings conf = new Properties.Settings(); public Form1() { InitializeComponent(); } private void createBtn_Click(object sender, EventArgs e) diff --git a/ServCreator/ServCreator/Properties/AssemblyInfo.cs b/ServCreator/ServCreator/Properties/AssemblyInfo.cs index 46e3845..d2515ae 100644 --- a/ServCreator/ServCreator/Properties/AssemblyInfo.cs +++ b/ServCreator/ServCreator/Properties/AssemblyInfo.cs @@ -6,11 +6,11 @@ using System.Runtime.InteropServices; // zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje // powiązane z zestawem. [assembly: AssemblyTitle("ServCreator")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("Server Manager for Minecraft servers")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ServCreator")] -[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyCompany("Krzysztof 'KrzysiekSiemv' Smaga")] +[assembly: AssemblyProduct("ServManager for Minecraft")] +[assembly: AssemblyCopyright("Copyright © Krzysztof Smaga 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/ServCreator/ServCreator/Properties/Resources.Designer.cs b/ServCreator/ServCreator/Properties/Resources.Designer.cs index 976527c..10224b2 100644 --- a/ServCreator/ServCreator/Properties/Resources.Designer.cs +++ b/ServCreator/ServCreator/Properties/Resources.Designer.cs @@ -1,68 +1,61 @@ //------------------------------------------------------------------------------ // -// Ten kod został wygenerowany przez narzędzie. -// Wersja środowiska uruchomieniowego: 4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Modyfikacje tego pliku mogą spowodować niewłaściwe zachowanie i zostaną utracone -// w przypadku ponownego wygenerowania kodu. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ - -namespace ServCreator.Properties -{ +namespace ServManager.Properties { + using System; + + /// - /// Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itd. + /// A strongly-typed resource class, for looking up localized strings, etc. /// - // 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")] + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + 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() - { + internal Resources() { } - + /// - /// Zwraca buforowane wystąpienie składnika ResourceManager używane przez tę klasę. + /// Returns the cached ResourceManager instance used by this class. /// [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); + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ServManager.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// - /// 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. + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/ServCreator/ServCreator/Properties/Settings.Designer.cs b/ServCreator/ServCreator/Properties/Settings.Designer.cs index c1d9ba8..d7e64c2 100644 --- a/ServCreator/ServCreator/Properties/Settings.Designer.cs +++ b/ServCreator/ServCreator/Properties/Settings.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace ServCreator.Properties { +namespace ServManager.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -22,41 +22,5 @@ namespace ServCreator.Properties { return defaultInstance; } } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("")] - public string lastUsed01 { - get { - return ((string)(this["lastUsed01"])); - } - set { - this["lastUsed01"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("")] - public string lastUsed02 { - get { - return ((string)(this["lastUsed02"])); - } - set { - this["lastUsed02"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("")] - public string lastUsed03 { - get { - return ((string)(this["lastUsed03"])); - } - set { - this["lastUsed03"] = value; - } - } } } diff --git a/ServCreator/ServCreator/Properties/Settings.settings b/ServCreator/ServCreator/Properties/Settings.settings index 73f8b00..8e615f2 100644 --- a/ServCreator/ServCreator/Properties/Settings.settings +++ b/ServCreator/ServCreator/Properties/Settings.settings @@ -1,15 +1,5 @@  - + - - - - - - - - - - - + \ No newline at end of file diff --git a/ServCreator/ServCreator/Properties/app.manifest b/ServCreator/ServCreator/Properties/app.manifest new file mode 100644 index 0000000..3b5ed3d --- /dev/null +++ b/ServCreator/ServCreator/Properties/app.manifest @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/ServCreator.csproj b/ServCreator/ServCreator/ServCreator.csproj index 0a823c6..918e32a 100644 --- a/ServCreator/ServCreator/ServCreator.csproj +++ b/ServCreator/ServCreator/ServCreator.csproj @@ -6,12 +6,31 @@ AnyCPU {99CE8C12-585C-46A0-A608-0170AC27E18C} WinExe - ServCreator - ServCreator - v4.7.2 + ServManager + ServManager for Minecraft + v4.7 512 true true + false + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + true + publish.htm + 1 + 1.0.0.%2a + false + true + true AnyCPU @@ -32,6 +51,30 @@ prompt 4 + + DA1B60EAC67FDB1C983D2E1580D198071414A7CC + + + ServCreator_TemporaryKey.pfx + + + true + + + LocalIntranet + + + Properties\app.manifest + + + true + + + crafting-table.ico + + + ServCreator.Program + @@ -114,6 +157,7 @@ True Resources.resx + True ServerManagementForm.cs @@ -121,6 +165,7 @@ UpgradeServerEngineForm.cs + SettingsSingleFileGenerator Settings.Designer.cs @@ -130,9 +175,33 @@ Settings.settings True + + + + + + + False + Microsoft .NET Framework 4.7.2 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + + False + File with Minecraft Server configuration + 1203 + crafting-table.ico + + \ No newline at end of file diff --git a/ServCreator/ServCreator/ServCreator.csproj.user b/ServCreator/ServCreator/ServCreator.csproj.user new file mode 100644 index 0000000..e3dc277 --- /dev/null +++ b/ServCreator/ServCreator/ServCreator.csproj.user @@ -0,0 +1,16 @@ + + + + publish\|\\192.168.0.5\krzysiekNAS\ServManager for Minecraft\ + + + + + + en-US + false + + + false + + \ No newline at end of file diff --git a/ServCreator/ServCreator/ServCreator_TemporaryKey.pfx b/ServCreator/ServCreator/ServCreator_TemporaryKey.pfx new file mode 100644 index 0000000..d11ef61 Binary files /dev/null and b/ServCreator/ServCreator/ServCreator_TemporaryKey.pfx differ diff --git a/ServCreator/ServCreator/ServerManagementForm.Designer.cs b/ServCreator/ServCreator/ServerManagementForm.Designer.cs index c501a1b..4d1eb2a 100644 --- a/ServCreator/ServCreator/ServerManagementForm.Designer.cs +++ b/ServCreator/ServCreator/ServerManagementForm.Designer.cs @@ -31,6 +31,7 @@ namespace ServCreator { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerManagementForm)); this.ipBanBox = new System.Windows.Forms.GroupBox(); + this.unbanIpBtn = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.ipTxt = new System.Windows.Forms.TextBox(); this.banIPBtn = new System.Windows.Forms.Button(); @@ -46,16 +47,46 @@ namespace ServCreator this.gmBtn = new System.Windows.Forms.Button(); this.gmBox = new System.Windows.Forms.ComboBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.whiteListBox = new System.Windows.Forms.CheckBox(); this.wlDelBtn = new System.Windows.Forms.Button(); this.wlAddBtn = new System.Windows.Forms.Button(); this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.button1 = new System.Windows.Forms.Button(); this.kickBtn = new System.Windows.Forms.Button(); this.banPlayerBtn = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.reasonPlayerTxt = new System.Windows.Forms.RichTextBox(); - this.unbanIpBtn = new System.Windows.Forms.Button(); - this.button1 = new System.Windows.Forms.Button(); + this.groupBox6 = new System.Windows.Forms.GroupBox(); + this.teleportBox = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.teleportBtn = new System.Windows.Forms.Button(); + this.groupBox7 = new System.Windows.Forms.GroupBox(); + this.label5 = new System.Windows.Forms.Label(); + this.xpBox = new System.Windows.Forms.NumericUpDown(); + this.setXpBtn = new System.Windows.Forms.Button(); + this.addXpBtn = new System.Windows.Forms.Button(); + this.groupBox8 = new System.Windows.Forms.GroupBox(); + this.giveBtn = new System.Windows.Forms.Button(); + this.giveAmountBox = new System.Windows.Forms.NumericUpDown(); + this.label6 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.giveItemBox = new System.Windows.Forms.TextBox(); + this.groupBox9 = new System.Windows.Forms.GroupBox(); + this.groupBox10 = new System.Windows.Forms.GroupBox(); + this.timeBox = new System.Windows.Forms.NumericUpDown(); + this.timeSetBtn = new System.Windows.Forms.Button(); + this.timeAddBtn = new System.Windows.Forms.Button(); + this.groupBox11 = new System.Windows.Forms.GroupBox(); + this.midnightBtn = new System.Windows.Forms.Button(); + this.dayBtn = new System.Windows.Forms.Button(); + this.nightBtn = new System.Windows.Forms.Button(); + this.noonBtn = new System.Windows.Forms.Button(); + this.groupBox12 = new System.Windows.Forms.GroupBox(); + this.weatherBtn = new System.Windows.Forms.Button(); + this.weatherBox = new System.Windows.Forms.ComboBox(); + this.groupBox13 = new System.Windows.Forms.GroupBox(); + this.printListBtn = new System.Windows.Forms.Button(); + this.reloadBtn = new System.Windows.Forms.Button(); this.ipBanBox.SuspendLayout(); this.playerMgmtBox.SuspendLayout(); this.groupBox5.SuspendLayout(); @@ -63,6 +94,17 @@ namespace ServCreator this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox3.SuspendLayout(); + this.groupBox6.SuspendLayout(); + this.groupBox7.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.xpBox)).BeginInit(); + this.groupBox8.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.giveAmountBox)).BeginInit(); + this.groupBox9.SuspendLayout(); + this.groupBox10.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.timeBox)).BeginInit(); + this.groupBox11.SuspendLayout(); + this.groupBox12.SuspendLayout(); + this.groupBox13.SuspendLayout(); this.SuspendLayout(); // // ipBanBox @@ -74,24 +116,35 @@ namespace ServCreator this.ipBanBox.Controls.Add(this.label3); this.ipBanBox.Controls.Add(this.reasonIpTxt); this.ipBanBox.ForeColor = System.Drawing.Color.White; - this.ipBanBox.Location = new System.Drawing.Point(322, 19); + this.ipBanBox.Location = new System.Drawing.Point(157, 75); this.ipBanBox.Name = "ipBanBox"; - this.ipBanBox.Size = new System.Drawing.Size(157, 135); + this.ipBanBox.Size = new System.Drawing.Size(157, 181); this.ipBanBox.TabIndex = 8; this.ipBanBox.TabStop = false; this.ipBanBox.Text = "Ban for Player IP"; // + // unbanIpBtn + // + this.unbanIpBtn.ForeColor = System.Drawing.Color.Black; + this.unbanIpBtn.Location = new System.Drawing.Point(83, 152); + this.unbanIpBtn.Name = "unbanIpBtn"; + this.unbanIpBtn.Size = new System.Drawing.Size(68, 23); + this.unbanIpBtn.TabIndex = 5; + this.unbanIpBtn.Text = "Unban"; + this.unbanIpBtn.UseVisualStyleBackColor = true; + // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(6, 20); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(61, 13); + this.label4.Size = new System.Drawing.Size(73, 13); this.label4.TabIndex = 4; this.label4.Text = "IP Address:"; // // ipTxt // + this.ipTxt.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.ipTxt.Location = new System.Drawing.Point(6, 36); this.ipTxt.Name = "ipTxt"; this.ipTxt.Size = new System.Drawing.Size(145, 20); @@ -100,7 +153,7 @@ namespace ServCreator // banIPBtn // this.banIPBtn.ForeColor = System.Drawing.Color.Black; - this.banIPBtn.Location = new System.Drawing.Point(6, 103); + this.banIPBtn.Location = new System.Drawing.Point(6, 153); this.banIPBtn.Name = "banIPBtn"; this.banIPBtn.Size = new System.Drawing.Size(68, 23); this.banIPBtn.TabIndex = 2; @@ -113,21 +166,25 @@ namespace ServCreator this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(3, 59); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(47, 13); + this.label3.Size = new System.Drawing.Size(49, 13); this.label3.TabIndex = 1; this.label3.Text = "Reason:"; // // reasonIpTxt // this.reasonIpTxt.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.reasonIpTxt.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.reasonIpTxt.Location = new System.Drawing.Point(6, 75); this.reasonIpTxt.Name = "reasonIpTxt"; - this.reasonIpTxt.Size = new System.Drawing.Size(145, 21); + this.reasonIpTxt.Size = new System.Drawing.Size(145, 68); this.reasonIpTxt.TabIndex = 0; this.reasonIpTxt.Text = ""; // // playerMgmtBox // + this.playerMgmtBox.Controls.Add(this.groupBox8); + this.playerMgmtBox.Controls.Add(this.groupBox7); + this.playerMgmtBox.Controls.Add(this.groupBox6); this.playerMgmtBox.Controls.Add(this.ipBanBox); this.playerMgmtBox.Controls.Add(this.groupBox5); this.playerMgmtBox.Controls.Add(this.groupBox4); @@ -137,7 +194,7 @@ namespace ServCreator this.playerMgmtBox.ForeColor = System.Drawing.Color.White; this.playerMgmtBox.Location = new System.Drawing.Point(12, 12); this.playerMgmtBox.Name = "playerMgmtBox"; - this.playerMgmtBox.Size = new System.Drawing.Size(488, 213); + this.playerMgmtBox.Size = new System.Drawing.Size(488, 337); this.playerMgmtBox.TabIndex = 9; this.playerMgmtBox.TabStop = false; this.playerMgmtBox.Text = "Player Management"; @@ -155,6 +212,7 @@ namespace ServCreator // // nicknameTb // + this.nicknameTb.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.nicknameTb.Location = new System.Drawing.Point(6, 21); this.nicknameTb.Name = "nicknameTb"; this.nicknameTb.Size = new System.Drawing.Size(133, 20); @@ -165,7 +223,7 @@ namespace ServCreator this.groupBox4.Controls.Add(this.deopBtn); this.groupBox4.Controls.Add(this.opBtn); this.groupBox4.ForeColor = System.Drawing.Color.White; - this.groupBox4.Location = new System.Drawing.Point(322, 160); + this.groupBox4.Location = new System.Drawing.Point(157, 284); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(157, 47); this.groupBox4.TabIndex = 12; @@ -199,9 +257,9 @@ namespace ServCreator this.groupBox2.Controls.Add(this.gmBtn); this.groupBox2.Controls.Add(this.gmBox); this.groupBox2.ForeColor = System.Drawing.Color.White; - this.groupBox2.Location = new System.Drawing.Point(157, 128); + this.groupBox2.Location = new System.Drawing.Point(6, 252); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(159, 79); + this.groupBox2.Size = new System.Drawing.Size(145, 79); this.groupBox2.TabIndex = 11; this.groupBox2.TabStop = false; this.groupBox2.Text = "Gamemode"; @@ -211,7 +269,7 @@ namespace ServCreator this.gmBtn.ForeColor = System.Drawing.Color.Black; this.gmBtn.Location = new System.Drawing.Point(6, 47); this.gmBtn.Name = "gmBtn"; - this.gmBtn.Size = new System.Drawing.Size(147, 23); + this.gmBtn.Size = new System.Drawing.Size(133, 23); this.gmBtn.TabIndex = 1; this.gmBtn.Text = "Set Gamemode"; this.gmBtn.UseVisualStyleBackColor = true; @@ -228,36 +286,36 @@ namespace ServCreator "spectator"}); this.gmBox.Location = new System.Drawing.Point(6, 19); this.gmBox.Name = "gmBox"; - this.gmBox.Size = new System.Drawing.Size(147, 21); + this.gmBox.Size = new System.Drawing.Size(133, 21); this.gmBox.TabIndex = 0; // // groupBox1 // - this.groupBox1.Controls.Add(this.checkBox1); this.groupBox1.Controls.Add(this.wlDelBtn); this.groupBox1.Controls.Add(this.wlAddBtn); this.groupBox1.ForeColor = System.Drawing.Color.White; this.groupBox1.Location = new System.Drawing.Point(157, 19); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(159, 72); + this.groupBox1.Size = new System.Drawing.Size(157, 50); this.groupBox1.TabIndex = 10; this.groupBox1.TabStop = false; this.groupBox1.Text = "White-list"; // - // checkBox1 + // whiteListBox // - this.checkBox1.AutoSize = true; - this.checkBox1.Location = new System.Drawing.Point(6, 48); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(105, 17); - this.checkBox1.TabIndex = 4; - this.checkBox1.Text = "Enable White-list"; - this.checkBox1.UseVisualStyleBackColor = true; + this.whiteListBox.AutoSize = true; + this.whiteListBox.Location = new System.Drawing.Point(20, 48); + this.whiteListBox.Name = "whiteListBox"; + this.whiteListBox.Size = new System.Drawing.Size(128, 17); + this.whiteListBox.TabIndex = 4; + this.whiteListBox.Text = "Enable White-list"; + this.whiteListBox.UseVisualStyleBackColor = true; + this.whiteListBox.CheckedChanged += new System.EventHandler(this.whiteListBox_CheckedChanged); // // wlDelBtn // this.wlDelBtn.ForeColor = System.Drawing.Color.Black; - this.wlDelBtn.Location = new System.Drawing.Point(85, 19); + this.wlDelBtn.Location = new System.Drawing.Point(83, 19); this.wlDelBtn.Name = "wlDelBtn"; this.wlDelBtn.Size = new System.Drawing.Size(68, 23); this.wlDelBtn.TabIndex = 3; @@ -286,15 +344,25 @@ namespace ServCreator this.groupBox3.ForeColor = System.Drawing.Color.White; this.groupBox3.Location = new System.Drawing.Point(6, 75); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(145, 132); + this.groupBox3.Size = new System.Drawing.Size(145, 171); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "Ban or Kick Player"; // + // button1 + // + this.button1.ForeColor = System.Drawing.Color.Black; + this.button1.Location = new System.Drawing.Point(77, 142); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(62, 23); + this.button1.TabIndex = 4; + this.button1.Text = "Unban"; + this.button1.UseVisualStyleBackColor = true; + // // kickBtn // this.kickBtn.ForeColor = System.Drawing.Color.Black; - this.kickBtn.Location = new System.Drawing.Point(6, 72); + this.kickBtn.Location = new System.Drawing.Point(6, 113); this.kickBtn.Name = "kickBtn"; this.kickBtn.Size = new System.Drawing.Size(133, 23); this.kickBtn.TabIndex = 3; @@ -305,7 +373,7 @@ namespace ServCreator // banPlayerBtn // this.banPlayerBtn.ForeColor = System.Drawing.Color.Black; - this.banPlayerBtn.Location = new System.Drawing.Point(6, 101); + this.banPlayerBtn.Location = new System.Drawing.Point(6, 142); this.banPlayerBtn.Name = "banPlayerBtn"; this.banPlayerBtn.Size = new System.Drawing.Size(62, 23); this.banPlayerBtn.TabIndex = 2; @@ -318,52 +386,392 @@ namespace ServCreator this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(7, 20); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(47, 13); + this.label2.Size = new System.Drawing.Size(49, 13); this.label2.TabIndex = 1; this.label2.Text = "Reason:"; // // reasonPlayerTxt // this.reasonPlayerTxt.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.reasonPlayerTxt.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.reasonPlayerTxt.Location = new System.Drawing.Point(6, 36); this.reasonPlayerTxt.Name = "reasonPlayerTxt"; - this.reasonPlayerTxt.Size = new System.Drawing.Size(133, 30); + this.reasonPlayerTxt.Size = new System.Drawing.Size(133, 71); this.reasonPlayerTxt.TabIndex = 0; this.reasonPlayerTxt.Text = ""; // - // unbanIpBtn + // groupBox6 // - this.unbanIpBtn.ForeColor = System.Drawing.Color.Black; - this.unbanIpBtn.Location = new System.Drawing.Point(83, 102); - this.unbanIpBtn.Name = "unbanIpBtn"; - this.unbanIpBtn.Size = new System.Drawing.Size(68, 23); - this.unbanIpBtn.TabIndex = 5; - this.unbanIpBtn.Text = "Unban"; - this.unbanIpBtn.UseVisualStyleBackColor = true; + this.groupBox6.Controls.Add(this.teleportBtn); + this.groupBox6.Controls.Add(this.label1); + this.groupBox6.Controls.Add(this.teleportBox); + this.groupBox6.ForeColor = System.Drawing.Color.White; + this.groupBox6.Location = new System.Drawing.Point(320, 19); + this.groupBox6.Name = "groupBox6"; + this.groupBox6.Size = new System.Drawing.Size(162, 89); + this.groupBox6.TabIndex = 11; + this.groupBox6.TabStop = false; + this.groupBox6.Text = "Teleport"; // - // button1 + // teleportBox // - this.button1.ForeColor = System.Drawing.Color.Black; - this.button1.Location = new System.Drawing.Point(77, 101); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(62, 23); - this.button1.TabIndex = 4; - this.button1.Text = "Unban"; - this.button1.UseVisualStyleBackColor = true; + this.teleportBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.teleportBox.Location = new System.Drawing.Point(6, 32); + this.teleportBox.Name = "teleportBox"; + this.teleportBox.Size = new System.Drawing.Size(150, 20); + this.teleportBox.TabIndex = 0; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 16); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(79, 13); + this.label1.TabIndex = 1; + this.label1.Text = "Teleport to:"; + // + // teleportBtn + // + this.teleportBtn.ForeColor = System.Drawing.Color.Black; + this.teleportBtn.Location = new System.Drawing.Point(81, 58); + this.teleportBtn.Name = "teleportBtn"; + this.teleportBtn.Size = new System.Drawing.Size(75, 23); + this.teleportBtn.TabIndex = 2; + this.teleportBtn.Text = "Teleport"; + this.teleportBtn.UseVisualStyleBackColor = true; + this.teleportBtn.Click += new System.EventHandler(this.teleportBtn_Click); + // + // groupBox7 + // + this.groupBox7.Controls.Add(this.addXpBtn); + this.groupBox7.Controls.Add(this.setXpBtn); + this.groupBox7.Controls.Add(this.xpBox); + this.groupBox7.Controls.Add(this.label5); + this.groupBox7.ForeColor = System.Drawing.Color.White; + this.groupBox7.Location = new System.Drawing.Point(320, 114); + this.groupBox7.Name = "groupBox7"; + this.groupBox7.Size = new System.Drawing.Size(162, 87); + this.groupBox7.TabIndex = 12; + this.groupBox7.TabStop = false; + this.groupBox7.Text = "Experience"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(6, 16); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(49, 13); + this.label5.TabIndex = 1; + this.label5.Text = "Amount:"; + // + // xpBox + // + this.xpBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.xpBox.Location = new System.Drawing.Point(6, 32); + this.xpBox.Maximum = new decimal(new int[] { + 100000000, + 0, + 0, + 0}); + this.xpBox.Name = "xpBox"; + this.xpBox.Size = new System.Drawing.Size(150, 20); + this.xpBox.TabIndex = 3; + // + // setXpBtn + // + this.setXpBtn.ForeColor = System.Drawing.Color.Black; + this.setXpBtn.Location = new System.Drawing.Point(58, 58); + this.setXpBtn.Name = "setXpBtn"; + this.setXpBtn.Size = new System.Drawing.Size(46, 23); + this.setXpBtn.TabIndex = 4; + this.setXpBtn.Text = "Set"; + this.setXpBtn.UseVisualStyleBackColor = true; + this.setXpBtn.Click += new System.EventHandler(this.setXpBtn_Click); + // + // addXpBtn + // + this.addXpBtn.ForeColor = System.Drawing.Color.Black; + this.addXpBtn.Location = new System.Drawing.Point(110, 58); + this.addXpBtn.Name = "addXpBtn"; + this.addXpBtn.Size = new System.Drawing.Size(46, 23); + this.addXpBtn.TabIndex = 5; + this.addXpBtn.Text = "Add"; + this.addXpBtn.UseVisualStyleBackColor = true; + this.addXpBtn.Click += new System.EventHandler(this.addXpBtn_Click); + // + // groupBox8 + // + this.groupBox8.Controls.Add(this.giveItemBox); + this.groupBox8.Controls.Add(this.label7); + this.groupBox8.Controls.Add(this.giveBtn); + this.groupBox8.Controls.Add(this.giveAmountBox); + this.groupBox8.Controls.Add(this.label6); + this.groupBox8.ForeColor = System.Drawing.Color.White; + this.groupBox8.Location = new System.Drawing.Point(320, 207); + this.groupBox8.Name = "groupBox8"; + this.groupBox8.Size = new System.Drawing.Size(162, 124); + this.groupBox8.TabIndex = 13; + this.groupBox8.TabStop = false; + this.groupBox8.Text = "Give"; + // + // giveBtn + // + this.giveBtn.ForeColor = System.Drawing.Color.Black; + this.giveBtn.Location = new System.Drawing.Point(110, 96); + this.giveBtn.Name = "giveBtn"; + this.giveBtn.Size = new System.Drawing.Size(46, 23); + this.giveBtn.TabIndex = 6; + this.giveBtn.Text = "Give"; + this.giveBtn.UseVisualStyleBackColor = true; + this.giveBtn.Click += new System.EventHandler(this.giveBtn_Click); + // + // giveAmountBox + // + this.giveAmountBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.giveAmountBox.Location = new System.Drawing.Point(6, 70); + this.giveAmountBox.Maximum = new decimal(new int[] { + 64, + 0, + 0, + 0}); + this.giveAmountBox.Name = "giveAmountBox"; + this.giveAmountBox.Size = new System.Drawing.Size(150, 20); + this.giveAmountBox.TabIndex = 3; + this.giveAmountBox.Value = new decimal(new int[] { + 64, + 0, + 0, + 0}); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(6, 54); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(49, 13); + this.label6.TabIndex = 1; + this.label6.Text = "Amount:"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(6, 15); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(37, 13); + this.label7.TabIndex = 7; + this.label7.Text = "Item:"; + // + // giveItemBox + // + this.giveItemBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.giveItemBox.Location = new System.Drawing.Point(6, 31); + this.giveItemBox.Name = "giveItemBox"; + this.giveItemBox.Size = new System.Drawing.Size(150, 20); + this.giveItemBox.TabIndex = 8; + this.giveItemBox.Text = "minecraft:diamond"; + // + // groupBox9 + // + this.groupBox9.Controls.Add(this.groupBox13); + this.groupBox9.Controls.Add(this.groupBox12); + this.groupBox9.Controls.Add(this.groupBox10); + this.groupBox9.ForeColor = System.Drawing.Color.White; + this.groupBox9.Location = new System.Drawing.Point(506, 12); + this.groupBox9.Name = "groupBox9"; + this.groupBox9.Size = new System.Drawing.Size(180, 337); + this.groupBox9.TabIndex = 12; + this.groupBox9.TabStop = false; + this.groupBox9.Text = "Server Management"; + // + // groupBox10 + // + this.groupBox10.Controls.Add(this.groupBox11); + this.groupBox10.Controls.Add(this.timeAddBtn); + this.groupBox10.Controls.Add(this.timeSetBtn); + this.groupBox10.Controls.Add(this.timeBox); + this.groupBox10.ForeColor = System.Drawing.Color.White; + this.groupBox10.Location = new System.Drawing.Point(6, 19); + this.groupBox10.Name = "groupBox10"; + this.groupBox10.Size = new System.Drawing.Size(168, 157); + this.groupBox10.TabIndex = 12; + this.groupBox10.TabStop = false; + this.groupBox10.Text = "Time"; + // + // timeBox + // + this.timeBox.Location = new System.Drawing.Point(6, 19); + this.timeBox.Maximum = new decimal(new int[] { + 24000, + 0, + 0, + 0}); + this.timeBox.Name = "timeBox"; + this.timeBox.Size = new System.Drawing.Size(156, 20); + this.timeBox.TabIndex = 3; + // + // timeSetBtn + // + this.timeSetBtn.ForeColor = System.Drawing.Color.Black; + this.timeSetBtn.Location = new System.Drawing.Point(64, 45); + this.timeSetBtn.Name = "timeSetBtn"; + this.timeSetBtn.Size = new System.Drawing.Size(46, 23); + this.timeSetBtn.TabIndex = 7; + this.timeSetBtn.Text = "Set"; + this.timeSetBtn.UseVisualStyleBackColor = true; + this.timeSetBtn.Click += new System.EventHandler(this.timeSetBtn_Click); + // + // timeAddBtn + // + this.timeAddBtn.ForeColor = System.Drawing.Color.Black; + this.timeAddBtn.Location = new System.Drawing.Point(116, 45); + this.timeAddBtn.Name = "timeAddBtn"; + this.timeAddBtn.Size = new System.Drawing.Size(46, 23); + this.timeAddBtn.TabIndex = 8; + this.timeAddBtn.Text = "Add"; + this.timeAddBtn.UseVisualStyleBackColor = true; + this.timeAddBtn.Click += new System.EventHandler(this.timeAddBtn_Click); + // + // groupBox11 + // + this.groupBox11.Controls.Add(this.noonBtn); + this.groupBox11.Controls.Add(this.nightBtn); + this.groupBox11.Controls.Add(this.dayBtn); + this.groupBox11.Controls.Add(this.midnightBtn); + this.groupBox11.ForeColor = System.Drawing.Color.White; + this.groupBox11.Location = new System.Drawing.Point(6, 74); + this.groupBox11.Name = "groupBox11"; + this.groupBox11.Size = new System.Drawing.Size(156, 76); + this.groupBox11.TabIndex = 13; + this.groupBox11.TabStop = false; + // + // midnightBtn + // + this.midnightBtn.ForeColor = System.Drawing.Color.Black; + this.midnightBtn.Location = new System.Drawing.Point(80, 43); + this.midnightBtn.Name = "midnightBtn"; + this.midnightBtn.Size = new System.Drawing.Size(68, 23); + this.midnightBtn.TabIndex = 0; + this.midnightBtn.Text = "Midnight"; + this.midnightBtn.UseVisualStyleBackColor = true; + this.midnightBtn.Click += new System.EventHandler(this.midnightBtn_Click); + // + // dayBtn + // + this.dayBtn.ForeColor = System.Drawing.Color.Black; + this.dayBtn.Location = new System.Drawing.Point(6, 14); + this.dayBtn.Name = "dayBtn"; + this.dayBtn.Size = new System.Drawing.Size(68, 23); + this.dayBtn.TabIndex = 1; + this.dayBtn.Text = "Day"; + this.dayBtn.UseVisualStyleBackColor = true; + this.dayBtn.Click += new System.EventHandler(this.dayBtn_Click); + // + // nightBtn + // + this.nightBtn.ForeColor = System.Drawing.Color.Black; + this.nightBtn.Location = new System.Drawing.Point(80, 14); + this.nightBtn.Name = "nightBtn"; + this.nightBtn.Size = new System.Drawing.Size(68, 23); + this.nightBtn.TabIndex = 2; + this.nightBtn.Text = "Night"; + this.nightBtn.UseVisualStyleBackColor = true; + this.nightBtn.Click += new System.EventHandler(this.nightBtn_Click); + // + // noonBtn + // + this.noonBtn.ForeColor = System.Drawing.Color.Black; + this.noonBtn.Location = new System.Drawing.Point(6, 43); + this.noonBtn.Name = "noonBtn"; + this.noonBtn.Size = new System.Drawing.Size(68, 23); + this.noonBtn.TabIndex = 3; + this.noonBtn.Text = "Noon"; + this.noonBtn.UseVisualStyleBackColor = true; + this.noonBtn.Click += new System.EventHandler(this.noonBtn_Click); + // + // groupBox12 + // + this.groupBox12.Controls.Add(this.weatherBtn); + this.groupBox12.Controls.Add(this.weatherBox); + this.groupBox12.ForeColor = System.Drawing.Color.White; + this.groupBox12.Location = new System.Drawing.Point(6, 182); + this.groupBox12.Name = "groupBox12"; + this.groupBox12.Size = new System.Drawing.Size(168, 76); + this.groupBox12.TabIndex = 12; + this.groupBox12.TabStop = false; + this.groupBox12.Text = "Weather"; + // + // weatherBtn + // + this.weatherBtn.ForeColor = System.Drawing.Color.Black; + this.weatherBtn.Location = new System.Drawing.Point(6, 46); + this.weatherBtn.Name = "weatherBtn"; + this.weatherBtn.Size = new System.Drawing.Size(156, 23); + this.weatherBtn.TabIndex = 1; + this.weatherBtn.Text = "Set the Weather"; + this.weatherBtn.UseVisualStyleBackColor = true; + this.weatherBtn.Click += new System.EventHandler(this.weatherBtn_Click); + // + // weatherBox + // + this.weatherBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.weatherBox.FormattingEnabled = true; + this.weatherBox.Items.AddRange(new object[] { + "clear", + "rain", + "thunder"}); + this.weatherBox.Location = new System.Drawing.Point(6, 19); + this.weatherBox.Name = "weatherBox"; + this.weatherBox.Size = new System.Drawing.Size(156, 21); + this.weatherBox.TabIndex = 0; + // + // groupBox13 + // + this.groupBox13.Controls.Add(this.whiteListBox); + this.groupBox13.Controls.Add(this.printListBtn); + this.groupBox13.Controls.Add(this.reloadBtn); + this.groupBox13.ForeColor = System.Drawing.Color.White; + this.groupBox13.Location = new System.Drawing.Point(6, 264); + this.groupBox13.Name = "groupBox13"; + this.groupBox13.Size = new System.Drawing.Size(168, 67); + this.groupBox13.TabIndex = 11; + this.groupBox13.TabStop = false; + this.groupBox13.Text = "White-list"; + // + // printListBtn + // + this.printListBtn.ForeColor = System.Drawing.Color.Black; + this.printListBtn.Location = new System.Drawing.Point(66, 19); + this.printListBtn.Name = "printListBtn"; + this.printListBtn.Size = new System.Drawing.Size(96, 23); + this.printListBtn.TabIndex = 3; + this.printListBtn.Text = "Print List"; + this.printListBtn.UseVisualStyleBackColor = true; + this.printListBtn.Click += new System.EventHandler(this.printListBtn_Click); + // + // reloadBtn + // + this.reloadBtn.ForeColor = System.Drawing.Color.Black; + this.reloadBtn.Location = new System.Drawing.Point(6, 19); + this.reloadBtn.Name = "reloadBtn"; + this.reloadBtn.Size = new System.Drawing.Size(54, 23); + this.reloadBtn.TabIndex = 2; + this.reloadBtn.Text = "Reload"; + this.reloadBtn.UseVisualStyleBackColor = true; + this.reloadBtn.Click += new System.EventHandler(this.reloadBtn_Click); // // ServerManagementForm // 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(509, 235); + this.ClientSize = new System.Drawing.Size(697, 361); + this.Controls.Add(this.groupBox9); this.Controls.Add(this.playerMgmtBox); + this.Font = new System.Drawing.Font("Consolas", 8.25F, 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.MaximizeBox = false; - this.MaximumSize = new System.Drawing.Size(525, 274); this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(525, 274); this.Name = "ServerManagementForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Manage with Server - ServManager for Minecraft"; @@ -376,9 +784,23 @@ namespace ServCreator this.groupBox4.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); + this.groupBox6.ResumeLayout(false); + this.groupBox6.PerformLayout(); + this.groupBox7.ResumeLayout(false); + this.groupBox7.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.xpBox)).EndInit(); + this.groupBox8.ResumeLayout(false); + this.groupBox8.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.giveAmountBox)).EndInit(); + this.groupBox9.ResumeLayout(false); + this.groupBox10.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.timeBox)).EndInit(); + this.groupBox11.ResumeLayout(false); + this.groupBox12.ResumeLayout(false); + this.groupBox13.ResumeLayout(false); + this.groupBox13.PerformLayout(); this.ResumeLayout(false); } @@ -408,8 +830,39 @@ namespace ServCreator private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.Button gmBtn; private System.Windows.Forms.ComboBox gmBox; - private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.CheckBox whiteListBox; private System.Windows.Forms.Button unbanIpBtn; private System.Windows.Forms.Button button1; + private System.Windows.Forms.GroupBox groupBox8; + private System.Windows.Forms.TextBox giveItemBox; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Button giveBtn; + private System.Windows.Forms.NumericUpDown giveAmountBox; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.GroupBox groupBox7; + private System.Windows.Forms.Button addXpBtn; + private System.Windows.Forms.Button setXpBtn; + private System.Windows.Forms.NumericUpDown xpBox; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.GroupBox groupBox6; + private System.Windows.Forms.Button teleportBtn; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox teleportBox; + private System.Windows.Forms.GroupBox groupBox9; + private System.Windows.Forms.GroupBox groupBox10; + private System.Windows.Forms.GroupBox groupBox11; + private System.Windows.Forms.Button timeAddBtn; + private System.Windows.Forms.Button timeSetBtn; + private System.Windows.Forms.NumericUpDown timeBox; + private System.Windows.Forms.GroupBox groupBox12; + private System.Windows.Forms.Button weatherBtn; + private System.Windows.Forms.ComboBox weatherBox; + private System.Windows.Forms.Button noonBtn; + private System.Windows.Forms.Button nightBtn; + private System.Windows.Forms.Button dayBtn; + private System.Windows.Forms.Button midnightBtn; + private System.Windows.Forms.GroupBox groupBox13; + private System.Windows.Forms.Button printListBtn; + private System.Windows.Forms.Button reloadBtn; } } \ No newline at end of file diff --git a/ServCreator/ServCreator/ServerManagementForm.cs b/ServCreator/ServCreator/ServerManagementForm.cs index b1df124..67e1a38 100644 --- a/ServCreator/ServCreator/ServerManagementForm.cs +++ b/ServCreator/ServCreator/ServerManagementForm.cs @@ -41,13 +41,31 @@ namespace ServCreator } private void opBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("op " + nicknameTb.Text); } - private void gmBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("gamemode " + gmBox.Text + " " + nicknameTb.Text); } - private void wlAddBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("whitelist add " + nicknameTb.Text); } - private void wlDelBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("whitelist remove " + nicknameTb.Text); } - private void deopBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("deop " + nicknameTb.Text); } + private void teleportBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("tp " + nicknameTb.Text + " " + teleportBox.Text); } + private void setXpBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("xp set " + nicknameTb.Text + " " + xpBox.Value.ToString()); } + private void addXpBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("xp add " + nicknameTb.Text + " " + xpBox.Value.ToString()); } + private void giveBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("give " + nicknameTb.Text + " " + giveItemBox.Text + " " + giveAmountBox.Value.ToString()); } + private void timeSetBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("time set " + timeBox.Value.ToString()); } + private void timeAddBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("time add " + timeBox.Value.ToString()); } + private void dayBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("time set 1000"); } + private void nightBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("time set 13000"); } + private void noonBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("time set 6000"); } + private void midnightBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("time set 18000"); } + private void weatherBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("weather " + weatherBox.Text); } + + private void whiteListBox_CheckedChanged(object sender, EventArgs e) + { + if(whiteListBox.Checked) + process.StandardInput.WriteLine("whitelist on"); + else + process.StandardInput.WriteLine("whitelist off"); + } + + private void reloadBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("whitelist reload"); } + private void printListBtn_Click(object sender, EventArgs e) { process.StandardInput.WriteLine("whitelist list"); } } } diff --git a/ServCreator/ServCreator/UpgradeServerEngineForm.Designer.cs b/ServCreator/ServCreator/UpgradeServerEngineForm.Designer.cs index a9336ec..aa81f5a 100644 --- a/ServCreator/ServCreator/UpgradeServerEngineForm.Designer.cs +++ b/ServCreator/ServCreator/UpgradeServerEngineForm.Designer.cs @@ -43,53 +43,53 @@ namespace ServCreator // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(13, 9); + this.label1.Location = new System.Drawing.Point(13, 8); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(223, 20); + this.label1.Size = new System.Drawing.Size(280, 18); this.label1.TabIndex = 0; this.label1.Text = "Currently installed server engine:"; // // currentEngineLabel // this.currentEngineLabel.AutoSize = true; - this.currentEngineLabel.Location = new System.Drawing.Point(29, 37); + this.currentEngineLabel.Location = new System.Drawing.Point(29, 33); this.currentEngineLabel.Name = "currentEngineLabel"; - this.currentEngineLabel.Size = new System.Drawing.Size(148, 20); + this.currentEngineLabel.Size = new System.Drawing.Size(160, 18); this.currentEngineLabel.TabIndex = 1; this.currentEngineLabel.Text = "{ENGINE}, {VERSION}"; // // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(17, 69); + this.label3.Location = new System.Drawing.Point(17, 62); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(63, 20); + this.label3.Size = new System.Drawing.Size(72, 18); this.label3.TabIndex = 2; this.label3.Text = "Engine*:"; // // serverEngineCB // this.serverEngineCB.FormattingEnabled = true; - this.serverEngineCB.Location = new System.Drawing.Point(15, 92); + this.serverEngineCB.Location = new System.Drawing.Point(15, 83); this.serverEngineCB.Name = "serverEngineCB"; - this.serverEngineCB.Size = new System.Drawing.Size(162, 28); + this.serverEngineCB.Size = new System.Drawing.Size(162, 26); this.serverEngineCB.TabIndex = 3; // // serverVersionCB // this.serverVersionCB.FormattingEnabled = true; - this.serverVersionCB.Location = new System.Drawing.Point(183, 92); + this.serverVersionCB.Location = new System.Drawing.Point(183, 83); this.serverVersionCB.Name = "serverVersionCB"; - this.serverVersionCB.Size = new System.Drawing.Size(162, 28); + this.serverVersionCB.Size = new System.Drawing.Size(162, 26); this.serverVersionCB.TabIndex = 5; // // label4 // this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(185, 69); + this.label4.Location = new System.Drawing.Point(185, 62); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(66, 20); + this.label4.Size = new System.Drawing.Size(80, 18); this.label4.TabIndex = 4; this.label4.Text = "Version*:"; // @@ -97,27 +97,28 @@ namespace ServCreator // this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.button1.ForeColor = System.Drawing.Color.Black; - this.button1.Location = new System.Drawing.Point(270, 126); + this.button1.Location = new System.Drawing.Point(270, 113); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.Size = new System.Drawing.Size(75, 21); this.button1.TabIndex = 6; this.button1.Text = "Update"; this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); // // progressBar1 // - this.progressBar1.Location = new System.Drawing.Point(15, 126); + this.progressBar1.Location = new System.Drawing.Point(15, 113); this.progressBar1.Name = "progressBar1"; - this.progressBar1.Size = new System.Drawing.Size(249, 23); + this.progressBar1.Size = new System.Drawing.Size(249, 21); this.progressBar1.TabIndex = 7; this.progressBar1.Visible = false; // // UpgradeServerEngineForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); 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(355, 157); + this.ClientSize = new System.Drawing.Size(355, 141); this.Controls.Add(this.progressBar1); this.Controls.Add(this.button1); this.Controls.Add(this.serverVersionCB); @@ -126,11 +127,11 @@ namespace ServCreator this.Controls.Add(this.label3); this.Controls.Add(this.currentEngineLabel); this.Controls.Add(this.label1); - this.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.ForeColor = System.Drawing.Color.White; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "UpgradeServerEngineForm"; diff --git a/ServCreator/ServCreator/UpgradeServerEngineForm.cs b/ServCreator/ServCreator/UpgradeServerEngineForm.cs index 798e721..3ee0ad8 100644 --- a/ServCreator/ServCreator/UpgradeServerEngineForm.cs +++ b/ServCreator/ServCreator/UpgradeServerEngineForm.cs @@ -1,11 +1,4 @@ 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.Net; using Newtonsoft.Json; @@ -18,6 +11,7 @@ namespace ServCreator string filePath; Server server; public ControlPanelForm controlPanel; + public UpgradeServerEngineForm(string configFilePath) { InitializeComponent(); @@ -28,8 +22,9 @@ namespace ServCreator { GetItems(); GettingCurrerntEngine(); + serverEngineCB.SelectedIndex = 0; - serverVersionCB.SelectedIndex = 1; + serverVersionCB.SelectedIndex = 0; } void GetItems() @@ -48,11 +43,10 @@ namespace ServCreator { StreamReader reader = new StreamReader(filePath); server = JsonConvert.DeserializeObject(reader.ReadToEnd()); + reader.Close(); label1.Text = "Currently installed on " + server.Name; - currentEngineLabel.Text = server.Engine + ", " + server.Version; - - reader.Close(); + currentEngineLabel.Text = server.Engine.ToUpper() + ", " + server.Version; } void GetOtherVersion() @@ -76,7 +70,7 @@ namespace ServCreator server.Path = path; server.Engine = serverEngineCB.Text; server.Version = serverVersionCB.Text; - StreamWriter configWriter = new StreamWriter(path + "\\servmanager.srv"); + StreamWriter configWriter = new StreamWriter(filePath); configWriter.Write(JsonConvert.SerializeObject(server)); configWriter.Close(); @@ -115,11 +109,7 @@ namespace ServCreator public string[] Engines { get; set; } } - private void UpgradeServerEngineForm_FormClosing(object sender, FormClosingEventArgs e) - { - controlPanel.Enabled = true; - controlPanel.GetFreshConfig(); - this.Close(); - } + private void UpgradeServerEngineForm_FormClosing(object sender, FormClosingEventArgs e) { controlPanel.Visible = true; controlPanel.GetFreshConfig(); } + private void button1_Click(object sender, EventArgs e) { GetOtherVersion(); } } } diff --git a/ServCreator/ServCreator/bin/Debug/ServCreator.pdb b/ServCreator/ServCreator/bin/Debug/ServCreator.pdb deleted file mode 100644 index 4cdae3b..0000000 Binary files a/ServCreator/ServCreator/bin/Debug/ServCreator.pdb and /dev/null differ diff --git a/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.application b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.application new file mode 100644 index 0000000..d642c32 --- /dev/null +++ b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.application @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + b8P9qRhUTNvJTV6cvbVfCtvIXSvCfxYatRkUfho7Xlo= + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe new file mode 100644 index 0000000..ef48d4e Binary files /dev/null and b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe differ diff --git a/ServCreator/ServCreator/bin/Debug/ServCreator.exe.config b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe.config similarity index 77% rename from ServCreator/ServCreator/bin/Debug/ServCreator.exe.config rename to ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe.config index bf38180..8c0de95 100644 --- a/ServCreator/ServCreator/bin/Debug/ServCreator.exe.config +++ b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe.config @@ -1,24 +1,24 @@ - + - -
+ +
- + - + - + - + - \ No newline at end of file + diff --git a/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe.manifest b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe.manifest new file mode 100644 index 0000000..7ede356 --- /dev/null +++ b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.exe.manifest @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + eL7dn86HenGo2P+agTZi2CSDYeRnBcTvevxh1ED/Lus= + + + + + + + + + + + + LTgB2ED20iG5wEXqncEM+jGTFoLdYUOfTK1xH6I4+KU= + + + + + + + + + + sTVl/wCtpaPcGBVvzvUyZgY2HvslxdQu/zWyhlLw32M= + + + + + + + + + MdmSfKhnNMjnoAWn89xOQ8rq7auYvu3bZFm9xpE8I+E= + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.pdb b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.pdb new file mode 100644 index 0000000..d720d0b Binary files /dev/null and b/ServCreator/ServCreator/bin/Debug/ServManager for Minecraft.pdb differ diff --git a/ServCreator/ServCreator/bin/Debug/app.publish/ServManager for Minecraft.exe b/ServCreator/ServCreator/bin/Debug/app.publish/ServManager for Minecraft.exe new file mode 100644 index 0000000..e3a3ec7 Binary files /dev/null and b/ServCreator/ServCreator/bin/Debug/app.publish/ServManager for Minecraft.exe differ diff --git a/ServCreator/ServCreator/bin/Release/Newtonsoft.Json.dll b/ServCreator/ServCreator/bin/Release/Newtonsoft.Json.dll new file mode 100644 index 0000000..55d537f Binary files /dev/null and b/ServCreator/ServCreator/bin/Release/Newtonsoft.Json.dll differ diff --git a/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.application b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.application new file mode 100644 index 0000000..603c7e2 --- /dev/null +++ b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.application @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + qz9Q/16SfUiJ4HyH03gMCNGzzRBOye4Kxg/T8b9QBvw= + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/bin/Debug/ServCreator.exe b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe similarity index 84% rename from ServCreator/ServCreator/bin/Debug/ServCreator.exe rename to ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe index c49c7f7..fc37147 100644 Binary files a/ServCreator/ServCreator/bin/Debug/ServCreator.exe and b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe differ diff --git a/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe.config b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe.config new file mode 100644 index 0000000..8c0de95 --- /dev/null +++ b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe.config @@ -0,0 +1,24 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + diff --git a/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe.manifest b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe.manifest new file mode 100644 index 0000000..8e5b702 --- /dev/null +++ b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.exe.manifest @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + eL7dn86HenGo2P+agTZi2CSDYeRnBcTvevxh1ED/Lus= + + + + + + + + + + + + AI1xE+S1px8T7Zw2ZHD4x/3JtMDYvY2V+Vb2LU8k4mY= + + + + + + + + + + sTVl/wCtpaPcGBVvzvUyZgY2HvslxdQu/zWyhlLw32M= + + + + + + + + + MdmSfKhnNMjnoAWn89xOQ8rq7auYvu3bZFm9xpE8I+E= + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.pdb b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.pdb new file mode 100644 index 0000000..352b78f Binary files /dev/null and b/ServCreator/ServCreator/bin/Release/ServManager for Minecraft.pdb differ diff --git a/ServCreator/ServCreator/bin/Release/app.publish/ServManager for Minecraft.exe b/ServCreator/ServCreator/bin/Release/app.publish/ServManager for Minecraft.exe new file mode 100644 index 0000000..be632f1 Binary files /dev/null and b/ServCreator/ServCreator/bin/Release/app.publish/ServManager for Minecraft.exe differ diff --git a/ServCreator/ServCreator/crafting-table.ico b/ServCreator/ServCreator/crafting-table.ico new file mode 100644 index 0000000..6d079ee Binary files /dev/null and b/ServCreator/ServCreator/crafting-table.ico differ diff --git a/ServCreator/ServCreator/obj/Debug/.NETFramework,Version=v4.7.AssemblyAttributes.cs b/ServCreator/ServCreator/obj/Debug/.NETFramework,Version=v4.7.AssemblyAttributes.cs new file mode 100644 index 0000000..4c82453 --- /dev/null +++ b/ServCreator/ServCreator/obj/Debug/.NETFramework,Version=v4.7.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7", FrameworkDisplayName = ".NET Framework 4.7")] diff --git a/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferences.cache index a33d438..dab39da 100644 Binary files a/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index f033751..ba52626 100644 Binary files a/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ServCreator/ServCreator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.CoreCompileInputs.cache b/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.CoreCompileInputs.cache index 154756b..7ce6856 100644 --- a/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.CoreCompileInputs.cache +++ b/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -28f17a13ab8a797f473af684890ab20ce3a64485 +34e10577e5eede5537c30a340d299eb92133dd69 diff --git a/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.FileListAbsolute.txt b/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.FileListAbsolute.txt index acc1bd7..57673ae 100644 --- a/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.FileListAbsolute.txt +++ b/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.FileListAbsolute.txt @@ -1,13 +1,7 @@ -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 @@ -31,3 +25,14 @@ C:\Users\Krzysiek\Documents\GitHub\ServCreator-for-Minecraft\ServCreator\ServCre D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.ServerManagementForm.resources D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.AddServerForm.resources D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServCreator.UpgradeServerEngineForm.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServManager.Properties.Resources.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServManager for Minecraft.exe.config +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServManager for Minecraft.exe.manifest +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServManager for Minecraft.application +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServManager for Minecraft.exe +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Debug\ServManager for Minecraft.pdb +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServManager for Minecraft.TrustInfo.xml +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServManager for Minecraft.exe.manifest +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServManager for Minecraft.application +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServManager for Minecraft.exe +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Debug\ServManager for Minecraft.pdb diff --git a/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.GenerateResource.cache b/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.GenerateResource.cache index 5d225f2..54b17ec 100644 Binary files a/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.GenerateResource.cache and b/ServCreator/ServCreator/obj/Debug/ServCreator.csproj.GenerateResource.cache differ diff --git a/ServCreator/ServCreator/obj/Debug/ServCreator.csprojAssemblyReference.cache b/ServCreator/ServCreator/obj/Debug/ServCreator.csprojAssemblyReference.cache index 79cecea..72ebae2 100644 Binary files a/ServCreator/ServCreator/obj/Debug/ServCreator.csprojAssemblyReference.cache and b/ServCreator/ServCreator/obj/Debug/ServCreator.csprojAssemblyReference.cache differ diff --git a/ServCreator/ServCreator/obj/Debug/ServCreator.pdb b/ServCreator/ServCreator/obj/Debug/ServCreator.pdb deleted file mode 100644 index 4cdae3b..0000000 Binary files a/ServCreator/ServCreator/obj/Debug/ServCreator.pdb and /dev/null differ diff --git a/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.TrustInfo.xml b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.TrustInfo.xml new file mode 100644 index 0000000..7aaa723 --- /dev/null +++ b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.TrustInfo.xml @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.application b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.application new file mode 100644 index 0000000..d642c32 --- /dev/null +++ b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.application @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + b8P9qRhUTNvJTV6cvbVfCtvIXSvCfxYatRkUfho7Xlo= + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.exe b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.exe new file mode 100644 index 0000000..ef48d4e Binary files /dev/null and b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.exe differ diff --git a/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.exe.manifest b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.exe.manifest new file mode 100644 index 0000000..7ede356 --- /dev/null +++ b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.exe.manifest @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + eL7dn86HenGo2P+agTZi2CSDYeRnBcTvevxh1ED/Lus= + + + + + + + + + + + + LTgB2ED20iG5wEXqncEM+jGTFoLdYUOfTK1xH6I4+KU= + + + + + + + + + + sTVl/wCtpaPcGBVvzvUyZgY2HvslxdQu/zWyhlLw32M= + + + + + + + + + MdmSfKhnNMjnoAWn89xOQ8rq7auYvu3bZFm9xpE8I+E= + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.pdb b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.pdb new file mode 100644 index 0000000..d720d0b Binary files /dev/null and b/ServCreator/ServCreator/obj/Debug/ServManager for Minecraft.pdb differ diff --git a/ServCreator/ServCreator/obj/Debug/ServCreator.Properties.Resources.resources b/ServCreator/ServCreator/obj/Debug/ServManager.Properties.Resources.resources similarity index 100% rename from ServCreator/ServCreator/obj/Debug/ServCreator.Properties.Resources.resources rename to ServCreator/ServCreator/obj/Debug/ServManager.Properties.Resources.resources diff --git a/ServCreator/ServCreator/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/ServCreator/ServCreator/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..5ee6ca4 Binary files /dev/null and b/ServCreator/ServCreator/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/ServCreator/ServCreator/obj/Release/.NETFramework,Version=v4.7.AssemblyAttributes.cs b/ServCreator/ServCreator/obj/Release/.NETFramework,Version=v4.7.AssemblyAttributes.cs new file mode 100644 index 0000000..4c82453 --- /dev/null +++ b/ServCreator/ServCreator/obj/Release/.NETFramework,Version=v4.7.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7", FrameworkDisplayName = ".NET Framework 4.7")] diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.AddServerForm.resources b/ServCreator/ServCreator/obj/Release/ServCreator.AddServerForm.resources new file mode 100644 index 0000000..3904612 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.AddServerForm.resources differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.ControlPanelForm.resources b/ServCreator/ServCreator/obj/Release/ServCreator.ControlPanelForm.resources new file mode 100644 index 0000000..3904612 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.ControlPanelForm.resources differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.CreateForm.resources b/ServCreator/ServCreator/obj/Release/ServCreator.CreateForm.resources new file mode 100644 index 0000000..3904612 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.CreateForm.resources differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.Form1.resources b/ServCreator/ServCreator/obj/Release/ServCreator.Form1.resources new file mode 100644 index 0000000..3904612 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.Form1.resources differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.PropertiesEditorForm.resources b/ServCreator/ServCreator/obj/Release/ServCreator.PropertiesEditorForm.resources new file mode 100644 index 0000000..3904612 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.PropertiesEditorForm.resources differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.ServerManagementForm.resources b/ServCreator/ServCreator/obj/Release/ServCreator.ServerManagementForm.resources new file mode 100644 index 0000000..3904612 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.ServerManagementForm.resources differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.UpgradeServerEngineForm.resources b/ServCreator/ServCreator/obj/Release/ServCreator.UpgradeServerEngineForm.resources new file mode 100644 index 0000000..3904612 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.UpgradeServerEngineForm.resources differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.csproj.CopyComplete b/ServCreator/ServCreator/obj/Release/ServCreator.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.csproj.CoreCompileInputs.cache b/ServCreator/ServCreator/obj/Release/ServCreator.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..e925ccc --- /dev/null +++ b/ServCreator/ServCreator/obj/Release/ServCreator.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +a9d36c4b25a6de1d5f16ecfed6f745ce9c1d3850 diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.csproj.FileListAbsolute.txt b/ServCreator/ServCreator/obj/Release/ServCreator.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..49ef090 --- /dev/null +++ b/ServCreator/ServCreator/obj/Release/ServCreator.csproj.FileListAbsolute.txt @@ -0,0 +1,23 @@ +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Release\ServManager for Minecraft.exe.config +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Release\ServManager for Minecraft.exe.manifest +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Release\ServManager for Minecraft.application +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Release\ServManager for Minecraft.exe +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Release\ServManager for Minecraft.pdb +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\bin\Release\Newtonsoft.Json.dll +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.csprojAssemblyReference.cache +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.AddServerForm.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.ControlPanelForm.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.CreateForm.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.Form1.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.PropertiesEditorForm.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServManager.Properties.Resources.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.ServerManagementForm.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.UpgradeServerEngineForm.resources +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.csproj.GenerateResource.cache +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.csproj.CoreCompileInputs.cache +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServManager for Minecraft.TrustInfo.xml +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServManager for Minecraft.exe.manifest +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServManager for Minecraft.application +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServCreator.csproj.CopyComplete +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServManager for Minecraft.exe +D:\GitHub (krzysiek-smaga@outlook.com)\ServCreator-for-Minecraft\ServCreator\ServCreator\obj\Release\ServManager for Minecraft.pdb diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.csproj.GenerateResource.cache b/ServCreator/ServCreator/obj/Release/ServCreator.csproj.GenerateResource.cache new file mode 100644 index 0000000..6d47986 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.csproj.GenerateResource.cache differ diff --git a/ServCreator/ServCreator/obj/Release/ServCreator.csprojAssemblyReference.cache b/ServCreator/ServCreator/obj/Release/ServCreator.csprojAssemblyReference.cache new file mode 100644 index 0000000..fcb839c Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServCreator.csprojAssemblyReference.cache differ diff --git a/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.TrustInfo.xml b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.TrustInfo.xml new file mode 100644 index 0000000..7aaa723 --- /dev/null +++ b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.TrustInfo.xml @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.application b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.application new file mode 100644 index 0000000..603c7e2 --- /dev/null +++ b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.application @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + qz9Q/16SfUiJ4HyH03gMCNGzzRBOye4Kxg/T8b9QBvw= + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/obj/Debug/ServCreator.exe b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.exe similarity index 84% rename from ServCreator/ServCreator/obj/Debug/ServCreator.exe rename to ServCreator/ServCreator/obj/Release/ServManager for Minecraft.exe index c49c7f7..fc37147 100644 Binary files a/ServCreator/ServCreator/obj/Debug/ServCreator.exe and b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.exe differ diff --git a/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.exe.manifest b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.exe.manifest new file mode 100644 index 0000000..8e5b702 --- /dev/null +++ b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.exe.manifest @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + eL7dn86HenGo2P+agTZi2CSDYeRnBcTvevxh1ED/Lus= + + + + + + + + + + + + AI1xE+S1px8T7Zw2ZHD4x/3JtMDYvY2V+Vb2LU8k4mY= + + + + + + + + + + sTVl/wCtpaPcGBVvzvUyZgY2HvslxdQu/zWyhlLw32M= + + + + + + + + + MdmSfKhnNMjnoAWn89xOQ8rq7auYvu3bZFm9xpE8I+E= + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.pdb b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.pdb new file mode 100644 index 0000000..352b78f Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServManager for Minecraft.pdb differ diff --git a/ServCreator/ServCreator/obj/Release/ServManager.Properties.Resources.resources b/ServCreator/ServCreator/obj/Release/ServManager.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/ServManager.Properties.Resources.resources differ diff --git a/ServCreator/ServCreator/obj/Release/TempPE/Properties.Resources.Designer.cs.dll b/ServCreator/ServCreator/obj/Release/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..f75982d Binary files /dev/null and b/ServCreator/ServCreator/obj/Release/TempPE/Properties.Resources.Designer.cs.dll differ