Commands/trigger

Modifies a scoreboard objective with a "trigger" criterion. Allows non-operator players to modify their own scoreboard objectives under tightly controlled conditions. Often used to let players activate systems made by operators or mapmakers.

Syntax

 * Adds  to the current value of.


 * Adds  to the current value of.


 * Sets the value of  to.

Arguments

 * An enabled scoreboard objective with the "trigger" criterion.


 * Specifies the value to be set to or added to the objective.

History
Befehl/trigger