diff --git a/CreatePlugin.Designer.cs b/CreatePlugin.Designer.cs
new file mode 100644
index 0000000..f2bedba
--- /dev/null
+++ b/CreatePlugin.Designer.cs
@@ -0,0 +1,128 @@
+namespace Minecraft_Server_GUI
+{
+ partial class CreatePlugin
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.button1 = new System.Windows.Forms.Button();
+ this.textBox3 = new System.Windows.Forms.TextBox();
+ this.button2 = new System.Windows.Forms.Button();
+ this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Segoe UI", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.label1.Location = new System.Drawing.Point(124, 9);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(184, 37);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Create Plugin!";
+ this.label1.Click += new System.EventHandler(this.label1_Click);
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(165, 58);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.PlaceholderText = "Plugin Name";
+ this.textBox1.Size = new System.Drawing.Size(100, 23);
+ this.textBox1.TabIndex = 1;
+ this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
+ //
+ // textBox2
+ //
+ this.textBox2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.textBox2.Location = new System.Drawing.Point(165, 101);
+ this.textBox2.Name = "textBox2";
+ this.textBox2.PlaceholderText = "Author";
+ this.textBox2.Size = new System.Drawing.Size(100, 23);
+ this.textBox2.TabIndex = 2;
+ this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(177, 178);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(75, 23);
+ this.button1.TabIndex = 3;
+ this.button1.Text = "Create";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // textBox3
+ //
+ this.textBox3.Location = new System.Drawing.Point(165, 140);
+ this.textBox3.Name = "textBox3";
+ this.textBox3.PlaceholderText = "Plugin Directory";
+ this.textBox3.Size = new System.Drawing.Size(100, 23);
+ this.textBox3.TabIndex = 4;
+ this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(271, 140);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(26, 23);
+ this.button2.TabIndex = 5;
+ this.button2.Text = "...";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // CreatePlugin
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(427, 216);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.textBox3);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.textBox2);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.label1);
+ this.Name = "CreatePlugin";
+ this.Text = "CreatePlugin";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private Label label1;
+ private TextBox textBox1;
+ private TextBox textBox2;
+ private Button button1;
+ private TextBox textBox3;
+ private Button button2;
+ private FolderBrowserDialog folderBrowserDialog1;
+ }
+}
\ No newline at end of file
diff --git a/CreatePlugin.cs b/CreatePlugin.cs
new file mode 100644
index 0000000..c0b9cd8
--- /dev/null
+++ b/CreatePlugin.cs
@@ -0,0 +1,111 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Diagnostics;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Minecraft_Server_GUI
+{
+ public partial class CreatePlugin : Form
+ {
+ public string pluginName;
+ public string pluginAuthor;
+ public string pluginPath;
+ public CreatePlugin()
+ {
+ InitializeComponent();
+ }
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void textBox1_TextChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ pluginName = textBox1.Text;
+ pluginAuthor = textBox2.Text;
+ pluginPath = textBox3.Text;
+ //Make All Plugin Files + Folders
+ try
+ {
+ System.IO.Directory.CreateDirectory(pluginPath + pluginName);
+ System.IO.Directory.CreateDirectory(pluginPath + "Dependencies");
+ FileStream fileStream = System.IO.File.Create(pluginPath + @"Dependencies\spigot-api-1.18.1.jar");
+ fileStream.Close();
+ string[] content = new string[]
+ {
+ Properties.Resources.spigot_api_1_18_1
+ };
+ System.IO.File.WriteAllLines(pluginPath + @"Dependencies\spigot-api-1.18.1.jar", content);
+ fileStream = System.IO.File.Create(pluginPath + pluginName + @"\" + pluginName + ".iml");
+ fileStream.Close();
+ content = new string[]
+ {
+ Properties.Resources.PluginName
+ };
+ System.IO.File.WriteAllLines(pluginPath + pluginName + @"\" + pluginName + ".iml", content);
+ System.IO.Directory.CreateDirectory(pluginPath + pluginName + @"\src");
+ fileStream = System.IO.File.Create(pluginPath + pluginName + @"\src\plugin.yml");
+ fileStream.Close();
+ content = new string[]
+ {
+ "name: " + pluginName,
+ "version: 1.0.0",
+ "author: " + pluginAuthor,
+ "main: com." + pluginAuthor + "." + pluginName + "." + pluginName,
+ "api-version: 1.18",
+ "commands:"
+ };
+ System.IO.File.WriteAllLines(pluginPath + pluginName + @"\src\plugin.yml", content);
+ System.IO.Directory.CreateDirectory(pluginPath + pluginName + @"\src\com\" + pluginAuthor + @"\" + pluginName);
+ fileStream = System.IO.File.Create(pluginPath + pluginName + @"\src\com\" + pluginAuthor + @"\" + pluginName + @"\" + pluginName + ".java");
+ fileStream.Close();
+ content = new string[]
+ {
+ "package com." + pluginAuthor + "." + pluginName + ";",
+ "",
+ "import org.bukkit.plugin.java.JavaPlugin;",
+ "import org.bukkit.ChatColor;",
+ "",
+ "public class " + pluginName + " extends JavaPlugin {",
+ "",
+ "\t@Override",
+ "\tpublic void onEnable() {",
+ "\t\tgetServer().getConsoleSender().sendMessage(ChatColor.GREEN + '[" + pluginName + "]: Plugin Loaded');",
+ "\t}",
+ "}"
+ };
+ System.IO.File.WriteAllLines(pluginPath + pluginName + @"\src\com\" + pluginAuthor + @"\" + pluginName + @"\" + pluginName + ".java", content);
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show(ex.Message);
+ Debug.WriteLine(ex.StackTrace);
+ }
+ this.Close();
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ //set plugin path
+ DialogResult dialogResult = folderBrowserDialog1.ShowDialog();
+ if (dialogResult == DialogResult.OK)
+ {
+ pluginPath = folderBrowserDialog1.SelectedPath + @"\";
+ }
+
+ textBox3.Text = pluginPath;
+ }
+ }
+}
diff --git a/CreatePlugin.resx b/CreatePlugin.resx
new file mode 100644
index 0000000..73c89a5
--- /dev/null
+++ b/CreatePlugin.resx
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/GetPlugin.Designer.cs b/GetPlugin.Designer.cs
new file mode 100644
index 0000000..ca71dc9
--- /dev/null
+++ b/GetPlugin.Designer.cs
@@ -0,0 +1,128 @@
+namespace Minecraft_Server_GUI
+{
+ partial class GetPlugin
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.button3 = new System.Windows.Forms.Button();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Segoe UI", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.label1.Location = new System.Drawing.Point(98, 9);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(188, 37);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Select A Mode";
+ this.label1.Click += new System.EventHandler(this.label1_Click);
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(156, 167);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(75, 23);
+ this.button1.TabIndex = 1;
+ this.button1.Text = "Close";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(39, 66);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(75, 23);
+ this.button2.TabIndex = 2;
+ this.button2.Text = "Browse";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(279, 66);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(75, 23);
+ this.button3.TabIndex = 3;
+ this.button3.Text = "Create";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.Image = global::Minecraft_Server_GUI.Properties.Resources.GearPluginIcon;
+ this.pictureBox1.Location = new System.Drawing.Point(172, 90);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(38, 32);
+ this.pictureBox1.TabIndex = 4;
+ this.pictureBox1.TabStop = false;
+ //
+ // folderBrowserDialog1
+ //
+ this.folderBrowserDialog1.Description = "Select A Plugin";
+ this.folderBrowserDialog1.HelpRequest += new System.EventHandler(this.folderBrowserDialog1_HelpRequest);
+ //
+ // GetPlugin
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.SystemColors.Control;
+ this.ClientSize = new System.Drawing.Size(393, 202);
+ this.ControlBox = false;
+ this.Controls.Add(this.pictureBox1);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.label1);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "GetPlugin";
+ this.Text = "Mode Select";
+ this.Load += new System.EventHandler(this.GetPlugin_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private Label label1;
+ private Button button1;
+ private Button button2;
+ private Button button3;
+ private PictureBox pictureBox1;
+ private FolderBrowserDialog folderBrowserDialog1;
+ }
+}
\ No newline at end of file
diff --git a/GetPlugin.cs b/GetPlugin.cs
new file mode 100644
index 0000000..fe91657
--- /dev/null
+++ b/GetPlugin.cs
@@ -0,0 +1,83 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Minecraft_Server_GUI
+{
+ public partial class GetPlugin : Form
+ {
+ public string pluginPath;
+ public string pluginName;
+ public string pluginVersion;
+ public string pluginAuthor;
+ public static GetPlugin getPlugin;
+ public GetPlugin()
+ {
+ InitializeComponent();
+ getPlugin = this;
+ }
+
+ private void GetPlugin_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ //Close Window
+ this.Close();
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ //Browse For A Plugin
+
+ DialogResult dialogResult = folderBrowserDialog1.ShowDialog();
+ if (dialogResult == DialogResult.OK)
+ {
+ pluginPath = folderBrowserDialog1.SelectedPath + @"\";
+
+ if (File.Exists(pluginPath + @"src\plugin.yml"))
+ {
+ DialogResult msgboxResult = MessageBox.Show("This Is A Real Plugin! Press Ok To Continue :)");
+ if (msgboxResult == DialogResult.OK)
+ {
+ string[] pluginNameTemp;
+ pluginNameTemp = folderBrowserDialog1.SelectedPath.Split(@"\");
+ pluginName = pluginNameTemp[pluginNameTemp.Length - 1];
+ PluginMain pluginMain = new PluginMain();
+ pluginMain.Show();
+ this.Close();
+ }
+ }
+ else
+ {
+ MessageBox.Show("This Is Not A Real Plugin :(");
+ }
+ }
+ }
+
+ private void folderBrowserDialog1_HelpRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ CreatePlugin createPlugin = new CreatePlugin();
+ createPlugin.Show();
+ this.Close();
+ }
+ }
+}
diff --git a/GetPlugin.resx b/GetPlugin.resx
new file mode 100644
index 0000000..73c89a5
--- /dev/null
+++ b/GetPlugin.resx
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs
index 52a06e5..0652605 100644
--- a/MainForm.Designer.cs
+++ b/MainForm.Designer.cs
@@ -35,6 +35,7 @@ private void InitializeComponent()
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.startButton = new System.Windows.Forms.ToolStripButton();
this.settingsButton = new System.Windows.Forms.ToolStripButton();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.stopButton = new System.Windows.Forms.ToolStripButton();
this.commandButton = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
@@ -177,6 +178,7 @@ private void InitializeComponent()
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.startButton,
this.settingsButton,
+ this.toolStripButton1,
this.stopButton,
this.commandButton,
this.toolStripButton4});
@@ -207,6 +209,17 @@ private void InitializeComponent()
this.settingsButton.Text = "Settings";
this.settingsButton.Click += new System.EventHandler(this.settingsButton_Click);
//
+ // toolStripButton1
+ //
+ this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.toolStripButton1.Image = global::Minecraft_Server_GUI.Properties.Resources.floppy_drive_3_5_3;
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton1.Name = "toolStripButton1";
+ this.toolStripButton1.Size = new System.Drawing.Size(24, 24);
+ this.toolStripButton1.Text = "toolStripButton1";
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+ //
// stopButton
//
this.stopButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@@ -491,6 +504,7 @@ private void InitializeComponent()
0,
0,
0});
+ this.numericUpDown7.ValueChanged += new System.EventHandler(this.numericUpDown7_ValueChanged);
//
// label11
//
@@ -1407,5 +1421,6 @@ private void InitializeComponent()
private ToolStripButton stopButton;
private ToolStripButton commandButton;
private ToolStripButton toolStripButton4;
+ private ToolStripButton toolStripButton1;
}
}
\ No newline at end of file
diff --git a/MainForm.cs b/MainForm.cs
index 406251c..77ae3a6 100644
--- a/MainForm.cs
+++ b/MainForm.cs
@@ -983,7 +983,6 @@ public MainForm()
StartServer();
}
}
-
private void settingsButton_Click(object sender, EventArgs e)
{
// Show the settings form
@@ -1101,5 +1100,17 @@ private void stopButton_Click(object sender, EventArgs e)
inputWriter.WriteLine(inputText);
}
}
+
+ private void toolStripButton1_Click(object sender, EventArgs e)
+ {
+ //Open Get Plugin Window
+ GetPlugin getPlugin = new GetPlugin();
+ getPlugin.ShowDialog();
+ }
+
+ private void numericUpDown7_ValueChanged(object sender, EventArgs e)
+ {
+
+ }
}
}
diff --git a/PluginMain.Designer.cs b/PluginMain.Designer.cs
new file mode 100644
index 0000000..33b7425
--- /dev/null
+++ b/PluginMain.Designer.cs
@@ -0,0 +1,154 @@
+namespace Minecraft_Server_GUI
+{
+ partial class PluginMain
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.tabControl1 = new System.Windows.Forms.TabControl();
+ this.AddElement = new System.Windows.Forms.TabPage();
+ this.ViewElements = new System.Windows.Forms.TabPage();
+ this.PluginInfo = new System.Windows.Forms.TabPage();
+ this.PvInput = new System.Windows.Forms.TextBox();
+ this.PluginVersion = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.tabControl1.SuspendLayout();
+ this.PluginInfo.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Segoe UI", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.label1.Location = new System.Drawing.Point(166, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(179, 37);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "[PluginName]";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.label1.Click += new System.EventHandler(this.label1_Click);
+ //
+ // tabControl1
+ //
+ this.tabControl1.Controls.Add(this.AddElement);
+ this.tabControl1.Controls.Add(this.ViewElements);
+ this.tabControl1.Controls.Add(this.PluginInfo);
+ this.tabControl1.Location = new System.Drawing.Point(12, 49);
+ this.tabControl1.Name = "tabControl1";
+ this.tabControl1.SelectedIndex = 0;
+ this.tabControl1.Size = new System.Drawing.Size(493, 426);
+ this.tabControl1.TabIndex = 1;
+ //
+ // AddElement
+ //
+ this.AddElement.Location = new System.Drawing.Point(4, 24);
+ this.AddElement.Name = "AddElement";
+ this.AddElement.Padding = new System.Windows.Forms.Padding(3);
+ this.AddElement.Size = new System.Drawing.Size(485, 398);
+ this.AddElement.TabIndex = 0;
+ this.AddElement.Text = "Add Element";
+ this.AddElement.UseVisualStyleBackColor = true;
+ //
+ // ViewElements
+ //
+ this.ViewElements.Location = new System.Drawing.Point(4, 24);
+ this.ViewElements.Name = "ViewElements";
+ this.ViewElements.Padding = new System.Windows.Forms.Padding(3);
+ this.ViewElements.Size = new System.Drawing.Size(485, 398);
+ this.ViewElements.TabIndex = 1;
+ this.ViewElements.Text = "View Elements";
+ this.ViewElements.UseVisualStyleBackColor = true;
+ //
+ // PluginInfo
+ //
+ this.PluginInfo.Controls.Add(this.PvInput);
+ this.PluginInfo.Controls.Add(this.PluginVersion);
+ this.PluginInfo.Controls.Add(this.label2);
+ this.PluginInfo.Location = new System.Drawing.Point(4, 24);
+ this.PluginInfo.Name = "PluginInfo";
+ this.PluginInfo.Size = new System.Drawing.Size(485, 398);
+ this.PluginInfo.TabIndex = 2;
+ this.PluginInfo.Text = "Plugin Info";
+ this.PluginInfo.UseVisualStyleBackColor = true;
+ //
+ // PvInput
+ //
+ this.PvInput.Location = new System.Drawing.Point(100, 47);
+ this.PvInput.Name = "PvInput";
+ this.PvInput.Size = new System.Drawing.Size(126, 23);
+ this.PvInput.TabIndex = 5;
+ this.PvInput.TextChanged += new System.EventHandler(this.PvInput_TextChanged);
+ //
+ // PluginVersion
+ //
+ this.PluginVersion.AutoSize = true;
+ this.PluginVersion.Location = new System.Drawing.Point(12, 50);
+ this.PluginVersion.Name = "PluginVersion";
+ this.PluginVersion.Size = new System.Drawing.Size(82, 15);
+ this.PluginVersion.TabIndex = 2;
+ this.PluginVersion.Text = "Plugin Version";
+ this.PluginVersion.Click += new System.EventHandler(this.PluginVersion_Click);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("Segoe UI", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.label2.Location = new System.Drawing.Point(12, 10);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(104, 28);
+ this.label2.TabIndex = 0;
+ this.label2.Text = "plugin.yml";
+ //
+ // PluginMain
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(517, 487);
+ this.Controls.Add(this.tabControl1);
+ this.Controls.Add(this.label1);
+ this.Name = "PluginMain";
+ this.Text = "PluginMain";
+ this.tabControl1.ResumeLayout(false);
+ this.PluginInfo.ResumeLayout(false);
+ this.PluginInfo.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private Label label1;
+ private TabControl tabControl1;
+ private TabPage AddElement;
+ private TabPage ViewElements;
+ private TabPage PluginInfo;
+ private Label label2;
+ private Label PluginVersion;
+ private TextBox PvInput;
+ }
+}
\ No newline at end of file
diff --git a/PluginMain.cs b/PluginMain.cs
new file mode 100644
index 0000000..eb08dbb
--- /dev/null
+++ b/PluginMain.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Minecraft_Server_GUI
+{
+ public partial class PluginMain : Form
+ {
+ public string pluginName;
+ public string pluginVersion;
+ public string pluginAuthor;
+ public PluginMain()
+ {
+ InitializeComponent();
+ pluginName = GetPlugin.getPlugin.pluginName;
+ label1.Text = pluginName;
+ }
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void PvInput_TextChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ private void PluginVersion_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/PluginMain.resx b/PluginMain.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/PluginMain.resx
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs
index 2129593..b35a757 100644
--- a/Properties/Resources.Designer.cs
+++ b/Properties/Resources.Designer.cs
@@ -1,135 +1,197 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace Minecraft_Server_GUI.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // 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", "17.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// 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 (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Minecraft_Server_GUI.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// 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 {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap about {
- get {
- object obj = ResourceManager.GetObject("about", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap console {
- get {
- object obj = ResourceManager.GetObject("console", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap icon {
- get {
- object obj = ResourceManager.GetObject("icon", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap settings {
- get {
- object obj = ResourceManager.GetObject("settings", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap start {
- get {
- object obj = ResourceManager.GetObject("start", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
- ///
- /// Looks up a localized string similar to @echo off
- ///java -Xmx1G -jar server.jar
- ///echo Server has stopped!
- ///exit.
- ///
- internal static string startServer {
- get {
- return ResourceManager.GetString("startServer", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap stop {
- get {
- object obj = ResourceManager.GetObject("stop", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
- }
-}
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Minecraft_Server_GUI.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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", "17.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// 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 (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Minecraft_Server_GUI.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// 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 {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap about {
+ get {
+ object obj = ResourceManager.GetObject("about", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap console {
+ get {
+ object obj = ResourceManager.GetObject("console", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap floppy_drive_3_5_3 {
+ get {
+ object obj = ResourceManager.GetObject("floppy_drive_3_5-3", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap GearPluginIcon {
+ get {
+ object obj = ResourceManager.GetObject("GearPluginIcon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap icon {
+ get {
+ object obj = ResourceManager.GetObject("icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to <?xml version="1.0" encoding="UTF-8"?>
+ ///<module type="JAVA_MODULE" version="4">
+ /// <component name="FacetManager">
+ /// <facet type="minecraft" name="Minecraft">
+ /// <configuration>
+ /// <autoDetectTypes>
+ /// <platformType>SPIGOT</platformType>
+ /// </autoDetectTypes>
+ /// </configuration>
+ /// </facet>
+ /// </component>
+ /// <component name="NewModuleRootManager" inherit-compiler-output="true">
+ /// <exclude-output />
+ /// <content url="file://$MODULE_DIR$">
+ /// <sourceFolder url="file:/ [rest of string was truncated]";.
+ ///
+ internal static string PluginName {
+ get {
+ return ResourceManager.GetString("PluginName", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap settings {
+ get {
+ object obj = ResourceManager.GetObject("settings", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to PK{³ST¿’×.><META-INF/MANIFEST.MFóMÌËLK-.Ñ
///K-*ÎÌϳR0Ô3àår,-ÉÏM,ÉLÖõÍO)ÍIÕõKÌMµRÈ/J×K*ÍÎÎ,áåâåPK
+ ///{³ST META-INF/PK
+ ///{³STorg/PK
+ ///{³STorg/bukkit/PK
+ ///{³STorg/bukkit/advancement/PK
+ ///{³STorg/bukkit/attribute/PK
+ ///{³STorg/bukkit/block/PK
+ ///{³STorg/bukkit/block/banner/PK
+ ///{³STorg/bukkit/block/data/PK
+ ///{³ST [rest of string was truncated]";.
+ ///
+ internal static string spigot_api_1_18_1 {
+ get {
+ return ResourceManager.GetString("spigot_api_1_18_1", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap start {
+ get {
+ object obj = ResourceManager.GetObject("start", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to @echo off
+ ///echo start
+ ///java -Xmx1G -jar server.jar
+ ///echo Server has stopped!
+ ///exit.
+ ///
+ internal static string startServer {
+ get {
+ return ResourceManager.GetString("startServer", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap stop {
+ get {
+ object obj = ResourceManager.GetObject("stop", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/Properties/Resources.resx b/Properties/Resources.resx
index b0ee343..e94f5ff 100644
--- a/Properties/Resources.resx
+++ b/Properties/Resources.resx
@@ -118,25 +118,37 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ ..\startServer.bat;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
..\Resources\stop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\start.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\console.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\startServer.bat;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+ ..\Resources\about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\GearPluginIcon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\floppy_drive_3_5-3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\spigot-api-1.18.1.jar;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252
+
+
+ ..\Resources\PluginName.iml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252
\ No newline at end of file
diff --git a/Resources/GearPluginIcon.png b/Resources/GearPluginIcon.png
new file mode 100644
index 0000000..6600aa9
Binary files /dev/null and b/Resources/GearPluginIcon.png differ
diff --git a/Resources/PluginName.iml b/Resources/PluginName.iml
new file mode 100644
index 0000000..fb951dd
--- /dev/null
+++ b/Resources/PluginName.iml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+ SPIGOT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Resources/floppy_drive_3_5-3.png b/Resources/floppy_drive_3_5-3.png
new file mode 100644
index 0000000..3fe7961
Binary files /dev/null and b/Resources/floppy_drive_3_5-3.png differ
diff --git a/Resources/spigot-api-1.18.1.jar b/Resources/spigot-api-1.18.1.jar
new file mode 100644
index 0000000..9057804
Binary files /dev/null and b/Resources/spigot-api-1.18.1.jar differ