A lightweight Minecraft Spigot plugin that allows skipping the night with only a portion of players sleeping. Perfect for multiplayer servers where gathering all players to sleep simultaneously is impractical.
-
Flexible Skip Modes
- Number Mode: Skip night when a fixed number of players sleep
- Percentage Mode: Skip night when a percentage of players are sleeping
-
AFK Detection
- Built-in AFK tracking (movement, chat, interaction, attack)
- Configurable inactivity threshold
- AFK players excluded from sleep count
-
Multi-World Support
- Independent sleep tracking per world
- Configurable world exclusion list
- World-specific announcements
-
Multi-Language Support
- Chinese (中文)
- English
- German (Deutsch)
- Custom language file support
-
Sound Notifications
- Configurable notification sounds
- Adjustable volume and pitch
-
Auto-Update Checker
- Optional update notifications on startup
- Admin notifications on join
- Download the latest release from SpigotMC or GitHub Releases
- Place
SkipSleep.jarin your server'spluginsfolder - Restart or reload your server
- Edit
plugins/SkipSleep/config.ymlto customize settings
# Enable/disable skip sleep feature
skip: true
# Skip mode: 'num' (fixed number) or 'pet' (percentage)
model: 'num'
# Number mode: players needed to sleep
skipNum: 1
# Percentage mode: percentage of players needed (1-100)
skipPet: 50
# Sound settings
sound:
enabled: true
name: 'BLOCK_NOTE_BLOCK_BASS'
volume: 1.0
pitch: 1.0
# AFK detection settings
afk:
excludeAfk: false
inactivityThreshold: 300 # seconds
# Disabled worlds list
disabledWorlds: []
# Message display settings
showProgressMessages: true
showSkipMessage: true
# Language: chinese, english, german
Language:
lang: english| Command | Description | Permission |
|---|---|---|
/sks enable <on/off> |
Enable/disable skip feature | skipsleep.command.enable |
/sks number <num> |
Set required player count | skipsleep.command.number |
/sks mode <num/pet> |
Switch between modes | skipsleep.command.mode |
/sks percent <percent> |
Set required percentage | skipsleep.command.percent |
/sks sound <on/off> |
Toggle notification sounds | skipsleep.command.sound |
/sks status |
View current status | skipsleep.command.status |
/sks update <on/off> |
Toggle update checking | skipsleep.command.update |
/sks reload |
Reload configuration | skipsleep.command.reload |
/sks help |
Show help message | skipsleep.command.help |
Alias: Use
/skipsleepor/sks
| Permission | Description | Default |
|---|---|---|
skipsleep.command.* |
All SkipSleep commands | OP |
skipsleep.command.enable |
Enable/disable feature | OP |
skipsleep.command.number |
Set player count | OP |
skipsleep.command.mode |
Switch modes | OP |
skipsleep.command.percent |
Set percentage | OP |
skipsleep.command.sound |
Toggle sounds | OP |
skipsleep.command.status |
View status | OP |
skipsleep.command.reload |
Reload config | OP |
skipsleep.command.update |
Toggle updates | OP |
skipsleep.command.help |
View help | OP |
Create your own language file in plugins/SkipSleep/lang/ folder:
- Copy an existing language file (e.g.,
english.yml) - Rename it (e.g.,
mylang.yml) - Translate the messages
- Set
Language.lang: mylanginconfig.yml
- Java 17+
- Maven 3.6+
git clone https://github.com/plaidmrdeer/SkipSleep.git
cd SkipSleep
mvn clean packageThe compiled JAR will be in target/SkipSleep-2.0.0.jar
This plugin uses bStats to collect anonymous usage statistics.
This project is open source. Feel free to use, modify, and distribute.
PlaidMrdeer
Made with ❤️ for the Minecraft community