
This process is what we use to update the BTH - Beyond the Horizon modpack that we have hosted on CloudNord.net. This process is the same for just about any hosting provider.
If you host your own server either locally or on a VPS or cloud server somewhere, you may be able to simplify things by staging it directly on the server and copying files over.
In any case, this is the general process.
server.properties whitelist.json, ops.json, banned-*.json)serverstart.bat (Windows) OR ./serverstart.sh (Linux/Mac)libraries/ and other needed folders.eula.txt hasn't been agreed — that's fine. Stop here. Note you can generally run these files by double clicking on them in the file manager or Finder, but I prefer to open a command prompt or terminal window and run these manually.
Delete these folders:
config/ datapacks/ defaultconfigs/ kubejs/ libraries/modernfix/ mods/ patchouli_books/ resourcepacks/A safe way to do this is to rename these folders to [foldername].back. Like mods.back, config.back, etc. Then if there are problems, it's very easy to get them back. Then later delete them once the new server is running.
(Leave your worlds and root config files intact.)
Copy these folders from the staging folder into your live server folder. If you are FTPing these files up to a hosted server or need to move files across the Internet, it's best to archive all these into a single ZIP file.
config/ datapacks/ defaultconfigs/ kubejs/ libraries/mods/ resourcepacks/Note: You may notice that patchouli_books/ and modernfix/ were deleted in Step 3 but aren't being replaced here. That's perfectly fine - these folders will be automatically recreated when the server starts up.
I always select the folders with CTRL+click, then right click and choose the option to archive or compress files, depending on your Operating system.
⚠️ Do not overwrite your server.properties, player list JSONs, or world folders.
FTP the .zip archive up to the server and extract it using the command line if you have access, or use the hosting provider's file interface to unzip. You want these files to be extracted in the same directory where you deleted the previous folders.
logs/latest.log for errors. This process ensures a smooth transition to the latest BTH version while preserving all your precious world data and player configurations. Happy updating!