Перейти к содержимому
Mineforgian

SleepMessages

Messages in chat when someone sleeps

995 загрузок10 подписчиковMITpaperpurpur

Обновлён 2 июля 2026 г. · опубликован 11 октября 2022 г.

SleepMessages

GitHub Downloads

Discord Ko-Fi Support Link

Configurable chat messages for when someone is sleeping

Adds configurable messages to chat for when a player sleeps to skip night

/smreload

  • Reloads the configuration, requires sm.reload

sm.message.bypass

  • Allows a user to bypass message sending, will not send a message when the player sleeps

Note

This plugin in itself does not add any night-skipping functionality. This plugin is based off what is set with /gamerule playersSleepingPercentage

If you are using a plugin to skip night, the SleepMessages will not work as intended for you.

Use MiniMessage Formatting to color your messages!

Default Messages

image

Configured Message Example

image

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.1.1Релиз26.1, 26.1.1, 26.1.2, 26.2paper, purpur2 июля 2026 г.Скачать (13 КБ)
1.1.0Релиз1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur1 января 2026 г.Скачать (13 КБ)
1.0Релиз1.21.2, 1.21.3, 1.21.4, 1.21.5paper, purpur20 января 2023 г.Скачать (12 КБ)
0.2Релиз1.19.2paper, purpur11 октября 2022 г.Скачать (6 КБ)

Ченджлог

1.1.1Релиз26.1.1, 26.1.2, 26.2 · 2 июля 2026 г.

Fixes a console spam issue on versions 26.1+

1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 1 января 2026 г.

Adds the ability to use placeholder API placeholders in the messages. Use <papi:placeholder> where you would use %placeholder% normally

1.0Релиз1.21.3, 1.21.4, 1.21.5 · 20 января 2023 г.

Changes reload command to be /smreload

Changes reload permission to be sm.reload

Adds sm.message.bypass which will allow a player to sleep without setting off a message, this set to false by default.

Adds 2 config settings:

world-specific-message: true When true, the message will only display to the world the event takes place in, when false, it will display to the whole server

purpur-afk-count-as-sleeping: false When true, the sleep message will count purpur-AFK players as asleep

⚠️ NOTE

This will not change the purpur setting itself.
You will need to follow the instructions on purpur's idle-timeout settings for that setting to work
If you set this to true, and the purpur setting is not on, your messages will display incorrect numbers

Комментарии

Загружаем…