Created
April 6, 2020 17:47
-
-
Save RobertBouillon/1f990c5bb1dad5ae454e59bcff32373a to your computer and use it in GitHub Desktop.
Linux heler scripts for MC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
robear@MinecraftServer:/etc/profile.d$ cat games.sh | |
function ark(){ | |
/home/robear/ark.sh | |
} | |
function ftb(){ | |
/home/robear/ftb.sh | |
} | |
robear@MinecraftServer:/etc/profile.d$ cat ~/ftb.sh | |
#! /bin/bash | |
if ! screen -list | grep ftb | |
then | |
(cd /usr/games/mc/revdom/ && screen -dmS ftb ./ServerStart.sh) | |
fi | |
screen -r ftb | |
robear@MinecraftServer:/etc/profile.d$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment