How to schedule to start minecraft server if it is off, but not re-start if it is sleeping?

  • 78 Views
  • Last Post 23 May 2019
  • Topic Is Solved
crixmadine77 posted this 23 May 2019

I am setting up a Minecraft instance on a Windows 10 computer. The computer sometimes reboots, or is manually rebooted. I've set ADS and the Mincraft instance both as services, and I have Windows launch those services automatically, so they both work.

My issue is that I want the Minecraft server to start, but if the Minecraft instance goes into sleep mode, I would prefer that mode not to be interrupted.

Right now, I scheduled a trigger for every 10 minutes to run a Start action. After 5 minutes the sleep mode will activate, but at every 00:10 the Start action wakes it up again.

Is there a way around this problem?

Or is there a way to turn on the server the first time the Mincraft instance launches/relaunches, and then perhaps create triggers for if the server crashes.. that way the sleep may remain undisturbed until a player attempts to enter? I would prefer the computer not spend extra resources constantly re-waking the Minecraft server if it does not need to.

Order By: Standard | Newest | Votes
Mike posted this 23 May 2019

Right now there isn't a way to do this since "Start" and "Wake Up" aren't distinct actions. There should be a "Server stopped unexpectedly" trigger but AMP will automatically restart a server that stops unexpectedly regardless.

  • Liked by
  • crixmadine77
crixmadine77 posted this 23 May 2019

Is there a way to trigger the server to start once the Minecraft instance launches, without a schedule needed?

Mike posted this 23 May 2019

Yes, in AMPs own configuration there's a "Start application on instance start" setting.

crixmadine77 posted this 23 May 2019

Ah, very good. Thank you very much!

Close