Rcon script / Arkmanager wrapper
Here is a small script for dedicated Linux servers. It wraps the ark-server-tools here and uses the mcrcon binary here. I changed permissions and put it and the binary in /usr/local/bin/ alongside the arkmanager script so I can call it from ssh easily. I wrote it so I only had to use commands all from one place and the arkmanager stop command seems to do a force shutdown and I lost some progress after a stop so now the command does a saveworld and then the force shutdown.
usage
arkcon save: runs the saveworld command for the server. arkcon start: runs the arkmanager start command to start the server. arkcon stop: does a saveworld command and then does an arkmanger force stop for the server arkcon <cmd>: if the argument isn't one of the above it will use rcon connection to run the server command.
Posted Aug 12, 2015, 1:08 AM UTC · edited