Safely shutdown you minecraft server when there are no players online and start when someone tries to connect.
- Install node.js
- Download the & unzip files from this repository into their own folder
- Configure options.json
- Open command prompt and run
npm install
inside the folder containing files from this repository
- Open command prompt and run
node .
inside the folder containing files from this repository
- If your minecraft server is running, shutdown your minecraft server using
stop
inside the GUI - Close the cmd window used to start or click the cmd and hit
ctrl+c
twice
- The server will immediately start when you start this app.
- If there are no players online, the app will check one more time before shutting down the server.
- If a player tries to connect, the app will immeditely start the server but will wait
SecondsToWaitForServerToStart
seconds before checking for players.