COWMODSКаталог модов

PlayerSleep

Control how many players must sleep to skip the night.

Автор: JikZ1098074обновлён 2 нояб. 2025 г.
ПриключенияМеханики игрыУтилиты

Описание

🌙 PlayerSleepX

🛏️ Control how many players must sleep to skip the night! A simple, configurable plugin for Minecraft servers that makes multiplayer sleeping fair and flexible.


✨ Features

  • ⚙️ Customizable sleep system — Define how many players need to sleep to skip the night.

  • 📊 Two modes:

    • Percentage – e.g. 50% of players must sleep
    • Amount – e.g. exactly 3 players must sleep
  • 💬 Broadcast messages when players go to bed or when the night is skipped.

  • 🔄 Reload & configure in-game via /playersleep command.

  • 💡 Lightweight & fast — no dependencies, instant setup.


🧩 Commands

CommandDescriptionPermission
/playersleepShows help and usageplayersleep.command
/playersleep reloadReloads the config fileplayersleep.command
`/playersleep set <enabledmodevalue> `Changes plugin settingsplayersleep.command

🛠️ Examples

/playersleep set mode percentage
/playersleep set value 50
/playersleep reload

⚙️ Configuration (config.yml)

enabled: true
mode: percentage  # or "amount"
value: 50
  • enabled → Enables or disables the plugin
  • mode → Choose between percentage or amount
  • value → Defines the percentage or amount required

🪄 Permissions

playersleep.command:
  description: Allows use of the /playersleep command
  default: op

🧰 Installation

  1. Download the latest .jar from Modrinth.
  2. Place it in your server’s plugins/ folder.
  3. Restart or reload your server.
  4. Adjust the config in plugins/PlayerSleepX/config.yml if needed.

📸 Example Messages

[Sleep] Alex went to bed (2/3)
[Sleep] Enough players are sleeping! Skipping the night...

👨‍💻 Developer Info

  • Main class: de.scholle.playersleep.PlayerSleep
  • Command alias: /psleep
  • Plugin prefix: SleepX
  • Load: STARTUP

📄 License

Apache License 2.0 Copyright © Mobilestars

You are free to use, modify, and distribute this plugin under the terms of the Apache 2.0 license. Read more →


🌐 Links


💛 Made with care by Mobilestars — helping your players sleep better! 😴

Последние версии

Все версии →
release

PlayerSleepX 1.0.0

1.0.0
2 нояб. 2025 г.710Minecraft: 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, spigot
Скачать
Что нового
* ⚙️ **Customizable sleep system** — Define how many players need to sleep to skip the night. * 📊 **Two modes:** * **Percentage** – e.g. 50% of players must sleep * **Amount** – e.g. exactly 3 players must sleep * 💬 **Broadcast messages** when players go to bed or when the night is skipped. * 🔄 **Reload & configure in-game** via `/playersleep` command. * 💡 **Lightweight & fast** — no dependencies, instant setup.
release

PlayerSleepX 1.0.0

1.0.0
2 нояб. 2025 г.48Minecraft: 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10purpur
Скачать
Что нового
* ⚙️ **Customizable sleep system** — Define how many players need to sleep to skip the night. * 📊 **Two modes:** * **Percentage** – e.g. 50% of players must sleep * **Amount** – e.g. exactly 3 players must sleep * 💬 **Broadcast messages** when players go to bed or when the night is skipped. * 🔄 **Reload & configure in-game** via `/playersleep` command. * 💡 **Lightweight & fast** — no dependencies, instant setup.
release

PlayerSleepX 1.0.0

1.0.0
2 нояб. 2025 г.49Minecraft: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10folia
Скачать
Что нового
* ⚙️ **Customizable sleep system** — Define how many players need to sleep to skip the night. * 📊 **Two modes:** * **Percentage** – e.g. 50% of players must sleep * **Amount** – e.g. exactly 3 players must sleep * 💬 **Broadcast messages** when players go to bed or when the night is skipped. * 🔄 **Reload & configure in-game** via `/playersleep` command. * 💡 **Lightweight & fast** — no dependencies, instant setup.