player

val player: Player?

The Player object representing the player whose flag is being modified.

This will be:

  • A valid Player object if the player is currently online and connected to the server

  • null if the player is offline or if the event was triggered using only the UUID constructor

When this is null, you should rely on the playerUUID for player identification and avoid any operations that require the player to be online.

Since

1.0.0