ModsFinder

Insomnia

by moehreag

With Insomnia installed, a bed can refuse to let a player sleep and show a message instead, a behavior the author describes as mostly preventing sleep.

FabricQuiltClient and serverAll rights reserved1.20.1 – 26.3

What it does

Insomnia stops players from sleeping in beds under conditions set by its messages. When a bed refuses sleep, the player receives a line of text chosen from the messages included with the mod, and the bed is not used to skip the night. Messages are data-driven, so a pack or server can replace them or add new ones, and each message can be tied to a condition such as world seed, bed position or day count. A JSON entry can also use a translation key with a boolean value to decide whether that key prevents sleep, and the author notes that a message can be set to prevent sleeping entirely.

The mod also changes how spawn points are set with beds. The author notes that the spawn behavior is modified, so the usual bed-clicking routine no longer works in the same way. The included messages are a sample set, and the author expects players to write their own for the worlds they run. Insomnia is released under All rights reserved and is not open source, though its source code and issue tracker are public. Files are published for Fabric and Quilt, and snapshot builds are published as well.

Key features

  1. Blocked sleep

    Beds refuse sleep for players who meet the mod's conditions, so the night is not skipped by using them.

  2. Data-driven messages

    Messages are defined in data, and each can depend on world seed, bed position or day count.

  3. Translation key rules

    A JSON object with a translation key and a boolean value decides whether that key prevents sleep.

  4. Modified spawn points

    Setting a spawn point with a bed follows changed rules, so clicking a bed does not always set one.

Compatibility

Latest build for each game version and loader.

26.x4 of 4 versions with builds
26.31.1.0+26.3Not available
26.21.1.0+26.2-rc-2Not available
26.1.11.1.0+26.11.1.0+26.1
26.11.1.0+26.11.1.0+26.1
1.21.x9 of 9 versions with builds
1.21.91.0.0+1.21.91.0.0+1.21.9
1.21.81.0.0+1.21.61.0.0+1.21.6
1.21.71.0.0+1.21.61.0.0+1.21.6
1.21.61.0.0+1.21.61.0.0+1.21.6
1.21.51.0.0+1.21.51.0.0+1.21.5
1.21.4Not available1.0.0+1.21.4
1.21.3Not available1.0.0+1.21.4
1.21.1Not available1.0.0+1.21.1
1.21Not available1.0.0+1.21.1
1.20.x4 of 4 versions with builds
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

Use cases

Who it’s for: Server owners and pack makers who want beds to behave differently from vanilla. The mod is a server-side tool, and it relies on the included resource pack for translated messages on the client.

How it compares

Full comparison

Ban Sleeping is server-side only, open source under the MIT License, and published for Fabric and Quilt across 1.20 – 26.1. Melancholic Beds runs on client and server, is open source under the GNU Lesser General Public License v3.0 only, and is published for Fabric across 1.21.1 – 26.3. Insomnia covers 1.20.1 – 26.3 on Fabric and Quilt, with a client and server environment and no open source license.

ModLoadersGame versionsEnvironmentUpdated
InsomniaFabric and Quilt1.20.1 – 26.3Client and server2026-10-05
Ban SleepingFabric and Quilt1.20 – 26.1Server-side only2026-03-25
Melancholic BedsFabric1.21.1 – 26.3Client and server2026-09-15

Questions

Does Insomnia need to be installed on the client?

A server running it needs every connecting player to have it too. The translated messages come from a resource pack that the client loads.

Which loaders does Insomnia support?

Files are published for Fabric and Quilt. The latest Fabric file is 1.1.0+26.3 for 26.3, and the latest Quilt file is 1.1.0+26.1 for 26.1.1.

Can the messages be changed for a server?

Yes. The messages are data-driven, so a server can edit or replace them through its data files.

In the catalog

Insomnia is one of 7,555 Cursed mods on ModsFinder, and one of 4,235 Cursed mods for Fabric. 8,071 mods support Minecraft 26.3.

More from moehreag

All projects

Similar mods

What the author says

Mostly prevents you from sleeping. Messages are configurable and data-driven. Note: Setting the spawn point with beds is not modified.
moehreag, on the Modrinth page

Official listing

Owner
moehreag
Published
2024-05-01
Updated on Modrinth
2026-10-05
Facts verified
2026-10-15

Tags