sendPacket

abstract fun sendPacket(packet: Packet<*>): Boolean

Sends a TCP packet to players.

Return

true if the packet was successfully sent, false otherwise.

Parameters

packet

The packet to send.