Use the /w Alias for /msg in Minecraft
/w is an alias of /msg: it accepts the same arguments and does the same thing.
The /w command in Minecraft Java Edition is a built-in alias for the /msg command. Typing /w does the exact same thing as typing /msg.
Players use this command whenever they want a fast shortcut to run /msg using only a single letter.
/w → msg …/w → msg …/w Steve Hello thereUses the /w alias to pass a simple greeting for Steve to the /msg command.
/w Alex Meet me at the villageRuns the /msg command via /w to send instructions to a player named Alex.
/w @p Watch out behind youUses /w with the nearest player selector to pass a warning to /msg.
/w @r You found the secret noteExecutes /msg through the /w shortcut targeting a random player.
/w @a The server event is starting nowPasses an announcement for all players to the /msg command using /w.
/w @s Testing my own command setupUses /w to trigger /msg directed at the player or entity running the command.
Measured from the game files of every Java release from 1.13 to 26.3.
The /w command is only available in Minecraft Java Edition; Bedrock Edition has no command with this name.
There is no difference in behaviour because /w is an alias that does the exact same thing as /msg.
No, Bedrock Edition does not have a command named /w.
The /w command has been available in every Java Edition release measured from 1.13 all the way to 26.3.