Skip to content
JasperLorelai edited this page Mar 21, 2022 · 9 revisions

Data Spell

Source Code

Targeted spell. Fetches a specific data-element and places it in a variable

Configuration Options:

Option Description Default Value
data-element Data elements can be found here DataLivingEntity Or DataEntity. uuid
variable-name Which variable to place the data-element in.

Example:

variables:
  playeruuid:
    type: playerstring
    permanent: true
data:
  spell-class: ".targeted.DataSpell"
  target-self: true
  variable-name: playeruuid
  data-element: uuid
  str-cast-self: "Your UUID is %var:playeruuid%."

Clone this wiki locally