Mechanic

modifyscore

Modifies a scoreboard value

Configuration Fields (4)

NameTypeDefaultDescription
entry
e, name, n
PlaceholderStringdummyThe entry to modify in the scoreboard.
objective
obj, o
PlaceholderStringThe objective in the scoreboard to modify.
action
a
ModifyScoreActionSETThe action to perform for modifying the scoreboard value.
value
v
PlaceholderString0The value to use for the modification.

Examples & Notes

Examples

This example will add one to the score of a player named “Bob” for the objective “TestScore”, even if that player doesn’t exist on the server.
It will create the objective if it does not currently exist.

  Skills:
  - modifyscore{o=TestScore;e=Bob;a=add;v=1} ~onInteract 

[^mod]: shorthand for “Modular Division”

Universal Mechanic Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.