Topic: [TOOL] Auto Server-Restarter
Hello!
Someone asked me a few days ago, if I could write a small application which restarts a teeworlds server automatically.
I wrote such a tool, and I want to give it to everyone, who does not want to mess around with tasks, batchfiles (on windows) and shell scripts (on linux).
The application is called TeeWorlds Auto Restarter (TWAR), and is available for free.
The program is beerware. (http://en.wikipedia.org/wiki/Beerware).
Please note, that you need the Java Runtime Environment to launch this tool.
Don't be afraid, the application is very simple and allocates a few kilobytes memory only (depending on OS).
You also can use this tool in combination with other ones, as it passes all commands except of the '-exepath' to the underlying executable.
Download:
http://www.lipski.co.at/getData.php?data=twar-win // Windows executable
http://www.lipski.co.at/getData.php?data=twar-other // Universial jar file for all operating systems.
How to use:
This application needs to be started with the parameter -pathtoexe followed by a path to the teeworlds server executable (absolute or relative).
Example:
twar.exe -pathtoexe teeworlds_srv.exe -f config.cfg
The teeworlds server will restart every time, it will be shut down.
If you want to stop the server, you will have to type in the word 'quit' (without quotes) to the console followed by ENTER.
After that, the server will be shut down, and TWAR exits.
Regards,
Schokomuesli