Source-checkedAdmin & protection

CustomSleeping 1.16.X-1.17.X-1.18.X

by Haukrr · for Minecraft

Set minimum of players that must be sleeping to change the Day Time, ban worlds, custom messages...

11KDownloads
5 yr agoLast updated
Spigot · PaperLoaders
1.18Latest game version

About CustomSleeping 1.16.X-1.17.X-1.18.X

From SpigotMC

Set minimum of players that must be sleeping to change the Day Time, ban worlds, custom messages...

[​IMG]

CustomSleeping
allows to set a minimum of players who must sleep to start a new day, instead of the default Minecraft's minimum (all the players at the same time).

NOTE: download the version 6.1 to use in servers which version is 1.17.X and below. It'll be fixed for the next update.

Installation guide:
· Download CustomSleeping.jar
· Drop it in your server's plugin file.
· Run the server and enjoy!


[​IMG]

· Set how many players are needed sleeping to start a new day.
· (Configurable) 1 player needed or a percentage of currently online players.
· If a player or the minimum players set in the config is sleeping, it will stop raining and thundering.
· Custom messages when entering or leaving the bed.
· Disable sleeping in any world (Configurable).
· Disable or enable the explosion of the bed in nether and the end.
[​IMG]

Variables available:
%player% (The player who slept).
%totalplayers% (the number of players that are sleeping).
%neededplayers% (the number of players that must sleep).

<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: Config file</button>
Code (Text):

##############################################
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CustomSleeping 6.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #
# &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
##############################################
#Variables used:
# %player% displays the name of the player who went to sleep.
# %totalPlayers% displays the number of players that are currently sleeping.
# %neededPlayers% &nbsp;displays the number of players that are required to change the day-time.
#If the value of any message is set to null, the message won't be shown.
# e.g: toAllPlayers = "null"
Messages:
&nbsp; # Message sent to all the players in the current world.
&nbsp; toAllPlayers: "&amp;c%player% &amp;e went to sleep."
&nbsp; # Message sent to the player that is sleeping
&nbsp; toPlayer: "&amp;eHave a sweet dream!"
&nbsp; # Message sent to all the players in the current world when a player left the bed.
&nbsp; playerLeftBed: "&amp;c%player% &amp;eleft the bed. Currently sleeping: &amp;c%totalPlayers%&amp;e/&amp;c%neededPlayers%."
&nbsp;
&nbsp; # Message sent to the player when the game rule doDaylightCycle is true. (Only if enableOnDaylightCycleIsFalse = false)
&nbsp; notAllowedGameRule: "&amp;4You cannot sleep in this world."
&nbsp; # Message sent to the player when the world doesn't allow sleeping or it's in the list of Banned_Worlds
&nbsp; notAllowedWorld: "&amp;4You cannot sleep in this world."
&nbsp; # Message sent to the player who tried to sleep when there are monsters nearby.
&nbsp; monstersNearby: "&amp;4You may not rest now, there are monsters nearby."
&nbsp; # Message sent to the player when entering the bed is prevented due to it not being night nor thundering currently.
&nbsp; notPossibleNow: "&amp;4You cannot sleep now, is not being night nor thundering currently."
&nbsp; # Message sent to the player when is too far away.
&nbsp; tooFarAway: "&amp;4You are too far away from bed."
Settings:
&nbsp; # playersNeeded: set a minimum number of players that are required to change the day-time.
&nbsp; # If the value of playersNeeded is set to 0, only one player is needed to change the day-time.
&nbsp; # If it's set to any number between 0-100, it will be the % of players that must be sleeping at the same time.
&nbsp; # If it's set to any number higher than 100 or below 0 then, it behaves like minecraft default (100%).
&nbsp; playersNeeded: 0
&nbsp; # Allows to enable or disable the possibility to sleep in any world with the game rule doDaylightCycle on false.
&nbsp; # If it's set to false, players won't be able to sleep in any world with this game rule set to true.
&nbsp; enableOnDoDaylightCycleIsFalse: false
&nbsp;
&nbsp; &nbsp;#When sleeping in worlds where beds explode (world_the_end and world_nether) and it's enabled, the will explode when
&nbsp; &nbsp;#trying to sleep (as default minecraft). If is set to false, the bed will not explode.
&nbsp; enableExplosion: false
&nbsp;
# Disable worlds from sleeping (world_nether and world_the_end can be removed from the list and nothing will happen in-game, it's just an example).
Banned_Worlds:
&nbsp; - 'world_nether'

Read the full description on SpigotMC →

Highlights

From source data

Game versions

Supports 3 Minecraft versions, the newest being 1.18.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

CustomSleeping 1.16.X-1.17.X-1.18.X on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
6.2, released 2021-12-14

Game versions by loader

LoaderGame versionsNewest
Paper1.16 to 1.18 (3 versions)1.18
Spigot1.16 to 1.18 (3 versions)1.18

From 10 recorded builds of CustomSleeping 1.16.X-1.17.X-1.18.X.

Recent builds

BuildReleasedGame versionsLoaders
6.22021-12-141.16 to 1.18 (3 versions)Spigot, Paper
6.12021-11-14n/aSpigot, Paper
6.02021-07-12n/aSpigot, Paper
6.02021-07-12n/aSpigot, Paper
5.12021-07-06n/aSpigot, Paper
5.02021-07-04n/aSpigot, Paper

Run CustomSleeping 1.16.X-1.17.X-1.18.X on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Runs on your server

From source side support

SpigotMC lists CustomSleeping 1.16.X-1.17.X-1.18.X as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.18 and 2 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorHaukrr, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

CustomSleeping 1.16.X-1.17.X-1.18.X, answered

Generated from the mod’s own source data.

Do my players need to install CustomSleeping 1.16.X-1.17.X-1.18.X?

SpigotMC lists CustomSleeping 1.16.X-1.17.X-1.18.X as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. CustomSleeping 1.16.X-1.17.X-1.18.X is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run CustomSleeping 1.16.X-1.17.X-1.18.X on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add CustomSleeping 1.16.X-1.17.X-1.18.X in one click.