forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
Valid Target List
JasperLorelai edited this page Jul 27, 2025
·
11 revisions
With this version, you can use either the string-based or list-based target lists.
This version should contain target elements separated by a comma in a string/text form.
can-target: element1,element2,element3This version should contain target elements in a YAML string list.
can-target:
- element1
- element2
- element3
# same as
can-target: [element1,element2,element3]-
selforcaster -
playerorplayers -
invisibleorinvisibles -
nonplayerornonplayers -
monsterormonsters -
animaloranimals -
mountormounts -
rider,riders,passengerorpassengers -
castermountorselfmount -
casterpassengerorselfpassenger -
entitytargetormobtarget -
markerstand,markerstands,markerarmorstand, ormarkerarmorstands- Since 4.0 Beta 16. - Entity Type
-
Entity Type Tags - Since 4.0 Beta 16. Must start with
#(e.g.#undead). -
Game Mode - Since 4.0 Beta 14. When listed, players in that game mode will be valid targets for these spells. This does not change the behaviour of the
player/playersoptions, which still only allow players in adventure and survival.