How to Test Minecraft Plugins Before Adding Them to Your Main Server
A new plugin can break things in ways you don't see right away. It might clash with another plugin, wipe a config, or add lag that only shows up when ten people are online. The safe habit is simple: test it on a separate server first, then move it to the real one. Here's how to do that properly.
/plugins, and test with a non-OP player. If it all works, back up your main server and copy the jar and its config folder across.Step 1: Get a separate test server
You have two easy options.
On your own PC:
- Download the Paper build for your server's version from papermc.io.
- Install the Java version that version needs. Minecraft 26.x needs Java 25 (see which Java version your server needs).
- Put the jar in an empty folder and start it with
java -Xms2G -Xmx2G -jar paper.jar --nogui. - Open
eula.txt, changeeula=falsetoeula=true, and start it again. - Join with
localhostin Multiplayer.
This works fine for solo testing. It gets harder when you want friends to help, because they'd need to reach your PC from the internet.
On a hosted server: a hosted test server already has a public address, so friends can join and help test with real players. More on that below.
Step 2: Match your main server exactly
A test is only useful if the test server looks like the real one.
- Same version. Run
/versionon your main server and use the same Paper version on the test server. - Same plugins. Copy the whole
pluginsfolder, including each plugin's config folder. Most conflicts come from two plugins doing similar jobs. - Optional: a copy of the world. If the plugin touches blocks, claims or the economy, test it on a copy of your real world from a backup. Never point a test server at your live world files.
Step 3: Add the plugin and restart
- Drop the new
.jarintoplugins. - Restart the server. Don't use
/reload. - Watch the console as it starts.
The errors you'll see most:
| Console message | What it means |
|---|---|
Could not load 'plugins/X.jar' |
The jar is broken, or it's a mod, not a plugin |
UnknownDependencyException |
It needs another plugin first, often Vault or ProtocolLib |
Unsupported API version |
The plugin is built for a newer Minecraft version |
| A long stack trace mentioning the plugin | A real bug or a clash with another plugin |
Then run /plugins in game. Green names loaded. Red names failed.
Step 4: Test like a real player would
This is the part most people skip. Don't only test as an OP, because OPs bypass most permission checks.
- Permissions: have a friend join as a normal player, or take away your own OP. If you use a permissions plugin, give the test player the same group your members have. See our LuckPerms guide.
- Commands: try every command your players will use, plus the wrong ones, to see the error messages.
- Restarts: restart twice and check that homes, balances or claims were saved.
- Bedrock players: if your server has Geyser, have a Bedrock friend try any menus. Chest menus usually work, but some plugins behave differently for Bedrock players.
- Lag: run
/tpsand/mspt, then take a spark profile while people play. Our guide to reading a spark report shows what to look for.
Step 5: Move it to your main server
- Make a fresh backup of the main server.
- Copy the plugin jar into
plugins, along with its config folder if you tuned the settings on the test server. - Restart and check the console once more.
If something goes wrong, delete the jar, restore the config folder from your backup, and restart.
Using a free trial as a test server
If you don't want to run a server on your PC, FreaksMC has a free 14-day trial with no card needed. It's a 4 GB Paper server with your own address (like yourname.freaksmc.com), so friends can join and help you test. The control panel has a console, file manager, plugin installs and backups, and Bedrock crossplay is already set up, which makes it easy to check how a plugin behaves for phone and console players.
Be clear on the limits before you rely on it:
- It's a Paper server, so it's for plugins and datapacks. It's not for Fabric, Forge or modpacks.
- It lasts 14 days, one trial per person. Someone needs to join or sign in to the panel within 12 hours of claiming it.
- When it ends, the server goes offline and its files are deleted 2 days later. FreaksMC doesn't keep backups of trial servers, so download your tested configs before it ends.
- Slots are limited, so it can be full for a while.
If you decide you want a permanent test server next to your main one, plans start at $4/mo. For more on installing plugins in general, see how to add plugins to your server.
FAQ
Can I test plugins in singleplayer?
No. Plugins only run on a server like Paper, Spigot or Purpur. Singleplayer worlds can't load them, so you need a server, even a small one on your own PC.
Is /reload safe for testing a new plugin?
Not really. Many plugins break or leak memory after a reload. Do a full restart after adding or removing a plugin, and use the plugin's own reload command (if it has one) for config changes.
Do I need a second Minecraft account to test permissions?
You can't join twice with the same account. Ask a friend to join as a normal player, or temporarily remove your own OP status and test that way.
Want a server that just runs fast?
FreaksMC servers run on AMD Ryzen 9 7950X3D processors with fast NVMe storage. Pick vanilla, Paper or a modpack and your server is ready in minutes.
See plans from $4/mo