mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-15 14:58:18 -07:00
Accept world arguments to the update option
This commit is contained in:
parent
23263020b5
commit
6620429295
@ -115,8 +115,8 @@ Options:
|
|||||||
Run the Minecraft Overviewer mapping software on the Minecraft world.
|
Run the Minecraft Overviewer mapping software on the Minecraft world.
|
||||||
Map all worlds by default.
|
Map all worlds by default.
|
||||||
|
|
||||||
update
|
update <world>
|
||||||
Update the client and server software.
|
Update the client and server software for the Minecraft world.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
@ -1545,7 +1545,7 @@ case "$1" in
|
|||||||
done
|
done
|
||||||
printf ".\n"
|
printf ".\n"
|
||||||
printf "Backing up Minecraft Server:"
|
printf "Backing up Minecraft Server:"
|
||||||
for WORLD in $ALL_WORLDS; do
|
for WORLD in $WORLDS; do
|
||||||
printf " $WORLD"
|
printf " $WORLD"
|
||||||
worldBackup $WORLD
|
worldBackup $WORLD
|
||||||
done
|
done
|
||||||
@ -1559,7 +1559,7 @@ case "$1" in
|
|||||||
updateServerSoftware
|
updateServerSoftware
|
||||||
printf ".\n"
|
printf ".\n"
|
||||||
printf "Restarting Minecraft Server:"
|
printf "Restarting Minecraft Server:"
|
||||||
for WORLD in $ALL_WORLDS; do
|
for WORLD in $WORLDS; do
|
||||||
printf " $WORLD"
|
printf " $WORLD"
|
||||||
start $WORLD
|
start $WORLD
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user