onChat

fun Player.onChat(callback: AsyncChatEvent.() -> Unit)

Custom Interaction Method for the AsyncChatEvent. Register SmartEvents and use the Event Manager.

See also