attach

fun attach(name: String, plugin: JavaPlugin, player: Player, callback: ServerboundPlayerCommandPacketUtil.PlayerCommandEvent.() -> Unit): Boolean

Attach the Event to the Player.