Minecraft Commands
Minecraft Java Edition commands for players, worlds and servers.
4 Commands found
No commands found. Try a different search or filter.
-
Information Minecraft
- Edition
- Java Verified version: 26.3
- Execution context
- Ingame chat
Broadcast a test message
Enter this example in player chat. Broadcasts Library test to all online players, with an announcement identifying the sender. It is plain message text, not an SNBT text component. Use a separate test world or warn other players before sending.
/say Library testPermissions / Source
- Permissions
- Requires permission level 2 or higher in Java Edition. Enable commands in single-player; on a Vanilla server, you need operator permissions at level 2 or higher. Enter this example in player chat. The message reaches all online players and identifies the sender; inform other players before broadcasting.
- Source
- https://minecraft.wiki/w/Commands/say (opens in a new tab)
- Source checked on
-
Information Minecraft
- Edition
- Java Verified version: 26.3
- Execution context
- Ingame chat
Send yourself a formatted chat message
Enter this example in player chat. Sends Library test in gold only to you: @s selects the executing player. The message uses Java's current SNBT text-component syntax, not Bedrock's rawtext structure. A command block or server console has no player entity of its own, so do not copy this @s target unchanged into those contexts.
/tellraw @s {text:"Library test",color:gold}Permissions / Source
- Permissions
- Requires permission level 2 or higher in Java Edition, even when sending only to yourself. Enable commands in single-player; on a Vanilla server, you need operator permissions at level 2 or higher. Run this example in player chat: @s selects you. A command block or server console has no player entity of its own, so the target must be adapted for those contexts.
- Source
- https://minecraft.wiki/w/Commands/tellraw (opens in a new tab)
- Source checked on
-
Information Minecraft
- Edition
- Java Verified version: 26.3
- Execution context
- Ingame chat
Show command help
Lists available commands in the ingame chat so you can look up what you can use.
/helpPermissions / Source
- Permissions
- Requires permission level 0 in Java Edition; operator status and enabling commands in single-player are not required. Enter this example in player chat. Help only shows commands available to you with your current permissions.
- Source
- https://minecraft.wiki/w/Commands/help (opens in a new tab)
- Source checked on
-
Information Minecraft
- Edition
- Java Verified version: 26.3
- Execution context
- Ingame chat
Show yourself an actionbar message
Enter this example in player chat. Shows Library test in gold above your hotbar, rather than as a large central title. @s selects you. Java's title command takes an SNBT text component here; do not replace it with Bedrock's titleraw command. Other actionbar messages can overwrite this temporary display.
/title @s actionbar {text:"Library test",color:gold}Permissions / Source
- Permissions
- Requires permission level 2 or higher in Java Edition. Enable commands in single-player; on a Vanilla server, you need operator permissions at level 2 or higher. Run this example in player chat: @s selects you. A command block or server console needs an explicit player target instead. Other actionbar messages can replace this display.
- Source
- https://minecraft.wiki/w/Commands/title (opens in a new tab)
- Source checked on