MonitoringMinecraft MonitoringMinecraft

sleep plugin

Плагин PaperPurpurSpigot

Плагин для Майнкрафт: ночь пропускается, если половина онлайн-игроков лежит в кровати.

13.8к скачиваний 29 подписчиков
Оцените первым

SleepPlugin

Minecraft Paper 1.21.x plugin for enhanced sleep mechanics - only half of online players need to sleep to skip the night.

Features

  • Half of players needed to skip night
  • Smart counting for odd player counts
  • Multiple message modes (normal, minimal, silent)
  • Storm and night skipping
  • Ignore players in Nether and End dimensions
  • Smooth time transition from night to morning
  • Configuration update system (preserves settings during updates)
  • Multi-world support
  • Multi-language support (English, Russian, and custom languages)

Examples

  • 2 players online: 1 player needs to sleep
  • 3 players online: 1 player needs to sleep ((3-1)/2 = 1)
  • 4 players online: 2 players need to sleep
  • 5 players online: 2 players need to sleep ((5-1)/2 = 2)
  • 6 players online: 3 players need to sleep

Configuration

After first server start with the plugin, a configuration file will be created at plugins/SleepPlugin/config.yml:

# SleepPlugin Configuration
# Do not change this version number manually
version: "1.0.3"

language: en_EN  
skip-delay: 3    
morning-time: 1000  
message-mode: normal  
min-players-required: 2  
ignore-nether-end-players: true  
smooth-time-transition:
  enabled: true  
  duration-ticks: 60 
  steps: 60 
storm-settings:
  skip-storms: true 

Settings:

  • language: Language for plugin messages (en_EN or ru_RU)
  • skip-delay: Time in seconds before night is skipped
  • morning-time: Minecraft time value to set when skipping to morning
  • message-mode: Controls how verbose the plugin messages are
    • normal: Standard detailed messages
    • minimal: Short concise messages
    • silent: No messages at all
  • min-players-required: Minimum number of players needed to activate sleep mechanics (plugin won't work with fewer players)
  • ignore-nether-end-players: When true, players in Nether or End won't be counted for sleep calculations
  • smooth-time-transition: Settings for the smooth time transition feature
    • enabled: Whether to enable smooth transition or use instant time change
    • duration-ticks: How long the transition should take (in ticks, 20 ticks = 1 second)
    • steps: Number of intermediate steps (higher = smoother)
  • storm-settings: Settings for the storm skipping feature
    • skip-storms: When true, players can skip storms by sleeping

Custom Language Files

You can create your own language translations:

  1. Navigate to plugins/SleepPlugin/lang/
  2. Copy template.yml as a template
  3. Rename to your language code (e.g., de_DE.yml, fr_FR.yml)
  4. Translate all message strings
  5. Set language: de_DE in config.yml
  6. Restart server

The plugin automatically detects all custom language files!

Tip: Use template.yml - it has helpful comments for translators.

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1332 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
AxisMine - ВаниллаPlus
3 онлайн
1.21.4 — 26.1.2 версия
Ванильный мир с сотнями уникальных механик и справедливой игрой! /free, pat-pat, emotecraft, Voice.
MigosMc
MigosMc Java + BE
1256 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
F19T
F19T Java
0 онлайн
1.16.5 версия
F19T - Выкован в огне.Закален хаосом.
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.16.5. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат