Watch the video:
Timestamps:
00:00 - Explanation
01:39 - Save and close server
02:03 - McSleepingServerStarter
02:41 - Downloading Node.js
03:07 - Installing Node.js
03:41 - Locating existing server
03:55 - Installing McSleepingServerStarter
04:27 - Installing Empty Server Stopper
05:19 - Config
07:18 - Updating
07:57 - Starting your server
09:01 - Changing inactive shutdown time
09:34 - Server start on join & Shutdown on leave
10:09 - New start script
10:50 - Custom server icon
12:00 - COMPLETE EXAMPLE OF WHAT THIS VIDEO DOES
Running a server all the time? Well, you can keep it completely off, and when a player attempts to connect to the server it will startup. After some time passes with no players on the server, it shuts down, waiting for the next player to connect. This way you can always “keep a server running”, but only have it use RAM/CPU when there are players online. The rest of the time it’s in a ’low power’ mode, waiting for someone to connect.
This video explains the entire process from start to finish.
Downloads:
- McSleepingServerStarter: https://github.com/vincss/mcsleepingserverstarter
- Node.js: https://nodejs.org/en/download/
- Empty Server Stopper: https://www.spigotmc.org/resources/emptyserverstopper.19409/
- Supported versions: https://github.com/PrismarineJS/node-minecraft-protocol
- Image to Base64: https://base64-image.de
Related:
- Minecraft Server playlist: https://www.youtube.com/playlist?list=PLsSFD61FiOVnbWS6k0SpBZETzAEnNuXDm
- Spigot/Bukkit server setup: Go to post or View on YouTube
- Paper server setup: Go to post or View on YouTube
- Fabric server setup: Go to post or View on YouTube
- Port forwarding: Go to post or View on YouTube
- Multi-router port forwarding: Go to post or View on YouTube