Skip to content

lullaby6/sleeping-messages-data-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sleeping Messages

Latest Discord Modrinth License Issues Code Size Repo Size Stars

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 in the bugs channel, or create a issue in the Github Repostiroy.

⌨️ Commands

See current config:

/data get storage sleeping_messages:config

Reset config:

/function sleeping_messages:config

Custom message (example for Spanish):

/data modify storage sleeping_messages:config messages[0] set value " esta durmiendo!"

Add message:

/data modify storage sleeping_messages:config messages append value " is zZzzZ..."

Custom 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 sleeping messages for a player:

/tag <player> add sleeping_messages.player.disabled

Enable sleeping messages for a player:

/tag <player> remove sleeping_messages.player.disabled

Disable:

/datapack disable "file/sleeping-messages.zip"

Enable:

/datapack enable "file/sleeping-messages.zip"

🪪 License

MIT