Upgrade Spigot on Ubuntu Server with Multicraft
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:
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:
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:
Go to the new directory using the command:
Load the “BuildTools.jar” file using the command:
The “BuildTools.jar” file is required to create a new version of Spigot.
Let’s make changes to the Git configuration using the command:
We start creating a new version of Spigot using the command:
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:
The old version is in the directory:
Let’s create a backup copy of the old version of Spigot using the command:
Let’s copy the new version of Spigot to the place of the old version using the command:
Let’s enable execution of the “spigot.jar” file using the command:
Let’s adjust the owner and group for the “spigot.jar” file using the command:
Please note that by default Multicraft runs as “minecraft” username. Therefore, the owner of the new version of Spigot must be the user “minecraft”.
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”.