Autopause on empty server

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
Geffel55
Engineer
Engineer
Posts: 2
Joined: 09 Jun 2012 10:40

Autopause on empty server

Post by Geffel55 »

Hello!

Im kinda new to this game but I managed to start up a dedicated server for me and my friends to play on.
The thing that I want is to the server to autopause the game when the server is empty, for example during the night.
Is this possible with vanilla openttd or do I need some sort of plugins.

I have been looking on autopilot and with that plugin there is a feature to pause the game when the server is empty, despite looking thru their wiki I have not managed to get it installed.

Help on this would be awesome!
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 988
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: Autopause on empty server

Post by frosch »

⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Brumi
President
President
Posts: 921
Joined: 18 Jul 2009 17:54

Re: Autopause on empty server

Post by Brumi »

Type this in your dedicated server console:

Code: Select all

set min_active_clients 1
EDIT: seems I missed the notification that frosch has already answered :)
Geffel55
Engineer
Engineer
Posts: 2
Joined: 09 Jun 2012 10:40

Re: Autopause on empty server

Post by Geffel55 »

Thank you very much for the help! :)
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 4 guests