ScoreboardDataSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.ScoreboardDataSpell"
Important
Since 4.0 Beta 13 you can use PlaceholderAPI and its Scoreboard Objectives expansion in combination with our %papi
placeholder to reference the objective score directly instead of storing it in a variable first.
Example: %papi:objective_score_{<objective>}%
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
false |
Stores the objective's score for the entity inside the passed variable.
Since 4.0 Beta 13 these options support dynamic values through string expressions.
Option | Description |
---|---|
variable-name |
Name of the variable to store the score to. |
objective-name |
Objective to store in the variable. |