OGTOOLS

Minecraft /trigger command

Lets players change a trigger objective set up by the map maker on their own.

💬 Basic commands Anyone can use it No cheats needed Java Edition 26.3

Syntax

/trigger <objective>
/trigger <objective> add <value>
/trigger <objective> set <value>

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
<objective> A scoreboard objective of the trigger type (the map maker defines it).
add / set Increases the value or sets it directly.

Examples

/trigger choice set 2

Picks option 2 in a choice the map asks you to make.

Good to know

  • Used instead of menus on custom maps: Players can change their score even without permissions.
  • The objective must first be created with /scoreboard objectives add ... trigger and then enabled.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command needs no cheats; every player can use it.

Related commands

💬 More Basic commands

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.