Your server setup requires some changes to work with Thermos:
It is highly recommended to create a backup of your server before switching.
Delete these two folders "bin" & "libraries".
* - one folder might not exist.
Grab the latest version of Thermos from here.
Note: Make sure you grab the latest version that was built for the forge version you're using. These downloads also come with the libraries pre-packed with the server jar.
Extract the zip file to the server's folder & also move the jar file of thermos to the server's folder.
Edit your server launch script so that the Java line looks like this:
Replace the <version> with the version of the current Thermos build.
java -XX:+UseG1GC -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:MetaspaceSize=1024m -XX:MaxMetaspaceSize=2048m -XX:+AggressiveOpts -XX:MaxGCPauseMillis=10 -XX:+UseStringDeduplication -Xms4G -Xmx6G -XX:hashCode=5 -Dfile.encoding=UTF-8 -jar Thermos-1.7.10-<version>.jar --log-strip-color
- You're good to go!
First Install Script (creates directory "Thermos")
Use this script to install the latest version of Thermos!
wget https://github.com/CyberdyneCC/ThermosServer/archive/master.zip unzip master.zip mv ThermosServer-master Thermos cd Thermos wget $(curl -s https://api.github.com/repos/CyberdyneCC/Thermos/releases/latest | grep 'jar' | cut -d\" -f4) mv Thermos-1.7.10-1614.*-server-*.jar Thermos.jar cd ..
Updating Thermos Script (must be in your server directory)
With this, you can quickly download the latest version of Thermos and backup your current version!
wget $(curl -s https://api.github.com/repos/CyberdyneCC/Thermos/releases/latest | grep 'jar' | cut -d\" -f4) mv Thermos.jar Thermos_backup_`date +%b_%d_%Y_%T`.jar mv Thermos-1.7.10-1614.*-server-*.jar Thermos.jar