This article is for those looking for a detailed and clear guide on how to upgrade spigot on Ubuntu Server with Multicraft.

Spigot is a modified Minecraft server built on top of the CraftBukkit core. Spigot is known for its stability, performance, support for a large number of plugins and is intended to replace CraftBukkit.

In this guide, we will consider the case when you already have a server with the Ubuntu Server 22.04 LTS operating system installed on it.

You can read more about how to install Ubuntu Server 22.04 LTS in my guide “Install Ubuntu Server 22.04 LTS”.

Also, the server must have Multicraft, OpenJDK and Git installed.

You can find out how to install Multicraft on Ubuntu Server by reading “Install Multicraft on Ubuntu Server”.

To install OpenJDK and Git on the server, you can use the command:

sudo apt install -y default-jdk git

In addition, OpenSSH must be installed on the server, and port 22 must be open in order to be able to connect to the server using the SSH protocol.

To install OpenSSH on a server, you can use the command:

sudo apt install openssh-server

If you plan to connect to the server using the Windows operating system, you can use PuTTY or MobaXterm.

This guide describes how to connect to a server using the iTerm2 terminal emulator installed on the macOS operating system.

We connect to the Multicraft server on which we plan to update Spigot.

Let’s create a new directory that we need to create a new version of Spigot using the command:

sudo mkdir BuildTools

Upgrade Spigot on Ubuntu Server with Multicraft

Go to the new directory using the command:

cd BuildTools

Upgrade Spigot on Ubuntu Server with Multicraft

Load the “BuildTools.jar” file using the command:

sudo wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar

The “BuildTools.jar” file is required to create a new version of Spigot.

Upgrade Spigot on Ubuntu Server with Multicraft

Let’s make changes to the Git configuration using the command:

sudo git config --global --unset core.autocrlf

Upgrade Spigot on Ubuntu Server with Multicraft

We start creating a new version of Spigot using the command:

sudo java -jar BuildTools.jar

Upgrade Spigot on Ubuntu Server with Multicraft

The new version of Spigot has been successfully created and is available in the previously created “BuildTools” directory.

Now you need to replace the old version of Spigot with the new one so that Spigot starts correctly with Multicraft.

This guide covers updating Spigot on a server with the Multicraft control panel installed.

Find the location of the old version of Spigot using the command:

sudo find / -name 'spigot*.jar'

Upgrade Spigot on Ubuntu Server with Multicraft

The old version is in the directory:

/home/minecraft/multicraft/jar/

Let’s create a backup copy of the old version of Spigot using the command:

sudo mv /home/minecraft/multicraft/jar/spigot.jar /home/minecraft/multicraft/jar/spigot.jar.old

Upgrade Spigot on Ubuntu Server with Multicraft

Let’s copy the new version of Spigot to the place of the old version using the command:

sudo cp /home/ubuntu/BuildTools/spigot-* /home/minecraft/multicraft/jar/spigot.jar

Upgrade Spigot on Ubuntu Server with Multicraft

Let’s enable execution of the “spigot.jar” file using the command:

sudo chmod +x /home/minecraft/multicraft/jar/spigot.jar

Upgrade Spigot on Ubuntu Server with Multicraft

Let’s adjust the owner and group for the “spigot.jar” file using the command:

sudo chown -R minecraft:minecraft /home/minecraft/multicraft/jar/spigot.jar

Please note that by default Multicraft runs as “minecraft” username. Therefore, the owner of the new version of Spigot must be the user “minecraft”.

Upgrade Spigot on Ubuntu Server with Multicraft

The Spigot update has been successfully completed and you can now correctly launch the modified Minecraft server using Multicraft.

For details on how to start a Minecraft server using Multicraft, you can read my guide “Run a Minecraft Server with Multicraft”.

My Services

💼 Take a look at my service catalog and find out how we can make your technological life better. Whether it’s increasing the efficiency of your IT infrastructure, advancing your career, or expanding your technological horizons — I’m here to help you achieve your goals. From DevOps transformations to building gaming computers — let’s make your technology unparalleled!

Refill the Author’s Coffee Supplies

💖 PayPal
🏆 Patreon
💎 GitHub
🥤 BuyMeaCoffee
🍪 Ko-fi

Vladimir Mikhalev
I’m Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.

DevOps Community

hey 👋 If you have questions about installation or configuration, then ask me and members of our community: