Description
Join the Discord!
Epic Discord Server with updates
MassSleepPlugin (Snipr)
Skips the night automatically when 50% or more of players in the world are sleeping.
How It Works
- Players must actually get into bed (no chat commands).
- The plugin checks the sleeping ratio every second.
- When sleeping / online ≥ 50% and it’s night:
- Sends chat:
Enough users are sleeping, skipping night - Advances time to morning.
- Sends chat:
Installation
- Build or download
MassSleepPlugin-1.0.0.jar - Put the jar into your server’s
mods/folder - Restart the server
Usage
- At night, get into bed like normal.
- Once enough players are sleeping, the plugin skips the night for everyone in that world.
Operator Command
/nightskip- Shows the current requirement./nightskip 2- Requires 2 players sleeping to skip night./nightskip 50%- Requires 50% of players sleeping to skip night./nightskip reset- Resets to default (50%).
Building
Requirements: Java 21+ and HytaleServer.jar available at ../AFKPlugin/libs/HytaleServer.jar
gradlew shadowJar
Output:
build/libs/MassSleepPlugin-1.0.0.jar
Author
Created by https://hytale.snipr.me



