Get a VPS server with a 15% discount
Sale ends in
00Days
:
00Hours
:
00Minutes
:
00Seconds

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

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
An empty directory ready for the new server.

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

Terminal: wget downloading the vanilla+forge archive
The Vanilla + Forge 1.12.2 archive has been downloaded.

Next, download the latest SpongeForge 1.12.2 core.

Terminal: wget downloading the SpongeForge jar
The SpongeForge 1.12.2 file has been downloaded.

Unpack the archive with the following command.

Terminal: unpacking the archive with libraries and cores
Unpacking the cores and libraries.

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

Server file list after unpacking the archive
Files after unpacking: Forge core, server jar and SpongeForge.

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

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

Server message about needing to accept the eula
The first launch fails: you need to accept eula.txt.

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

The eula.txt file with the parameter eula=true
In eula.txt we change the value to eula=true.

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

Startup log of a Minecraft server with the Forge core
The server has started with the Forge core, the world is ready.

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
The mods folder where SpongeForge and the mods are placed.

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

Startup log of a server with the SpongeForge core enabled
SpongeForge has loaded the worlds and finished initialization.

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
DivineRPG has been placed in the mods folder next to SpongeForge.

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)
The server loads DivineRPG worlds: Iceika, Arcana, Vethea.

Let us try to connect.

A Minecraft scene with the DivineRPG world
The connection works, the DivineRPG mod runs in game.

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
LuckPerms for Sponge has been added to the mods folder.

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
The luckperms directory is created automatically in the config folder.

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

Server chat: LuckPerms messages about startup and permissions setup
LuckPerms is running and ready for permissions configuration.