Is there a way to start a Minecraft server when a player tries to connect to it?

by user68579   Last Updated September 11, 2019 12:14 PM

I've been wondering whether this is possible or not, or if there's a plugin or setting for it.

Thanks in advance!



Answers 4


Some people have wrapped the bukkit server in such a way. Some games hosting services also provide this kind of functionality, called "performance mode" or "hibernate mode" :

It displays a message during startup (as you mention in your comment) and it goes into hibernation again after an idle time.

As mentioned depending of your config as the full startup sequence of a minecraft server can be quite lengthy users won't be able to connect to it during boot up time.

Mushu
Mushu
February 06, 2014 10:49 AM

There are plugins and programs that let you put your server into a mode called sleep mode, when in this mode the server is shown in the list as online but is really offline. When a person tries to connect it will give them a message along the lines of; Server Starting and send them back to the list screen. The server will then automatically start up and boom your only running the server when people are on. With programs/plugins such as this it also lets you set how long after the server having no people on will it be before it shuts down. I am sorry I cannot provide the links to the programs/plugins but if I remember them I will post them here.

user73374
user73374
April 02, 2014 05:49 AM

As Mushu said, you would need a wrapped Minecraft server. McMyAdmin can be easily configured to do such job. Go to Configuration -> Features tab -> Set 'Enable server sleeping' to Yes and configure the time below.

Aleksa Savic
Aleksa Savic
October 15, 2014 17:02 PM

Try this link:

https://github.com/gekigek99/minecraft-vanilla-server-hibernation

It's a python that starts up the server when requested and shuts it down when no players are online

gekigek99
gekigek99
September 11, 2019 11:18 AM

Related Questions


Updated October 09, 2016 09:06 AM

Updated January 12, 2018 13:14 PM

Updated January 27, 2018 19:14 PM

Updated March 25, 2018 09:14 AM

Updated August 28, 2019 17:14 PM