Skip to content
JasperLorelai edited this page Jul 16, 2026 · 2 revisions

Source Code

Modifier condition: name

Properties:

Property Value
Has Entity Target true
Has Location Target false

Description:

Passes if the player's username or display name is equal to the one passed. This does work with other entities and it does not support the space character - use the customname condition instead.

String Format Options:

Arguments:

- name (name) [modifier action]

[Section Format](Modifiers#section-format-condition

(Unsupported for now.)

Clone this wiki locally