Mechanic

setscore

Sets a scoreboard value

Examples & Notes

Examples

This example will set 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:
  - setscore{o=TestScore;e=Bob;v=1} ~onInteract 

Universal Mechanic Options

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