Minecraft: Java Edition guide

Minecraft server plugins and mods

Choose Paper plugins or Fabric mods, install them from Modrinth, give players the mods with a modpack, and keep them working when Minecraft updates.

Updated · By the HostForge team

Minecraft: Java Edition has two ways to change a server. Plugins run on Paper and change how the server behaves: commands, permissions, protection, economies. Mods run on a mod loader such as Fabric and can add whole new blocks, creatures and systems, which players need in their own game too. Both are free on Modrinth.

Plugins or mods?

  • Plugins (Paper) suit a server people join from an ordinary Minecraft: nobody installs anything. WorldEdit, LuckPerms, EssentialsX and CoreProtect are plugins.
  • Mods (Fabric) suit a group that wants a modded game. Some run on the server only, such as Lithium or FerriteCore for speed; most that add content must be in every player's game, at the same version.

A server runs one or the other. A world that has run on Paper stays on Paper: Paper adds its own data pack, which Mojang's server and Fabric can't load. A Fabric world goes back to Mojang's server, without the blocks and items its mods added.

Add plugins to a Paper server

  1. Download the plugin's .jar for your Minecraft release, from its Modrinth page (filter by Paper, Spigot or Bukkit).
  2. Put it in the server's plugins folder.
  3. Restart the server. The console lists each plugin as it loads, and the plugin makes a folder of the same name in plugins for its settings.

plugins in the console, or /plugins in game for an operator, lists what loaded: a plugin in red failed, and the console says why, most often a plugin it needs that is missing.

Add mods to a Fabric server

  1. Install the Fabric loader for the server's release with Fabric's installer, and start the server once.
  2. Download each mod's Fabric build for the release into mods. Most mods need Fabric API; a mod's Modrinth page lists what it depends on.
  3. Start the server. When a mod is made for another release or misses one it needs, Fabric stops before the world loads and lists each problem under More details.

What players install

A Paper server needs nothing from players. For a Fabric server, the easy way is a modpack: a .mrpack file that names Minecraft's release, the Fabric loader and every mod, which the Modrinth App and Prism Launcher import as a new instance:

  1. In the Modrinth App, create an instance and choose to import it from a file; in Prism Launcher, choose Add Instance, then Import.
  2. Pick the server's .mrpack file.
  3. Play the new instance and join the server from Multiplayer.

Joining with a mod missing, or at another version, usually ends in a disconnect that names a registry or a mod. Import the server's latest modpack again.

When Minecraft updates

Fabric mods are made for one release, so a new Minecraft release needs new builds of every mod, which authors publish over the following days or weeks. Plugins are looser: Paper often loads a plugin made for the release before. Update your plugins and mods as their new versions come out, and remove the ones that have none yet.

On HostForge

The Mods tab installs them for you

Choose Paper or Fabric as the server type in Settings, then search Modrinth from the server's Mods tab. HostForge adds what each plugin or mod needs, downloads them at the next restart, and checks each file against the checksum Modrinth lists. Update all moves them to their newest versions for the server's release, and the tab warns about any that have none. A Fabric server's Mods tab has its modpack file for players, and backups keep each plugin's settings and data.

A plugin you wrote, or one Modrinth doesn't list, goes up as its .jar with Upload your own plugin on a Paper server's Mods tab. HostForge reads the plugin's plugin.yml, installs it at the next restart, and replaces it when you upload a plugin of the same name again. The name in plugin.yml can't have a space, or Paper won't load the plugin. It runs with the server's own permissions, so upload only plugins you trust.

Plugin settings, such as the messages a plugin shows players, are edited on the server's Configuration files tab, under Plugin settings. A plugin's files appear there once it has run, because plugins write their own settings the first time they start. A change you save loads at the next restart, and the tab checks that YAML is indented with spaces and JSON is valid before it saves. To add a file a plugin doesn't write itself, such as a Skript script, use New file and give its path in plugins/, for example Skript/scripts/welcome.sk; HostForge creates it at the next start.

See also joining a server, or start a free one on HostForge.

More Minecraft: Java Edition guides