OnePlayerSleepX Plugin cho Minecraft 1.20.1, 1.21.1
Tự động bỏ qua ban đêm nếu một người chơi ngủ.
OnePlayerSleepX
More configurable Version: PlayerSleep
A lightweight Minecraft plugin that controls whether one player or all players need to sleep to skip the night. It automatically applies the setting on server startup, keeping gameplay smooth and consistent.
📦 Features
- Toggle between One Player Sleep and All Players Sleep using a simple command
- Automatically applies across all worlds
- Fully configurable via config.yml
- Includes tab completion and aliases for faster commands
- Lightweight and optimized for performance
⚙️ Configuration
config.yml
==== OnePlayerSleepX Configuration ====
enabled: true # true = only one player needs to sleep, false = everyone must sleep
- When enabled is true, the plugin sets the needed players to skip the night to 1
- When enabled is false, the plugin sets the needed players to skip the night 100% of the current online players
💬 Commands
Command - Alias - Description
/oneplayersleep enable - /ops enable or /oneplayersleep e - Enables OnePlayerSleep (only one player must sleep) /oneplayersleep disable - /ops disable or /oneplayersleep d - Disables OnePlayerSleep (all players must sleep)
- The command immediately updates the config and applies the new setting to all worlds.
- Includes tab completion for enable, disable, e, and d.
🔑 Permissions
Permission - Default - Description
oneplayersleepx.toggle - op - Allows the player to use /oneplayersleep and /ops
🚀 Installation
- Download the latest release
- Place the .jar file into your server's plugins folder
- Start your server — done!
🧩 Compatibility
- Minecraft 1.8.8+
- Java 8+
- Works with Bukkit, Spigot, Paper, Purpur, Folia, and other Bukkit-based servers
👤 Author
Mobilestars
📝 License
This project is licensed under the Apache License 2.0.
Cách cài đặt OnePlayerSleepX
A server on Paper, Spigot or Bukkit
The plugin runs on the server core for Minecraft 1.8.8–1.21.10; players do not need to install anything.
File goes into the plugins folder
Download the file OnePlayerSleepX-1.0.0.jar (2 KB) and put it into the server’s plugins folder.
Restart the server
On startup the plugin creates its own settings folder in plugins.
Use the “To server” button
On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.
Minecraft 1.21.10 runs on Java 21: with a different Java version the game may close right after launch.
Phiên bản
Kèm phụ thuộc
| Minecraft | Loader | Tệp | Hành động |
|---|---|---|---|
| 1.12.2 | Bukkit, Paper, Spigot | 1.12.22.2 KB |
Đánh giá
Hãy là người đầu tiên đánh giá OnePlayerSleepX




