Send Direct Messages to Players in Java Edition
The /msg command lets you send a text message directly to specific players in Minecraft Java Edition. Instead of typing to everyone in the main chat, you can pick exactly who sees your words.
Players use this command to talk to friends on multiplayer servers without bothering others, or to send alerts to specific people using target selectors.
/msg <targets> <message>/msg <targets> <message>| Argument | Type | What it means |
|---|---|---|
<targets> | target selector players only | Chooses which players receive the message using a player name, a UUID, or a target selector designed for players. |
<message> | message | Contains the free text you want to send, which can also include target selectors that get replaced by actual names in the chat. |
/msg Steve Meet me at the village bell.Sends a simple message directly to the player named Steve.
/msg @p Watch out behind you!Sends a quick warning to the nearest player.
/msg @a The server will restart in five minutes.Broadcasts a direct notification to every player currently online.
/msg @s Note to self: base is at 150, 64, -320.Sends a message to yourself so you can keep a coordinate reminder in your chat history.
/msg Alex Have you seen @p around here?Messages Alex and automatically replaces the selector in the text with the name of the player closest to you.
Measured from the game files of every Java release from 1.13 to 26.3.
This command is only available in Minecraft Java Edition. Bedrock Edition does not have a command named /msg.
No, the <targets> argument only works for players, so you cannot send messages to animals, monsters, or other entities.
If you put a selector like @p or @a inside the <message> part, the game replaces that selector with the matching names before delivering the text.
The /msg command has been in the game for a long time and was already available in version 1.13 through to the current 26.3 release.