Merge pull request #119 from Sispheor/1.3-dev

update readme.
This commit is contained in:
Marius Linge 2015-07-18 14:56:42 +02:00
commit 93d9883ced
2 changed files with 22 additions and 8 deletions

View File

@ -68,19 +68,19 @@ arkmanager install
To get a complete list of the script commands you can run `arkmanager --help` or `arkmanager -h`.
#### arkmanager install
installs arkmanager to the directory specified in `/etc/arkmanager/arkmanager.cfg` or `~/.arkmanager.cfg`.
Installs arkmanager to the directory specified in `/etc/arkmanager/arkmanager.cfg` or `~/.arkmanager.cfg`.
#### arkmanager start
starts ARK server
Starts ARK server
#### arkmanager stop
stops ARK server
Stops ARK server
#### arkmanager restart
restarts ARK server
Restarts ARK server
#### arkmanager update
manually updates ARK server if a new version is available
Manually updates ARK server if a new version is available
#### arkmanager update --force
Apply update without check the current version
@ -100,6 +100,22 @@ Check for a new ARK Server Tools version and upgrades it if needed
#### arkmanager backup
Saves a backup of your server inside the backup directory
#### arkmanager broadcast "message"
Broadcast a message to all curently connected players. Example:
```
arkmanager broadcast "Hi, admin there"
```
#### arkmanager saveworld
Saves the current world.
#### arkmanager rconcmd <cmd>
Run a rcon command on the server. Example:
```
arkmanager rconcmd "ListPlayers"
```
Full list of available command here: http://steamcommunity.com/sharedfiles/filedetails/?id=454529617&searchtext=admin
## Credits
Original author of arkmanager: LeXaT

View File

@ -31,8 +31,6 @@ if [ -x /usr/sbin/lsof ]; then
fi
# Local variables
info=""
thejob=""
instver=""
bnumber=""
GREEN="\\033[1;32m"
@ -400,7 +398,7 @@ forceUpdate(){
#
doSafeUpdate(){
cd "$arkserverroot"
if isUpdateNeeded; then
while [ ! `find $arkserverroot/ShooterGame/Saved/SavedArks -mmin -1 -name ${serverMap##*/}.ark` ]; do
echo "`timestamp`: Save file older than 1 minute. Delaying update." >> "$logdir/update.log"