onPlayerActivation

abstract fun onPlayerActivation(@NotNull activationListener: @NotNull ServerActivation.PlayerActivationListener)

Adds a new listener that will be invoked when a player uses the activation and meets all requirements:

Parameters

activationListener

The listener to handle the activation event.