remove broadcast message feature. Waiting for RCON to do that properly

This commit is contained in:
Sispheor 2015-06-22 19:58:21 +02:00
parent 13b5719ade
commit 621f007671
2 changed files with 1 additions and 18 deletions

View File

@ -72,13 +72,6 @@ Get the status of the server. Show if the process is running, if the server is u
#### arkmanager checkupdate
Check if a new version of the server is available but not apply it
#### arkmanager broadcast [message]
broadcast a message to ARK server chat
```sh
arkmanager broadcast "your message here"
```
## Credits
Original author of arkmanager: LeXaT

View File

@ -202,16 +202,6 @@ doUpdate() {
fi;
}
#
# Broadcast message to server
#
doInfo() {
if [ ! -z $1 ]; then
info=$1
fi
screen -S "$servicename" -p 0 -X stuff "broadcast $info $(printf \\r)"
}
#
# Print the status of the server (running? online? version?)
#
@ -249,7 +239,7 @@ case "$1" in
sleep 10
doStart
echo "$timestamp: start" >> "$logdir/arkserver.log"
echo "$timestamp: restart" >> "$logdir/arkserver.log"
echo "$timestamp: restart" >> "$logdir/arkserver.log"
;;
install)
doInstall