PluginMessage

Constructors

Link copied to clipboard
constructor(channelType: ChannelType, plugin: JavaPlugin, channel: String, messageType: String, onMessage: (channel: String, player: Player, message: ByteArray) -> Unit)

Types

Link copied to clipboard
class Listener(val channel: String, val callback: (channel: String, player: Player, message: ByteArray) -> Unit) : PluginMessageListener

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var plugin: JavaPlugin
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun send(message: String): PluginMessage
fun send(message: String, player: Player): PluginMessage
Link copied to clipboard