forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 72
Condition Name Pattern
JasperLorelai edited this page Jul 16, 2026
·
2 revisions
Modifier condition: namepattern
| Property | Value |
|---|---|
| Has Entity Target | true |
| Has Location Target | false |
Passes if the entity's name, or the player's username or display name matches the regex pattern specified.
String Format Options:
Arguments:
-
pattern- Java regex pattern
- namepattern (pattern) [modifier action](Unsupported for now.)