Instructions for Setting Up Your Own spongeforge Minecraft Server on Ubuntu Linux

In this guide, we explain how to set up your own Minecraft server using the KDE Plasma graphical interface.

Guide for Remote Desktop Management if You Haven’t Installed It on Your VPS Yet (Required)

A Minecraft server requires Java to function. The latest Minecraft version is incompatible with the Java version included in Ubuntu 22.04, so you’ll need a newer one.

 

Create a new user:

Click the Kubuntu logo in the bottom left corner.
Opening the application menu.

 

Click on the search bar and type 'users', then open the 'Users' application.
Searching for and opening the Users application.

 

In the Users application, click on "Add New User".
Creating a new user.

 

Enter the user's details in the fields inside the red square. (NOTE! Uppercase letters are not allowed in the Username field!)
Entering the new user's information.

 

Next, we will make the user an administrator:

Click on "Account type".
Opening the user privileges menu.

 

Then click on "Administrator".
Setting the new user as an administrator.

 

Now click the "Create" button.
Creating a new administrator user.

Next, log in with the user account you just created.

 

Install Java

Open the Firefox browser
Opening the browser.

 

Copy the address https://www.oracle.com/java/technologies/downloads/ and paste it into the search bar.
Pasting the address into the browser's search bar.

 

 

Download the "x64 Debian Package".
Downloading the Java .deb file.

Next, click the folder icon for the downloaded file.
Going to the Downloads folder.

Double-click the file.
Opening the Java file.

 

Click "Install Package". (If the "Install Package" button doesn’t do anything, scroll down a bit to the section: "Manual installation if the 'Install Package' button doesn’t do anything:")
Installing java.

Finally, click "Close".
Closing the installation page after the installation.

 

Manual installation if the "Install Package" button doesn’t do anything:

If the "Install Package" button didn’t do anything, open the Konsole application.
Opening the console if the package install button didn’t work.

 

In the terminal, navigate to the downloads folder using the "cd" command. Copy the command below and paste it into the terminal, then press Enter. (To paste text into the terminal, press Shift + Ctrl + V)

cd Downloads/

In the console, navigating to the Downloads folder.

 

Then copy the command below, paste it into the terminal, and press Enter. (Make sure the .deb file name matches the one you downloaded earlier!)

sudo dpkg -i jdk-25_linux-x64_bin.deb

Pasting the manual installation command into the console.

 

Then type "cd" to leave the /Downloads directory.
Exiting the Downloads folder.

 

Configure Firewall Settings:

Open the terminal
Openinig the console.

 

Install the gufw firewall manager by copying the command below and pasting it into the terminal. After pasting the command, press Enter.

sudo apt install gufw

Installing gufw firewall management.

 

Click the Kubuntu logo in the bottom left corner.
Opening the application menu.

 

Type "gufw" in the search bar and click on the "Firewall Configuration" application.
Searching for and opening gufw firewall management.

 

If this page appears when you open gufw, enter your password and click OK.
Entering the user's password if gufw asks for a password.

 

Once you're in gufw, click on the "Rules" tab.
Navigating to the Rules page in gufw.

 

Click the "+" button at the bottom.
Creating a new firewall rule.

 

Select "Simple" at the top.
Switching to the Simple tab.

 

Then enter the information as shown in the image below.
Entering information into the firewall.

 

When you’re done, click the "+ Add" button.
Creating a new firewall rule.

 

Download the Server Software.

First, reopen your browser and copy this address: https://files.minecraftforge.net/net/minecraftforge/forge/ into the address bar, then press Enter.
Pasting the link into the browser's search bar.

 

Once you reach the page, click on "Installer". (If you want, you can select a different Minecraft version from the "Minecraft Version" dropdown.)
Downloading Minecraft Forge.

 

When you click the "Installer" button, a page like this will appear. Wait a moment and then click the "SKIP" button when it appears in the top right corner. (Once the installation is complete, you can close the web browser.)
Clicking the skip button on the advertisement page.

 

 

Go to the desktop and create a folder by right-clicking, then selecting Create New > Folder.
Creating the server folder on the desktop.

 

Name the folder, for example: "McServer".
Naming the server folder.

 

Open File Manager.
Opening the File Manager.

 

In the File Manager, click on "Downloads".
Navigating to the Downloads folder.

 

In the Downloads folder, right-click the Forge file and then click "Cut".
Cutting the forge file.

 

Then open the folder you just created.
Navigating to the server's folder.

 

When you're inside the folder, right-click on an empty spot and then click "Paste One File".
Pasting the Forge file into the server folder.

 

The file is now in the folder you created for the server.
Forge file in the server folder.

 

Open the terminal and paste the commands below into the terminal. (NOTE! Use your folder’s name instead of McServer in the cd command if you named your folder differently. For example, if you named it Server, the command would be cd Server)

cd Desktop
cd McServer

Navigating to the server folder via the console.

 

Install the server:

java -jar [forge file name].jar --installServer

Installing the Forge file into the server folder.

 

Many files will now appear in the folder, one of them being "run.sh", right click it and then click "Run in Konsole"
Starting the server.

 

Next, a new terminal window will open and more files will start appearing in the folder, but the server won’t start because it requires the "eula" to be accepted.
EULA must be accepted error.

 

Close the terminal, then locate and open the file named "eula.txt".
Navigating to the eula.txt file in the server folder.

 

Edit the text so that the third line reads "eula=true" instead of "eula=false". Save and close the file following the earlier instructions.Accepting the EULA.

 

 

Start the server again: Right-click run.sh and select "Run in Konsole".
Restarting the server.

If the server runs successfully, the console window will look like this:A picture of a successfully started Minecraft server.

Joining the Game

First, open Minecraft and click on "Multiplayer."Opening the multiplayer page in Minecraft.

 
 
Click "Add Server."
Adding a server in Minecraft.
 
 
Enter your VPS Server's IP address in the "Server Address" field. (This is the same address you use every time you connect to the remote desktop.) and after it comes (:) and server port which can be found in the console windows on the server as shown below.
The server port in the run.sh file.
Connecting to the server using the IP address and server port.
 
 
Select the server you just added and click "Join Server."
The server in Minecraft's server list.
 
 

Now let's install spongeforge:

Close the server by pressing Ctrl + C and then navigate to this site: https://spongepowered.org/
SpongeForge website.

 

When you are on the SpongeForge page, click the 'Downloads' button.
Clicking the 'Downloads' button on the SpongeForge website.

 

Then click the 'Download' button under the SPONGEFORGE section.
Clicking the 'Download' button under SPONGEFORGE.

 

Then click the arrow button.
Clicking the arrow button to display the version menu.

 

Then select your server's Minecraft version from the list.
Selecting the SpongeForge version.

 

Click the 'Download' button (If your version on the download page says 'LATEST RECOMMENDED BUILD', click the Download button for that one.)
Downloading the SpongeForge file.

 

Open the File Manager
Opening the File Manager.

 

Go to the Downloads folder.
Navigating to the Downloads folder.

 

Right-click on the file you just downloaded, then click on 'Cut'.
Cutting the SpongeForge file.

 

 

Open the server folder and search for the "Mods" folder and move the downloaded file there. If the folder doesn't exist, create it.

Opening the server's mods folder.

 

Inside the Mods folder, right-click on an empty space, then click on 'Paste One File'.
Pasting the SpongeForge file into the mods folder.

 

Go back to your server folder and start 'run.sh' by right-clicking on 'run.sh', then clicking on 'Run in Konsole'.
Restarting the server.

Spongeforge should now be installed.

 

Plugins can be found from here: https://ore.spongepowered.org/

A plugin is installed by moving the downloaded files to the 'plugins' folder (the folder should appear automatically inside the 'mods' subfolder after the server has been started with SpongeForge installed).

Was this answer helpful? 4 Users Found This Useful (8 Votes)