https://github.com/lullaby6/sleeping-messages-data-pack
MC Data-Pack - Sleep notifications with customizable text and colors!
https://github.com/lullaby6/sleeping-messages-data-pack
data-pack data-packs datapack datapacks mc minecraft minecraft-data-pack minecraft-data-packs minecraft-datapack minecraft-datapacks
Last synced: 3 months ago
JSON representation
MC Data-Pack - Sleep notifications with customizable text and colors!
- Host: GitHub
- URL: https://github.com/lullaby6/sleeping-messages-data-pack
- Owner: lullaby6
- License: mit
- Created: 2025-02-25T01:00:36.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-27T11:23:54.000Z (3 months ago)
- Last Synced: 2025-02-27T15:46:15.237Z (3 months ago)
- Topics: data-pack, data-packs, datapack, datapacks, mc, minecraft, minecraft-data-pack, minecraft-data-packs, minecraft-datapack, minecraft-datapacks
- Language: mcfunction
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sleeping Messages
[](https://github.com/lullaby6/sleeping-messages-data-pack/releases)
[](https://discord.gg/5UdcDa5xNC)
[](https://modrinth.com/datapack/sleeping-messages)
[](https://github.com/lullaby6/sleeping-messages-data-pack/blob/main/LICENSE)
[](https://github.com/lullaby6/sleeping-messages-data-pack/issues)
[](https://github.com/lullaby6/sleeping-messages-data-pack)
[](https://github.com/lullaby6/sleeping-messages-data-pack)
[](https://github.com/lullaby6/sleeping-messages-data-pack/stargazers)`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.Version: `1.21.X`
## 📂 Installation
Move the downloaded file in the path `.minecraft/saves/[world]/datapacks`
## 👾 Bugs/Issues
Please report any bug/issues to the [Discord Server](https://discord.gg/5UdcDa5xNC) in the `bugs` channel, or create a issue in the [Github Repostiroy](https://github.com/lullaby6/sleeping-messages-data-pack/issues).
## ⌨️ 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
```Disable:
```mcfunction
/datapack disable "file/sleeping-messages.zip"
```Enable:
```mcfunction
/datapack enable "file/sleeping-messages.zip"
```## 🪪 License
[MIT](https://github.com/lullaby6/sleeping-messages-data-pack/blob/main/LICENSE)