I was wondering if it's possible to have my (Vanilla) Minecraft server not actually start running until someone tries to connect to it? I have full access to the entire server (It's an old computer of mine) and the router/internet.
Failing that, how do I make a button on my nginx site to say "start the mc server"?
I'm running Ubuntu 14.04
Minecraft – Start Minecraft Server on first Connection
minecraft-java-editionminecraft-java-edition-server
Related Topic
- Minecraft – Single machine on network runs Minecraft slowly on internet server, but fine locally
- Minecraft – Is it normal to have a ‘Can’t keep up’ event on reload
- Minecraft lan server not working 1.9
- Minecraft Java Edition – Why Can’t Connect to One Minecraft Server but Others are Accessible
- Minecraft – 1.8.8 Minecraft server won’t run in Debian Linux
Best Answer
This is possible but you will need a small program listening on the game server's socket and if it receive any data it will then start the server. But the actual game server will need time to start, so the first login attempt on the client will fail as it will time out. When the server has start they will be able to login successfully. I don't know any existing program for that purpose but it wouldn't be that hard to develop.