How to Execute the Order Activate the Chat Window. In Minecraft, the simplest way to run a command is via the chat window. Type the command into the box. In this example, we'll use the following command to form a team called "Team DigMinecraft" in Minecraft Java Edition (PC/Mac) 1.15: Team1 may be added using the /team command. "text":"DigMinecraft Team"