When you are starting and customizing your Spigot server, you will need to use run bat or start bat. Now, we are going to share the information related to using run bat. If you want to know this information, make sure that you do not go anywhere.
Usually, to start Spigot server, you have to download the latest BuildToolsGUI.exe first. To use this program, you have to own .NET 4.5 installed. If you have already used your PC/computer for a while, you may already have it. If not, you have to get the installer now. The next step in starting server is preparing your server. You have to open the BuildToolsGUI.exe file.
Additionally, you will be able to change the version with the drop-down menu. Then, you are able to click “Run BuildTools”. It is going to start running. You have to wait a few seconds until it has finished running. Usually this is going to take a while, depending on your connection and your computer.
After it is done running, you are able to open the BuildTools folder created in the same directory as the executable. Then, you have to make a folder on your desktop named “Spigot”. You are able to copy the file “spigot-1.x.x” to the Spigot folder, and rename it to spigot. Afterwards, you can open a text editor such as Notepad, and paste the following code in:
java -Xmx1024M -Xms1024M -jar spigot.jar
In your text editor, you are able to select File > Save As, and navigate to the Spigot directory. Then, you are able to change the name of the file to run.bat.
You have to double-click your run.bat to start your Spigot server, in the Spigot directory. Then, you have to open eula.txt in the Spigot directory, and change eula=false to eula=true. The last step that you have to do is to double-click run.bat again to start the server. Several new files will be created in the Spigot directory. Now, your Spigot server is up and running. To connect to it, you have to open the version of Minecraft your server is on, please click Multiplayer, then Direct Connect, and type in localhost as the server IP. Please connect to the world that was generated.
This is time for you to customize your server. With the Command Window still open, you have to type op and press Enter. You are an operator and have the privileges to execute commands on the server. Remember that another file for playing around in is the server properties file. You will need to open it up with a text editor and play around. Of course, there are many tutorials around the internet that show what these various options do. After you are done on your server, you have to type stop into the console to stop the server. For installing a plugin, please place it in the Plugins folder in your Spigot directory. For starting your server again, you only need to double-click run.bat.