Can I clear chat using a command block?
//ads -- adsterra.com -- native banner
?>
In Minecraft 1.9, F3 + D will clear your chat.
Because this works, there must be either a command or .class that it calls upon. Can this somehow be run from a command block at a certain period of time?
Best Answer
It is not possible to clear the player's chat using commands.
However, you could dump a large amount of newlines (~100) using /tellraw, which will clear their current history but will retain the newlines.
/tellraw @a ["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"]
Pictures about "Can I clear chat using a command block?"



How do you clear chats in Minecraft with command blocks?
Answer. In order to clear chat you must be out of all GUIs, including the chat bar. Press F3 + D and your chat will be cleared of all messages and achievements! You can check if it worked by pressed T to open up the command bar.Can you remove chat in Minecraft?
No. Command blocks can't respond to arbitrary text. For OP players you can add a custom gamerule that they can set, but that's not completely arbitrary text, only works with OP permissions and will get removed in 1.13.Minecraft - How to Clear Chat Using Command Blocks!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Alexander Suhorucov, EKATERINA BOLOVTSOVA, Keira Burton, EKATERINA BOLOVTSOVA
