promotional bannermobile promotional banner

SleepMenu

Sleep Menu turns every bed into a quick server-side control panel for time and weather.
Stand on a bed, click your choice, and shape the sky: day, night, clear, rain, or thunder.

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

Stand on a bed, click your choice, and shape the sky: day, night, clear, rain, or thunder. 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. Players standing on a bed get a clickable chat menu to change time and weather.

video thumbnail
video thumbnail

Description

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:

- https://luckperms.net/wiki/Home
- https://luckperms.net/wiki/Command-Usage

 

⚙️ Configuration

Config file: `config/sleepmenu.json`

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. Install Fabric Loader for Minecraft.
  2. Download Fabric API and place it in `mods/`.
  3. Download `sleepmenu-<version>.jar` and place it in `mods/`.
  4. Launch Minecraft. The config is created automatically on first run.

 

🏜️ 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.

The SleepMenu Team

profile avatar
  • 2
    Followers
  • 15
    Projects
  • 11.3K
    Downloads

He/Him - Pelt, Belgium

Donate

More from SwordfishBEView all

  • Eggify project image

    Eggify

    • 319
    • Mods

    Eggify is a Fabric mod for Minecraft that gives thrown eggs a small chance to convert a mob into its spawn egg.

    • 319
    • June 2, 2026
    • Mods
    • +1
  • Enhanced Netherite Armour project image

    Enhanced Netherite Armour

    • 480
    • Mods

    Gain Fire Resistance when wearing a full set of Netherite armour.

    • 480
    • May 15, 2026
    • Mods
    • +1
  • Undead Riders project image

    Undead Riders

    • 529
    • Mods

    Undead Riders is a Fabric mod for Minecraft that adds naturally spawning undead horsemen to the overworld surface.

    • 529
    • May 13, 2026
    • Mods
  • Leashed Teleport project image

    Leashed Teleport

    • 526
    • Mods

    Allow users to teleport around with leashed entities!

    • 526
    • April 28, 2026
    • Mods
    • +2
  • Eggify project image

    Eggify

    • 319
    • Mods

    Eggify is a Fabric mod for Minecraft that gives thrown eggs a small chance to convert a mob into its spawn egg.

    • 319
    • June 2, 2026
    • Mods
    • +1
  • Enhanced Netherite Armour project image

    Enhanced Netherite Armour

    • 480
    • Mods

    Gain Fire Resistance when wearing a full set of Netherite armour.

    • 480
    • May 15, 2026
    • Mods
    • +1
  • Undead Riders project image

    Undead Riders

    • 529
    • Mods

    Undead Riders is a Fabric mod for Minecraft that adds naturally spawning undead horsemen to the overworld surface.

    • 529
    • May 13, 2026
    • Mods
  • Leashed Teleport project image

    Leashed Teleport

    • 526
    • Mods

    Allow users to teleport around with leashed entities!

    • 526
    • April 28, 2026
    • Mods
    • +2