⚠️2.3.0 -> 3.0.0
How to migrate safely from version 2.3 to version 3.0
Update 3.0 is the biggest update to the plugin to date. Key settings have changed, and the configuration is unrecognizable. Therefore, care must be taken when adding the new version. Here's how to update without risk.
First and foremost, it is important to back up your files and database so that you can revert back in case of any difficulties!
Summary
Multiple servers
For multi-server setups, run the procedure below on a single server first to perform the migration, then copy that server’s entire plugins/ODailyQuests/
folder to your other servers so they inherit the same configuration and skip the migration.
If, for any reason, you must bring servers up one by one instead of copying the folder, let the first server finish and then copy the exact database_version
value from its config.yml
into each other server’s config.yml
before starting them.
In some cases, blockages have been identified in the connection to databases, particularly when starting several servers in parallel. This is why it is important to perform the procedure on one server and then migrate the result to the other(s).
Full reset
A complete reset is by far the simplest solution for updating. This will allow the plugin to regenerate all files properly, and you will benefit from their latest versions as well as explanatory comments associated with each parameter.
⚠️Please note that this solution will result in the loss of player data, including the total number of quests completed. If this is not acceptable to you, please proceed to the next solution.
To do this, you can:
stop the server
save your current ODailyQuests folder on your computer
delete the folder from the server
restart the server and let the plugin regenerate the files
compare the new files with the old ones, and make your changes accordingly
If your database is a MySQL/MariaDB database, you can ideally delete the PLAYER and PROGRESSION tables. But if you don't know how to do this or are unable to do so, please note that the new version uses new tables and therefore these tables will no longer be used. They will not cause any conflicts.
At this point, you should have a clean configuration on the new version.
To simplify support and avoid common errors, some default settings have changed, such as the store_placed_blocks
and disabled_worlds
fields.
If you are reinstalling from scratch, be sure to check them all!
Auto-Updater
The plugin includes an automatic update system. This means that your configuration files and database will be automatically updated when the new version is installed.
The disadvantage of this method, however, is that explanatory comments for the new settings cannot be added to the file. All new settings will be placed "in bulk" at the bottom of the file. You will then need to take the time to compare it with the default file located further down this page to understand the new parameters and reorganize your file.
⚠️Please note that this version is functional and normally reliable, but depending on your environment, problems may arise. Remember to make a backup beforehand.
To use the auto-updater, follow these steps:
stop the server
save your current ODailyQuests folder on your computer
do NOT modify a file!
remove version 2.3.0
install version 3.0.0
start the server.
monitor the console (numerous messages should appear as the update progresses)
compare the new files with the old ones, to ensure that everything is correct
reorganize your file and add explanatory comments if desired
Due to the addition of dynamic required numbers, quest progressions cannot be migrated. The only data retained is the total number of quests completed.
If you still have the database.mv.db
and database.trace.db
files in your ODailyQuests folder, you can delete them. They'll no longer be used. But do NOT delete the database.db
file!
If you encounter an error during the automatic update, you can revert to the old version and try another method, or contact support on Discord. We are available to help you if needed.
Manual update
Do NOT attempt a manual update. Several files are modified in the update, and a forgotten modification can cause problems when restarting.
If for some reason you still want to try, the best thing to do is to generate the new files on another server/on your computer, and compare them with your current files to reflect the changes.
If you need help using another method, we are here to assist you.
New configuration file
Last updated