Valid Target List - TheComputerGeek2/MagicSpells GitHub Wiki
Mixed:
With this version, you can use either the string-based or list-based target lists.
String based:
This version should contain target elements separated by a comma in a string/text form.
can-target: element1,element2,element3
List based:
This version should contain target elements in a YAML string list.
can-target:
- element1
- element2
- element3
# same as
can-target: [element1,element2,element3]
Target elements:
self
orcaster
player
orplayers
invisible
orinvisibles
nonplayer
ornonplayers
monster
ormonsters
animal
oranimals
mount
ormounts
rider
,riders
,passenger
orpassengers
castermount
orselfmount
casterpassenger
orselfpassenger
entitytarget
ormobtarget
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
/players
options, which still only allow players in adventure and survival.