▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/PlayerSleep
PlayerSleep

PlayerSleep

Control how many players must sleep to skip the night.

429
1

🌙 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! 😴

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x1.15.x1.14.x1.13.x1.12.x1.11.x1.10.x1.9.x1.8.x

Поддерживаемые окружения

Сервер

Детали

Лицензия:Apache-2.0
Опубликован:4 месяца назад
Обновлён:3 месяца назад
Главная