The International Simutrans Forum


Author Topic: Server manager script  (Read 3608 times)

0 Members and 1 Guest are viewing this topic.

Offline WillysMD

  • *
  • Posts: 8
  • Languages: FR, EN, NL, ES
Server manager script
« 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):


- Server instances: each instance has it's own parameters,, 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10979
  • Languages: De,EN,JP
Re: Server manager script
« Reply #1 on: November 06, 2017, 07:59:34 AM »
What is the meaning of instance, does it mean a path?