new NBT tag that stores the last chat message or command that player sends, even if the command is invalid.
For example, if a player types "Hello world" in chat, this message would be stored in the player's NBT, like so:
{ lastSent: "Hello world" }
Additionally, it would be great to have advancements and scoreboards that can detect when any message or command is sent. This would be great for datapack creations,it would named something like:
minecraft:chat.sent_commands
minecraft:chat.sent_message
Please sign in to leave a comment.
1 Comments