2021-08-17 15:45:09 +02:00
CI
2021-03-04 14:39:42 +01:00
2021-04-02 15:45:28 +00:00
2021-08-17 15:42:19 +02:00
2021-03-03 22:42:40 +01:00
2021-04-07 08:52:26 +00:00
2021-04-27 12:31:14 +00:00
2021-06-01 15:51:52 +02:00
2021-03-03 22:42:40 +01:00
2021-06-14 10:21:13 +02:00
2021-06-14 10:21:13 +02:00
2020-02-15 12:52:03 +01:00
2021-04-27 12:31:14 +00:00

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.
    • Added an option to connect from BedRock (Console version of minecraft)
    • Add a web-gui, to connect from anywhere.
  • When someone connects, exit and launch your minecraft server.
  • When server is stopping (by EmptyServerStopper by example), watch until someone reconnects.

alt text

Tutorial Video : https://youtu.be/WqvQISpr6-s

Based on : https://github.com/JSPrismarine/JSPrismarine

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

You can use :

Install :

  • From Binaries
    • Download binaries depending on your system.
    • Place the executable next to your server file (rename it to spigot.jar / paper.jar ).
    • (For linux, maybe a "chmod +x sleepingServerStarter.run", will be required, tell me if it's work :-) ).
    • Make sure your server is stopped.
    • Run the executable.
  • From Source

Settings :

  • If running from Binaries, the settings file will be created on the first run next to the executable.
  • See sleepingSettings.yml

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

ChangeLog

  • 1.0.4 - 1.17.1 :
    • update node-minecraft-protocol ^1.26.1
  • 1.0.3 - 1.16.5 :
    • update security
  • 1.0.2 - 1.16.5 :
    • add maxPlayers in settings
  • 1.0.1 - 1.16.5 :
    • Include version in log.
  • 1.0.0 - 1.16.5 :
    • Add web-gui
  • 1.16.4 :
    • Add bedrock support.
  • ...
S
Description
Put your minecraft server to rest, while SleepingServerStarter is watching !
Readme
1.8 MiB
Languages
TypeScript 87.8%
Handlebars 9.8%
Dockerfile 1.5%
Shell 0.7%
JavaScript 0.2%