← Назад к ресурсам

Sleeping Messages

Sleep notifications with customizable text and colors!

Modrinth social utility

Описание

# Sleeping Messages [![Discord](https://img.shields.io/discord/1327308441324097681?label=discord&color=blue&logo=discord)](https://discord.gg/5UdcDa5xNC) [![Modrinth](https://img.shields.io/modrinth/dt/sleeping-messages?label=modrinth&logo=modrinth)](https://modrinth.com/datapack/sleeping-messages) [![License](https://img.shields.io/github/license/lullaby6/data-packs)](https://github.com/lullaby6/data-packs/blob/main/LICENSE) `Sleeping Messages` notifies all players when someone is sleeping. You can fully customize the message, change the text, adjust its color, and even modify the color of the player's name. ## ⌨️ Commands See current config: ```mcfunction /data get storage sleeping_messages:config ``` Reset config: ```mcfunction /function sleeping_messages:config ``` Custom message (example for Spanish): ```mcfunction /data modify storage sleeping_messages:config messages[0] set value " esta durmiendo!" ``` Add message: ```mcfunction /data modify storage sleeping_messages:config messages append value " is zZzzZ..." ``` Custom colors: ```mcfunction /data modify storage sleeping_messages:config player_message_color set value "green" /data modify storage sleeping_messages:config message_color set value "white" ``` Disable sleeping messages for a player: ```mcfunction /tag add sleeping_messages.player.disabled ``` Enable sleeping messages for a player: ```mcfunction /tag remove sleeping_messages.player.disabled ``` ## 🪪 License [AGPL-3.0-or-later](https://github.com/lullaby6/data-packs/blob/main/LICENSE) ## 👾 Bugs/Issues Please report any problem/bug/issues in the [Discord Server](https://discord.gg/5UdcDa5xNC). ## 💌 Donate - [Donate on Ko-Fi](https://ko-fi.com/lullaby45743) - [Donate on PayPal](https://www.paypal.com/paypalme/lucianobrumer) ## 🎁 Server Hosting Creating your own server can be a very lengthy, tedious and costly process. But with BisectHosting, you get your own server in just a couple of clicks! With their 24/7 support and fast-response time, no issues shall stand in your way! Interested? Then we've got a deal for you! https://bisecthosting.com/lullaby ![Server Hosting](https://www.bisecthosting.com/partners/custom-banners/e840cd99-59f6-4b27-b542-3023cd08bdfe.webp)