Instructions for Setting Up Your Own paper Minecraft Server on Almalinux

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

Install Java

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. Open the Firefox browser and go to:
https://www.oracle.com/java/technologies/downloads/

 

Click the link and download the "x64 RPM Package".

Next, click the folder icon for the downloaded file.

Double-click the file.

Click "Install".

 

Configure Firewall Settings

Open firewall settings:

 

From public Ports, click "+ Add".

 

Put 25565 as your port, then click "OK".

Download the Server Software.

First, reopen your browser and navigate to: https://files.minecraftforge.net/net/minecraftforge/forge/  Click "Installer" below "Download recommended".

 

Create a folder on your deasktop by right clicking, Create new Folder

 

Move the downloaded file to the new folder

 

Open the console and navigate to the folder:

cd Desktop
cd Server

 

Install the server:

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

 

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

 

 

A new console window will open, and more files will begin to appear in the folder. However, the server startup will fail because you need to accept the EULA.
Close the console, find and open the file named "eula.txt".

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

 

 

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

 

If the server runs successfully, the console window will look like this:

 

Joining the Game

First, open Minecraft and click on "Multiplayer."

 
 
Click "Add Server."
 
 
 
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.
 
 
Select the server you just added and click "Join Server."
 
 
 
Now let's add spongeforge.
Close the server by pressing Ctrl + C and then navigate to this site: https://spongepowered.org/downloads/spongeforge?minecraft=1.20.6&offset=0 then click "Download"
 
Open the server folder and search for the "Mods" folder, move the downloaded file there. If the folder doesn't exist, create it.
 
Restart the server  with the "run.sh" file, spongeforge should now be installed.
 
Plugins can be found from here: https://ore.spongepowered.org/
plugins are installed by simply moving the downloaded plugin files to the "plugins" folder (the file should be automatically added after the server has been started with spongeforge installed).
Was this answer helpful? 4 Users Found This Useful (8 Votes)