Setting Up a Minecraft Server with Forge and SpongeForge: Mods and Plugins

8 min readUpdated May 23, 2026

Mods always make the game more interesting, especially when they are running on a server.

Before continuing, do not forget to install JDK 25: Ubuntu / Debian.

#Installing the cores

We create a directory for our server.

Empty directory of a new server in a file manager

Using wget, download the archive with a clean Vanilla + Forge 1.12.2 build.

bash
wget https://mirror.spacecore.info/minecraft/vanilla-1.12.2+forge-1.12.2-14.23.5.2854.zip
Terminal: wget downloading the vanilla+forge archive

Next, download the latest SpongeForge 1.12.2 core.

bash
wget https://mirror.spacecore.info/minecraft/spongeforge-1.12.2-2838-7.3.0.jar
Terminal: wget downloading the SpongeForge jar

Unpack the archive with the following command.

bash
unzip vanilla-1.12.2+forge-1.12.2-14.23.5.2854.zip
Terminal: unpacking the archive with libraries and cores

The core and library files have been unpacked. Here is what we got.

Server file list after unpacking the archive

Now we need to launch the file forge-1.12.2-14.23.5.2854.jar with the following command.

bash
java -Xms512M -Xmx2G -jar forge-1.12.2-14.23.5.2854.jar

You can read more about startup parameters in a separate article.

Server message about needing to accept the eula

Now we need to confirm the agreement in the eula.txt file.

The eula.txt file with the parameter eula=true

When the command is run again, the server starts successfully.

Startup log of a Minecraft server with the Forge core

Shut down the server. Now, for the Sponge core to work, we need to send it to the mods folder.

Server directory with all the generated subfolders, including mods

Let us start it again. Our server is now running with the SpongeForge core.

Startup log of a server with the SpongeForge core enabled

#Installing mods

As an example we will use Divine RPG 1.12.2.

Remember to install the mod on the client side as well.

Upload the mod to the mods folder.

The mods folder with DivineRPG and SpongeForge files

Restart the server. Do not forget to delete the world directory if the mod changes its structure.

Server log: loading DivineRPG worlds (Iceika, Arcana, Vethea)

Let us try to connect.

A Minecraft scene with the DivineRPG world

Success. We can also see that the mod works.

#Installing plugins

We will install LuckPerms. You can browse most plugins on the official site. Download the plugin and send it to the mods folder.

The mods folder with DivineRPG, LuckPerms-Sponge and SpongeForge

Restart the server. After startup we can see a new directory in the config folder, which belongs to the LuckPerms plugin.

The server config folder with a luckperms subdirectory

Check that the plugin works on the server. The command for LuckPerms is /lp.

Server chat: LuckPerms messages about startup and permissions setup

Did not find the answer? We are online 24/7.Contact support