How to Join Spigot Servers

Posted on

Apparently, there are many people who look for the information about how to join Spigot server. For those who want to join a spigot server, you only have to use the standard MC client.

Now, we are going to explain how to run a Minecraft server using Spigot. For your information, Spigot is an open-source Java project which lets the users run their own Minecraft server and add plugins to extend the possibilities of their server. We get information that there are over 100,000 Spigot servers in existence today.


To use Spigot, you have to use their BuildTools utility to build and compile Spigot from source code. In order to use BuildTools, you need to install Java and git. To do that, you have to open a terminal and run this command: sudo dnf install java-1.8.0-openjdk git. After the command finishes, you have to prepare to compile Spigot. Please download the latest version of BuildTools from the Spigot Jenkins and place it into a new directory. After that, you have to open up a terminal and change directories into the directory you placed BuildTools in. To compile Spigot, you are able to run the following commands:

git config –global –unset core.autocrlf

java -jar BuildTools.jar

For note: the first command is important, because it ensure line endings are consistent so BuildTools works properly. Once BuildTools finishes running, a few different JAR files are going to appear in the directory. For your information, The Spigot team releases updates for CraftBukkit. Spigot is a CraftBukkit with some performance enhancements under the hood. Of course, you are going to want to use the Spigot JAR file.

After you have the spigot-1.x.x.jar file ready, it is time to move onto finally running your server. There are some methods to do that. We are going to use window manager software called tmux to let you run your server without needing to keep a terminal window open. Firstly, you need to install tmux from the Fedora repositories. In a terminal window, you have to run the following command: sudo dnf install tmux.

There are many ways to use tmux. But, for relevancy, this tutorial just covers basic usage. You will be able to read more about using tmux on other articles. For our purposes, we are going to make a tmux session, write a basic start-up script, and then run your Spigot server inside of the tmux session. Before we get rolling, you need to write your start-up script. This is able to be a one-line file, and should be named something like start-spigot.sh. Its contents should look something like this:

#!/bin/bash

java -Xms1024M -Xmx1024M -jar spigot.jar

Once writing this script, you will be able to place it in the same directory with your Spigot JAR file. Now, let’s move onto setting up tmux and running your server. Please run the following commands to set up your session:

tmux new -s minecraft

cd /path/to/spigot.jar

chmod +x start.sh

./start.sh

Finally, your Spigot server starts running and provides more instructions on your screen for setting up your server.

Leave a Reply

Your email address will not be published.