Tutorials/Setting up a Spigot server
Note: If you are trying to set up a vanilla server, you are on the wrong page. This is to set up the modded server SpigotMC or the dwindling Bukkit. If you want to install an unmodified ("Vanilla") Minecraft Server, please refer to Tutorials/Setting up a server.
So, you have been using the vanilla server for two weeks, and things have been getting boring. You want a server with more customization features to use, and an easy to set up and use interface. You want Spigot. This page will show you how to easily set up a server and have your friends come on, and a list of must have plugins, or mods used on a server.
Spigot is updated for full 1.8.X functionality.
Preliminary Prep[edit | edit source]
- Create 2 folders on your desktop, one named Spigot Server and the other named Spigot Patches.
Obtaining the files[edit | edit source]
Two files need to be obtained: One (.bps) is very easy to acquire on Spigot's website, but the other (.jar) must be obtained on your own terms.
- Go to spigotmc.org and find the most recent post beginning with: Hi guys, This thread marks the release of another Spigot update. The following changes have been included.
- Click "Continue Reading" and click the link ending in .bps to download a patch to update Spigot. Save this file into your Spigot Patches folder as bps1.bps.
- Click the link ending in .jar and save this file as SpigotPatcher.jar into the Spigot Patches folder.
- Obtain Spigot build #1649. This build MUST have the md5 checksum of f2edc09c45b1f80237602dc0d1b05969, or else it is the wrong build or a fraud. Help cannot be provided in obtaining this file, but please remember to do so legally. Save this file into Spigot Patches as spigot-1649.jar.
- Open a Command Terminal (⊞ Windows+R, type cmd, and press Enter) and run command:
java -jar SpigotPatcher.jar /path/to/spigot-1649.jar /path/to/patch.bps /path/to/output.jar
- A file should be created called spigot.jar. Move this to the Spigot Server folder. Do NOT delete spigot-1649.jar, as you will need it for the next update.
Prepping the server[edit | edit source]
We should now have three files: Spigot Patcher.jar and bps1.bps, both in Spigot Patches, and spigot.jar in Spigot Server. The only file needed of these three to actually run the server is spigot.jar, but we needed the other files to get spigot.jar in the first place. Now, we need to tell Windows how to handle spigot.jar, and for that, we'll create a Batch file.
- In Spigot Server, create a new text document, and copy and paste this text into it:
java -Xmx1024M -jar spigot.jar -o true PAUSE
- Save the file as run.bat as a Windows Batch file .bat, NOT .txt, as Notepad will do by default. To avoid this, place run.bat in quotes: "run.bat".
Starting the server for the first time[edit | edit source]
Now that Windows knows what to do with spigot.jar, we can get started in actually running the server.
- Double-click your run.bat in Spigot Server. A Command Window will open. Don't touch it, and let it do its work.
- Some more files will be appearing in Spigot Server. The only one to concentrate on right now is eula.txt.
- When the Command Window is done, close it.
- Double-click eula.txt to open it, go to the link in the file, read the EULA, and, once you have read it, change eula=false to eula=true and save the file.
- Double-click run.bat again to start the server. Even more files should be appearing. Do NOT close the Command Window during the next step.
- Before we do anything else, launch Minecraft, 1.7.X, OR 1.8, doesn't matter. Click Multiplayer, then Direct Connect, and type in localhost as the server IP
CONGRATULATIONS! You've made a Spigot server. Now to play around with it.
Customizing your server[edit | edit source]
With the Command Window still open, type op <yourusername> and hit Enter. You have been opped. Another file to play around in is the server.properties file. Open it up with a decent text editor and play around. There is only a handful of reasons to change the server-ip field. One would be if you are using a BungeeCord system. When you are done on your server, type stop into the console to stop the server.
All you need to do now is port forward. Port forwarding is simple once you get the hang of it.. Port forwarding is the part of running a server that drives all amateurs nuts. To teach you port forwarding, click here for a tutorial.