MonitoringMinecraft MonitoringMinecraft

SleepMenu

Мод Fabric

Sleep Menu — мод для Майнкрафт, превращающий каждую кровать в быстрое серверное меню управления временем и погодой.

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

Stand on a bed, click your choice, and shape the sky: day, night, clear, rain, or thunder

SleepMenu

SleepMenu is a server-side Fabric mod for Minecraft. Players standing on a bed get a clickable chat menu to change time and weather.

Stand on a bed, click your choice, and shape the sky: day, night, clear, rain, or thunder.


🎮 Commands

  • /sleepmenu open
  • /sleepmenu set <option>
  • /sleepmenu reload (admin only; console allowed)

Options:

day, midnight, night, noon, clear, rain and thunder

If Mod Menu and Cloth Config are installed on the client, the config can also be edited through an in-game config screen. Dedicated servers do not need either dependency.


🔨 Server-side

This mod runs fully server-side. Clients do not need to install the mod.

Also works in single-player (without LuckPerms support).


🔄 LuckPerms permissions

If LuckPerms is installed, these nodes are checked:

  • sleepmenu.use
  • sleepmenu.time.day
  • sleepmenu.time.midnight
  • sleepmenu.time.night
  • sleepmenu.time.noon
  • sleepmenu.weather.clear
  • sleepmenu.weather.rain
  • sleepmenu.weather.thunder

If LuckPerms is missing, fallback behavior is controlled by config.

🌍 LuckPerms quick start

Example: allow everyone to open the Sleep Menu, but only moderators to change weather.

/lp group default permission set sleepmenu.use true
/lp group moderator permission set sleepmenu.weather.clear true
/lp group moderator permission set sleepmenu.weather.rain true
/lp group moderator permission set sleepmenu.weather.thunder true

Official LuckPerms docs:


⚙️ Configuration

Config file: config/sleepmenu.json

{
  "cooldownTicks": 400,
  "antiSpamWindowTicks": 12000,
  "timeChangeLimit": 4,
  "weatherChangeLimit": 4,
  "noLuckPermsAccess": "EVERYONE"
}
  • cooldownTicks: minimum ticks between successful changes per player (20 ticks = 1 second).
  • antiSpamWindowTicks: shared anti-spam window for successful changes across all players. Default 12000 ticks = 10 minutes.
  • timeChangeLimit: maximum successful time changes allowed inside the anti-spam window. Set 0 to disable.
  • weatherChangeLimit: maximum successful weather changes allowed inside the anti-spam window. Set 0 to disable.
  • noLuckPermsAccess: EVERYONE or OP_ONLY.

📦 Installation

  1. Download the latest JAR.
  2. Place the JAR in your server's mods/ folder.
  3. Make sure Fabric API is also installed.
  4. Start Minecraft — the config file will be created automatically.

🏜️ Test Server

Feel free to join my Minecraft server to test my mods: play.swordfishbe.eu


⁉️ Credits/Idea

Based on the command blocks setup created by TOLoneWolf's: Sleep Menu System for Hypermine SMP

Смотри также

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

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

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

SkyBars
SkyBars Java + BE
1080 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MigosMc
MigosMc Java + BE
1164 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
EVY-MC ВАЙП 17.06
8 онлайн
1.21.1 — 1.21.11 версия
Уютное выживание с живой экономикой, голосовым чатом и 50 достижениями
MagicMC
MagicMC Java + BE
4 онлайн
1.21 — 26.2 версия
SMP, СМП Выживание
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат