Skip to content

适用于 Minecraft 1.20.1, 1.21.1 的 OnePlayerSleepX 插件

当一名玩家睡觉时自动跳过夜晚。

起价 JikZ109 · Modrinth
次浏览
30 次浏览
已更新
已更新 05.09.2026

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.

如何安装 OnePlayerSleepX

  1. 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.

  2. 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.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. 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.

版本

含依赖项

Minecraft加载器文件操作
1.12.2Bukkit, Paper, Spigot1.12.22.2 KB

评价

成为第一个评价 OnePlayerSleepX 的人

评论 0

登录后即可评论登录

相似插件

全部插件

了解更多

作者: JikZ109许可证: Apache-2.0

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。