player
Adds a condition that checks if the event was triggered by a player with the specified name.
Return
The updated EventScope instance.
Parameters
name
The player's name.
Adds a condition that checks if the event was triggered by a specific player.
Return
The updated EventScope instance.
Parameters
player
The player to check.