The International Simutrans Forum

Community => Game Servers => Topic started by: WillysMD on November 04, 2017, 05:26:50 PM

Title: Server manager script
Post by: WillysMD on November 04, 2017, 05:26:50 PM
Hello everyone,

This is my first contribution to the Simutrans community. I know it's small but being a student I don't have much time to code.

I have a couple of private servers and I have been working on a script to manage them.
It's loosely based on this tutorial (which helped me setting up my first server): https://measureofchaos.wordpress.com/2011/03/03/simutrans-server-administration-guide-part-1/ (https://measureofchaos.wordpress.com/2011/03/03/simutrans-server-administration-guide-part-1/)

Download: https://github.com/WillysMD/simutrans-server-manager (https://github.com/WillysMD/simutrans-server-manager)

Features:
- Server instances: each instance has it's own parameters, simuconf.tab, save(s) and pak(s)
- Automatic builds
- Start/stop/restart of instances
- Logging (not quite complete yet)
- Loads save only when first starting the server, then uses the auto saves

Yet to come:
- Announce parameters
- Automated saves backups
- Better logging
- Logs rotation
- RESTful API with server status (for private servers)

If you find any issues or have any suggestions, it would be greatly appreciated if you could report them here and/or on Github's issue tracker.
As I said this is my first contribution to Simutrans and the open source community in general so any comments are welcome.
Title: Re: Server manager script
Post by: prissi on November 06, 2017, 07:59:34 AM
What is the meaning of instance, does it mean a path?