
One Player Sleep+
Skip the night in Minecraft without requiring all players to sleep! OnePlayerSleep
- Загрузки
- 65K
- Подписчики
- 27
- Обновлён
- 8 мая 2026 г.
- Лицензия
- MIT
Опубликован 6 мая 2025 г.
Version: 4.0.1 (8 May 2026) | Author: LunoX2 | License: MIT

A lightweight, optimized Minecraft plugin that allows a single player to skip the night by sleeping, without requiring all online players to sleep. Ideal for servers where players are spread across different areas or time zones.
Overview
OnePlayerSleep replaces Minecraft's default sleep requirement with a single-player trigger. When any player sleeps, the night is skipped for the entire server. The plugin is fully configurable, permission-aware, and built for minimal performance impact.
Features
- Single player can skip night for the entire server
- Optional weather clearing when night is skipped
- Fully customizable plugin name, messages, and colors
- Simple enable, disable, and reload commands
- LuckPerms-compatible permission system
- Toggle broadcasts, command messages, and console logging independently
- Message and config caching for minimal overhead
- Supports Minecraft 1.16 through 1.21+
Installation
- Download
OnePlayerSleep-xx.jar - Place the JAR file in your server's
plugins/directory - Restart the server (or use
/reload confirmat your own risk) - The configuration file will be auto-generated at
plugins/OnePlayerSleep/config.yml - Customize settings as needed and reload with
/oneplayersleep reload
Configuration
Default config.yml
# OnePlayerSleep Configuration
# Customize your plugin settings here
# Plugin Display Name
# Change this to match your server name (e.g., GlaceSleep, DreamSleep, etc.)
plugin-name: "OnePlayerSleep"
# Enable/Disable plugin on startup
enabled-on-startup: true
# Weather Clearing
# Set to true to clear rain/thunder when skipping night
# Set to false to only skip time without affecting weather
weather-clear: false
# Message Settings
message-settings:
# Show message when night is skipped
show-night-skip: true
# Show messages for enable/disable commands
show-toggle-messages: true
# Send messages to console
console-logging: true
# Messages (Use & for color codes)
messages:
night-skipped: "&6Night skipped by %player%"
plugin-enabled: "&a%plugin% enabled!"
plugin-disabled: "&c%plugin% disabled!"
plugin-reloaded: "&a%plugin% configuration reloaded!"
no-permission: "&cYou don't have permission to use this command."
status-enabled: "&6%plugin% is currently &aenabled&6."
status-disabled: "&6%plugin% is currently &cdisabled&6."
usage: "&6Usage: /oneplayersleep <enable|disable|reload>"
# Do not modify this
config-version: 1
Commands
| Command | Description | Permission |
|---|---|---|
/oneplayersleep |
Show plugin status and usage | oneplayersleep.toggle |
/oneplayersleep enable |
Enable the plugin | oneplayersleep.toggle |
/oneplayersleep disable |
Disable the plugin | oneplayersleep.toggle |
/oneplayersleep reload |
Reload configuration | oneplayersleep.reload |
Permissions
| Permission | Description | Default |
|---|---|---|
oneplayersleep.toggle |
Allows toggling the plugin on/off | OP |
oneplayersleep.reload |
Allows reloading the configuration | OP |
oneplayersleep.* |
Grants all permissions | OP |
LuckPerms Setup
Grant a permission to a specific player:
/lp user <username> permission set oneplayersleep.toggle true
Grant a permission to a group:
/lp group <groupname> permission set oneplayersleep.toggle true
Grant all permissions to a player:
/lp user <username> permission set oneplayersleep.* true
Compatibility
Minecraft Versions
- 1.16.x through 1.21.x — Fully supported
- Future versions — Expected to remain compatible
Server Software
- Spigot
- Paper (Recommended)
- Purpur
- Any Spigot-based server
Java Versions
- Java 17 (Minimum required)
- Java 21 LTS (Recommended)
- Java 22+
Performance
The plugin is designed to have a negligible impact on server performance.
| Metric | Value |
|---|---|
| Memory usage | ~1 MB |
| Startup time | < 100 ms |
| Per-event processing | < 1 ms |
Optimizations include config value caching, message pre-processing, reflection method caching, and efficient event handling.
Frequently Asked Questions
Does this work with sleeping percentage plugins? OnePlayerSleep bypasses the vanilla sleep percentage requirement entirely. It may conflict with other sleep plugins.
Can I require 2 players to sleep instead of 1? No. This plugin is designed specifically for single-player sleep triggering.
Does it work in the Nether or End? No. Sleeping only functions in the Overworld, as per Minecraft's core mechanics.
Will it work on Minecraft 1.12 or older? No. The minimum supported version is 1.16 due to API requirements.
Can I disable the startup messages?
Yes. Set message-settings.console-logging: false in your config.
Does weather clearing affect thunderstorms?
Yes. When weather-clear: true, both rain and thunder are cleared when night is skipped.
Ченджлог
4.0.1Релиз26.1, 26.1.1, 26.1.2 · 8 мая 2026 г.
Version changlog:
Folia Support Added

Optimized the plugin (now its 9kb only)
3.6.4Релиз26.1, 26.1.1, 26.1.2 · 2 января 2026 г.
Changelog
[3.6.4] - 2026-01-02
Changed
- Night skip now uses vanilla Minecraft sleep timing (100 ticks / ~5 seconds delay)
- Players experience normal sleep animation before night skips
- Improved sleep behavior to feel more natural and match vanilla gameplay
Technical
- Modified sleep delay from 10L to 100L ticks in PlayerBedEnterEvent handler
- Removed gradual time increment system in favor of single delayed skip
- Maintains one-player requirement while preserving vanilla sleep UX
3.6.2Релиз1.21.9, 1.21.10, 1.21.11 · 1 января 2026 г.
CHANGELOG - OnePlayerSleep
v3.6.2 (Current)
- Updated version number to 3.6.2
- Changed
wc:toweather-clear:for better clarity - Improved config readability
v3.2.6
- Added optional weather clearing feature (disabled by default)
- New config option:
wc: false(nowweather-clear) - Weather only clears when explicitly enabled
- Multi-version stability improvements (1.16-1.21+)
v3.2
- Upgraded to Java 17 for broader compatibility (Java 17-22+)
- Major performance optimization (~70% faster commands, ~80% faster events)
- Message caching system
- Config value caching
- Reflection method pre-caching
- Improved code readability with better variable names
- Added aesthetic startup/shutdown console messages
- Added customizable plugin name feature
- Added
/oneplayersleep reloadcommand - LuckPerms compatibility with proper permission defaults
- Message toggle controls (night skip, toggle messages, console logs)
enabled-on-startupoption- Color-coded messages with placeholders (
%plugin%,%player%) - Clean plugin.yml structure
- Premium-quality console logging
v1.0.0 (Initial)
- Initial release
- Basic one player sleep functionality
/oneplayersleep enable/disablecommands- Java 21 support
- Minecraft 1.16+ compatibility
Key Improvements
- Performance: 70-80% faster than v1.0.0
- Customization: Full message and plugin name customization
- Control: Weather clearing now optional
- Usability: Reload command, better permissions, cleaner config
Комментарии
Загружаем…