mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-15 06:48:16 -07:00
update msctl for multiple bungeecord versions
Updated msctl to be more compatible with bungeecord and multiple versions.
This commit is contained in:
parent
0cefa4d601
commit
57b2b534f3
2
msctl
2
msctl
@ -1571,7 +1571,7 @@ worldStatus() {
|
||||
NUM=$(printf "%s" "$STATUS" | cut -f 19)
|
||||
MAX=$(printf "%s" "$STATUS" | cut -f 21)
|
||||
VERSION=$(printf "%s" "$STATUS" | cut -f 13)
|
||||
printf "running version %s (%d of %d users online).\n" $VERSION $NUM $MAX
|
||||
printf "running version %s (%d of %d users online).\n" "$VERSION" $NUM $MAX
|
||||
if [ $NUM -gt 0 ]; then
|
||||
PLAYERS=$(printf "%s" "$STATUS" | cut -f 30)
|
||||
COUNTER=1
|
||||
|
Loading…
Reference in New Issue
Block a user