onEnter

fun Area.onEnter(player: Player)(source)

Executes when a player enters the area.

Parameters

player

The player who entered the area.