/mcsleepingserverstarter

Put your minecraft server to rest, while SleepingServerStarter is watching !

Primary LanguageJavaScript

mcsleepingserverstarter

Put your minecraft server to rest, while SleepingServerStarter is watching ! Save power, save the world !

What it does :

  • Listen on the same port as your minecraft server.
  • When someone connects, exit and launch your minecraft server.
  • When server is stopping (by EmptyServerStopper by example), watch until someone reconnects.

Based on : https://github.com/PrismarineJS/node-minecraft-protocol

With an original idea from https://github.com/tustin2121/MCSignOnDoor

Require (if install from source) : NodeJs (^10.*) & NPM

Update :

  • Run "npm update" to update packages (minecraft protocol could need some updates).

Use WebServer for dynmap :

  • You need to change your configuration from class: org.dynmap.InternalClientUpdateComponent to class: org.dynmap.JsonFileClientUpdateComponent (comment all the section InternalClientUpdateComponent and uncomment JsonFileClientUpdateComponent).
  • Chat will not work when hosted by mcsleepingserverstarter. For a full compatibilty, you can use an apache server. https://github.com/webbukkit/dynmap/wiki/Setting-up-without-the-Internal-Web-Server