Updates
How to safely update SigmaOrders to newer versions.
Update Process
Standard Update
-
Backup Your Data
# Backup the entire plugin folder
cp -r plugins/SigmaOrders plugins/SigmaOrders.backup -
Stop the Server
- Gracefully stop the server
- Wait for all operations to complete
-
Replace the JAR
- Remove old
SigmaOrders.jar - Place new
SigmaOrders.jarinplugins/folder
- Remove old
-
Start the Server
- Start server normally
- Watch console for update messages
Automatic Config Updates
The plugin automatically updates config.yml when new options are added:
- Old settings are preserved
- New settings use defaults
- No manual migration needed
Database Migrations
Database schema updates are automatic:
- Tables are created/updated on startup
- Data is preserved during updates
- No manual SQL required
Version Compatibility
Breaking Changes
Major version updates may include breaking changes:
- Review configuration changes
- Test on a development server first
- Check release notes for version details
Backward Compatibility
- Config files: Backward compatible (old keys still work)
- Database: Automatic migrations
- API: Deprecated methods remain until major version
Update Checklist
Before updating:
- Read changelog for new features/changes
- Backup plugin folder
- Backup database file (
database.db) - Test on development server (if available)
- Note current version for rollback
After updating:
- Verify plugin loads successfully
- Check console for errors
- Test basic functionality (
/orders) - Verify configuration still works
- Check database integrity
Rollback Procedure
If an update causes issues:
- Stop the Server
- Restore Backup
rm -rf plugins/SigmaOrders
cp -r plugins/SigmaOrders.backup plugins/SigmaOrders - Restore Database (if needed)
cp plugins/SigmaOrders.backup/database.db plugins/SigmaOrders/ - Start Server
- Report Issue (if applicable)
Update Notifications
The plugin checks for updates on startup:
- Update notifications appear in console
- Check console on each server start
- Updates are checked via manifest system
Development Builds
If using development/snapshot builds:
- May be unstable
- Backup more frequently
- Test thoroughly before production use
Next Steps
- Configuration - Review new config options
- Troubleshooting - If issues occur