]> git.lizzy.rs Git - elidragon_v2.git/blobdiff - scripts/start.sh
Update scripts to include multiserver
[elidragon_v2.git] / scripts / start.sh
index 254b3a775962d8eb849837f221128f3b3b0aa986..06a96e2e7cdaebc9ad8bab35aafdf904a36eefff 100755 (executable)
@@ -1,8 +1,10 @@
 #! /bin/bash
 # Elidragon v2 start script
-# Start one or all worlds
+# Start one or all worlds, or if --multiserver is used, the multiserver. If all worlds are started, multiserver is started as well
 # Arguments: [<worldname>]
 
 source source scripts/common.sh
 
-run_one_or_all start_world $1
+if [ $1 = "--multiserver" ] || run_one_or_all start_world $1; then
+       start_multiserver
+fi