This article is about installing mods on Minecraft Java Edition servers.
If you want to install Bukkit plugins, check out this article instead: Install plugins
If you want to install Minecraft Bedrock Edition Addons, this article might help you: Installing Addons (Minecraft Bedrock Edition)
Step 1: Install Forge on your server
Forge is the server software that is necessary to load mods on your server.
Forge on exaroton: https://exaroton.com/software/forge/
An alternative to Forge is Mohist which is based on Forge and PaperMC. It supports the installation of mods and plugins together on the same server: https://exaroton.com/software/mohist/
Step 2: Install mods on your server
You can drag and drop mod files from your computer to your server's mods folder.
exaroton has a list with lots of different mods from CurseForge, currently, only mods listed on CurseForge can be installed on exaroton.
All mods: https://exaroton.com/addons/
An example mod, DecoCraft: https://exaroton.com/addons/a/curseforge/decocraft
Step 3: Install dependencies on your server
Some mods need other mods to work, these are called dependencies. If it's possible the dependencies are listed on the exaroton mod list, but sometimes you have to take a look at the mod descriptions to find all dependencies.
The example mod, DecoCraft, requires the installation of PTRLib to work.
Step 4: Install Forge on your computer
Most mods have to be installed on both, the server and the computer of every player. To install Forge on your computer, download the installer here: https://files.minecraftforge.net/
(If you use Mohist on the server you still use Forge on the client)
Step 5: Install mods on your computer
Download all the mods, that you've installed on your server and put them into your mods folder (inside the .minecraft folder).
To download the mods, you can directly head to the mod pages linked in the exaroton mod list, for example:
Step 6: Start Forge on your computer
Start your Minecraft launcher and select the Forge profile, that was automatically created by the Forge installer (Step 4).
Step 7: Start Forge on your server
Start your server here: https://exaroton.com/server/
Step 8: Connect to your server
If you have problems connecting to your server, you can read our article about that here.