You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
#!/bin/sh
|
|
echo "WARNING: mts-ENLIVEN script is deprecated--instead, run:"
|
|
try_path="./GitHub/EnlivenMinetest/mtsenliven.py"
|
|
if [ -f "$try_path" ]; then
|
|
echo " python3 $try_path"
|
|
else
|
|
try_path="$HOME/GitHub/EnlivenMinetest/mtsenliven.py"
|
|
if [ -f "$try_path" ]; then
|
|
echo " python3 $try_path"
|
|
else
|
|
echo " python3 mtsenliven.py"
|
|
fi
|
|
fi
|
|
# sleep 4
|
|
# exit 1
|
|
mts=minetestserver
|
|
if [ ! -f "`command -v minetestserver`" ]; then
|
|
try_path="$HOME/minetest/bin/minetestserver"
|
|
if [ -f "$try_path" ]; then
|
|
mts="$try_path"
|
|
fi
|
|
fi
|
|
# BROKEN: screen -t MinetestServer minetestserver --gameid minetest_next --draworigin --drawplayers --world FCAWorldMTNext
|
|
# BROKEN: screen -t MinetestServer minetestserver --gameid ENLIVEN --worldname FCAGameAWorld
|
|
# NOTE: if only title is set, screen -x must be used to resume, so use -S <name> to resume with -r <name>
|
|
# screen -S MinetestServer minetestserver --gameid ENLIVEN --worldname FCAGameAWorld
|
|
# screen -S MinetestServer /home/owner/minetest/bin/minetestserver --gameid ENLIVEN --worldname FCAGameAWorld
|
|
screen -S MinetestServer $mts --gameid ENLIVEN --worldname FCAGameAWorld
|
|
|
|
|