Show and Clear Player Dialogs in Minecraft
The /dialog command in Minecraft Java Edition lets you display or remove dialogs on a player's screen. It was added in version 1.21.6 and requires Operator permission level 2 to run.
Mapmakers and server operators use this command to manage conversations, clear active pop-ups, and trigger story text for specific players during custom adventures.
/dialog clear <targets>/dialog show <targets> <dialog>/dialog clear <targets>/dialog show <targets> <dialog>| Argument | Type | What it means |
|---|---|---|
<targets> | target selector players only | Specifies the players to affect using a player name, a UUID, or a target selector that resolves to players. |
<dialog> | dialog | Defines which dialog to show by specifying a dialog ID or an inline dialog. |
/dialog clear @sClears any active dialog for the player running the command.
/dialog clear @aRemoves active dialogs for every player online.
/dialog clear SteveClears the current dialog for the specific player named Steve.
/dialog show @p custom:welcomeShows the dialog with the ID custom:welcome to the nearest player.
/dialog show Alex adventure:quest_startDisplays the quest_start dialog to the player named Alex.
/dialog show @a[team=red] game:round_overShows the round_over dialog to all players on the red team.
Measured from the game files of every Java release from 1.13 to 26.3.
Minecraft Bedrock Edition does not have a /dialog command with this name, as this command is exclusive to Java Edition starting in version 1.21.6.
The /dialog command was added to Minecraft Java Edition in version 1.21.6 and remains available through version 26.3.
You need permission level 2, which means you must be a server operator or have cheats turned on in your single-player world.
No, the <targets> argument only accepts players, so you can only target player names, player UUIDs, or player selectors.