promotional bannermobile promotional banner

NightRest

A simple and configurable sleep plugin that lets servers choose how many players must sleep to skip the night.
Back to Files

NightRest (v1.0.1)

File nameNightRest-1.0.1.jar
Uploader
CoolSantyxCoolSantyx
Uploaded
Oct 31, 2026
Downloads
11
Size
38.3 KB
File ID
9389418
Type
R
Release
Supported game versions
  • 26.3
  • 26.2
  • 26.1.2
  • 26.1.1
  • 26.1
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19
  • 1.18.2
  • 1.18.1
  • 1.18
  • 1.17

What's new

Changes

  • Sleep progress messages now appear only after a player has actually entered a bed. Failed or cancelled bed entries no longer produce a false notification.
  • An explicitly empty message list (messages: []) in a language file now stays silent. Missing message keys still use the configured fallback language.
  • With vanilla skip protection enabled, NightRest now honours skip.delay-ticks even when enough players are already sleeping.
  • Changed plugin.yml's api-version from 1.19 to 1.16, removing the descriptor's automatic load rejection on the older server versions listed for this project. Java 17 or newer is still required.

Usage

  1. Replace the old NightRest JAR in your server's plugins/ folder with NightRest-1.0.1.jar, then restart the server.
  2. Configure plugins/NightRest/config.yml. The main settings are sleep.mode (single, amount, or percentage), sleep.amount or sleep.percentage, and notifications.chat.enabled.
  3. Use /nr reload after editing the config or a language file. Existing settings and edited language files are kept.
  4. Use /nr status to inspect the active settings and /nr testchat to check chat delivery.

Commands: /nightrest (alias /nr) with reload, status, testchat, enable, disable, or version. These commands require nightrest.admin (default: server operators). To exclude players from the sleep count, set sleep.ignore-permission to a permission node in config.yml and grant it to those players.

NightRest is server side; players do not need a client mod. It has no required third-party plugins.

This mod has no related projects