TF-Scripts/FreeOP Servers/start.sh
Ryan Wild 4e71b18351
Added FreeOP Scripts
This is as they currently stand, I know there are better ways to have set these up but they've worked okay for now.
2021-03-21 14:04:57 +00:00

9 lines
368 B
Bash

#!
if screen -list | grep -q "TotalFreedom";
then
echo "ERROR - There is an instance of the server already running. Make sure it is killed first and try again"
else
screen -dmS TotalFreedom java -Xms18G -Xmx18G -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar paperclip.jar
echo "Server Started"
fi