How to Rollback a Bad Plugin Update
Step-by-step guide to rollback a plugin update on your minecraft server safely, including backup strategies, version management, and recovery procedures.
When a Plugin Update Goes Wrong
You update a plugin, restart the server, and immediately see errors flooding the console. Players report broken commands, missing items, or crashes. This happens more often than most admins expect. Plugin developers sometimes push breaking changes, introduce dependency conflicts, or accidentally ship a build with bugs. Knowing how to rollback a plugin update on your minecraft server quickly is the difference between 5 minutes of downtime and 5 hours of panic.
Prevention: Pre-Update Backups
The rollback starts before the update. Every time you update a plugin, save the current version first:
# Before updating MyPlugin
mkdir -p backups/plugins/$(date +%Y-%m-%d)
cp plugins/MyPlugin.jar backups/plugins/$(date +%Y-%m-%d)/MyPlugin.jar
cp -r plugins/MyPlugin/ backups/plugins/$(date +%Y-%m-%d)/MyPlugin-config/
This takes 5 seconds and gives you a guaranteed rollback path. Without it, you are searching Modrinth or SpigotMC for old versions and hoping the developer kept them available. Many do not. Some plugins also migrate their config or database format on update, which means the new config will not work with the old JAR unless you also restore the config files.
Automate this with your backup system. If you take full server backups before maintenance windows, you already have what you need.
Step-by-Step Rollback Process
When you need to rollback a plugin update on your minecraft server, follow this sequence:
- Step 1: Stop the damage. If the server is running and the broken plugin is causing errors or data corruption, stop the server immediately. Data corruption gets worse every second the server runs. Use
/stopfrom the console, not/restart. - Step 2: Identify the problem. Check the server logs for the first error after startup. Look for the plugin name in the stack trace. Confirm it is the updated plugin causing the issue and not a dependency conflict.
- Step 3: Remove the broken JAR. Delete the new plugin JAR from the
plugins/folder. - Step 4: Restore the old JAR. Copy the backed-up JAR into the
plugins/folder. - Step 5: Restore the config. If the plugin migrated its config format on update, restore the backed-up config folder too. Overwrite
plugins/MyPlugin/with your backup copy. - Step 6: Restore the database. If the plugin uses a SQLite database (usually a
.dbfile in the plugin folder), restore that as well. For MySQL-backed plugins, restore from your database backup. - Step 7: Start the server. Watch the logs for clean startup. Verify the old version loads without errors.
Rollback Without a Backup
If you did not back up the old version, you have a few options to rollback the plugin update on your minecraft server:
- Modrinth/Hangar version history: Most plugin hosting sites keep previous versions available for download. Find the exact version you were running (check your old logs for the version string) and download it.
- SpigotMC: Spigot only hosts the latest version. You may need to contact the developer or check GitHub releases for older builds.
- GitHub releases: Many open-source plugins publish every release as a GitHub release with downloadable JARs. Check the plugin's GitHub page.
- Your server backups: If you run automated backups, extract the old JAR from yesterday's backup archive.
Handling Config Migration Issues
Some plugins automatically upgrade their config files when a new version loads. The old format becomes unreadable by the old version, and the new format does not exist in the old version. This is the most frustrating rollback scenario.
If the config was migrated and you have no backup:
- Delete the plugin's config folder entirely.
- Place the old JAR in the plugins folder.
- Start the server. The plugin generates fresh default configs.
- Reconfigure from scratch using your documentation or memory.
This is painful, which is why backing up configs before updates is so important. Even a screenshot of your config file is better than nothing.
After the Rollback
Once you have successfully rolled back, take these follow-up steps:
- Report the bug to the plugin developer with your crash log and server details.
- Pin the working version in your records so you do not accidentally update to the broken version again.
- Test the next update on a staging server before applying it to production.
- Set a calendar reminder to check for a patched version in a week or two.
Knowing how to rollback a plugin update on your minecraft server is a core admin skill. The process is simple when you have backups. Make pre-update backups a habit, and every bad update becomes a 2-minute fix instead of an emergency.
All these admin tools work out of the box on Astroworld Hosting. Full file access, console, and scheduling on every plan.