DockerMC/.docker/server/start.sh
NorbiPeti ad48a7f528
Add and setup Waterfall
- Copying config files automatically
- Successfully joined servers, though it won't automatically redirect just yet
2022-07-05 01:01:47 +02:00

11 lines
228 B
Bash

#for file in *.jar; do
# echo $file
#done
trap "echo Received stop signal; pkill java" INT TERM EXIT
ls -la
file=$(ls paper*.jar | tail -1)
echo Starting $file
mkdir -p $MC_SERVER
cd $MC_SERVER
java -jar ../$file
echo Stopped!