Guide · Plugins

How to update plugins safely

Outdated plugins are a common source of bugs and security holes, but a careless update can break a server just as easily. A short routine avoids both.

Before you update

Back up the plugins folder, or the whole server. Read the changelog for anything that says config changes, migration or breaking changes. Check the plugin supports your server version.

Replace the jar

Stop the server, delete the old jar, upload the new one and start again. Delete the old file rather than leaving both: two versions of a plugin in the folder cause errors about duplicate plugins, and the wrong one may load.

Paper also supports an update folder. Put the new jar in plugins/update with the same file name as the old one, and it is swapped in on the next restart, which is handy when you are preparing updates while players are online.

Never use /reload

The reload command unloads and reloads every plugin without restarting Java. Many plugins do not survive it cleanly, which causes memory leaks, duplicated listeners and strange bugs that are hard to trace. Paper warns about it for that reason. Restart the server instead. Plugin-specific reload commands such as lp reload are fine.

If an update breaks something

Read the console for the first error after the plugin loads. If the fix is not obvious, stop the server, put the old jar back, restore the plugin's config folder from your backup if it was migrated, and start again. Then report the problem to the author with the error.

StormNodes Minecraft hosting

Run it on a StormNodes server

Skip the port forwarding and the PC that has to stay on. A StormNodes Minecraft server is online in minutes, and everything in this guide can be done from the panel.

  • Hosted in Portugal, close to players across Western Europe
  • NVMe storage, monthly billing and no setup fee
  • Paper, Purpur, Fabric and vanilla, switchable from the panel
  • Live console, file manager, SFTP, backups and schedules
  • Support in English and Portuguese

FAQ

Frequently asked questions

How often should I update plugins?
Check monthly, and promptly when a security fix is announced. You do not need every minor release on the day it comes out.
Do I need to update plugins when I update Minecraft?
Usually yes. Many plugins depend on server internals that change between versions. Check each plugin supports the new version before updating the server.
Can plugins update themselves?
Some can download updates into the update folder. Be selective with that: an automatic update can still break things, and you lose the chance to read the changelog first.