Sleeping Messages
The "Sleeping Messages" datapack notifies all players on the server when someone attempts to sleep. You can fully customize the display message: modify the text, adjust its color, and even choose the color for displaying player names.
🎮 Configuration and Commands
View current settings:
/data get storage sleeping_messages:config
Reset settings:
/function sleeping_messages:config
Customize message (example in Spanish):
/data modify storage sleeping_messages:config messages[0] set value " esta durmiendo!"
Add new message:
/data modify storage sleeping_messages:config messages append value " is zZzzZ..."
Change text colors:
/data modify storage sleeping_messages:config player_message_color set value "green"
/data modify storage sleeping_messages:config message_color set value "white"
Disable notifications for specific player:
/tag <player> add sleeping_messages.player.disabled
Enable notifications for specific player:
/tag <player> remove sleeping_messages.player.disabled
📝 Main Features
- Automatic notification of all players when someone attempts to sleep
- Flexible message text customization
- Ability to change text and player name colors
- Support for multiple message variations
- Individual control over notification display