mirror of
https://github.com/TotalFreedomMC/TF-Scripts.git
synced 2024-05-19 19:31:17 +00:00
4e71b18351
This is as they currently stand, I know there are better ways to have set these up but they've worked okay for now.
9 lines
368 B
Bash
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
|