HomeJavaModsNo Sleeping | Bed use prevention
No Sleeping | Bed use prevention
[​IMG]

This plugin prevents players from sleeping in beds.
Players can still place beds as decoration.



+ Edit messages + Hex code support
+ Toggle notify messages
+ Prevent respawn point
+ Toggle bed respawn to world respawn
+ Bypass w/ permission node



Permission:
nosleep.bypass or opped players

Spoiler: Config File
Code (YAML):
[/COLOR ] [/SIZE ]
# NoSleeping Config

# Prevent a player from interacting with a bed
Prevent-Sleeping
: true

# Message sent when attempting to sleep
# Color codes &f | Hex codes &#ffffff
Denied-Message
:
  Enabled
: true
  Message
: "&cSleeping is not allowed"

# If you have permission nosleep.bypass, ignore prevention
Permission-Bypass
: true

# If you are in creative mode, ignore prevention
Creative-Bypass
: true

# If enabled you will respawn at the world spawn
# If disabled you will respawn at the bed, or spawnpoint
Disable-Bed-Respawning
:
  Enabled
: false
  Show-Messages
:
    Enabled
: true
    Message
: "&cBed respawning is disabled, you have been sent to the world spawn"

[SIZE=4 ] [COLOR=rgb (64, 64, 64 ) ]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

No Sleeping | Bed use prevention is a free Minecraft Java mod. Compatible with Minecraft 1.19, 1.20, 1.20.6, 1.21 and newer. Downloaded 194 times (via Spigot). Download it and open it directly in the game.

Explore more