MiscHub

interface MiscHub

Hub interface for miscellaneous packet-based operations.

Inheritors

Functions

Link copied to clipboard
abstract fun fakeExperienceBar(player: Player, bar: Float, level: Int, experience: Int)

Sends a fake experience bar update to the player via a packet.

Link copied to clipboard
abstract fun fakeStatistic(player: Player, statistic: Statistic, value: Int)

Sends a fake statistic update to the player via a packet.

Link copied to clipboard
abstract fun sendRawPacket(player: Player, channel: String, buf: ByteBuf)

Sends a raw packet via a custom plugin channel.

Link copied to clipboard
abstract fun showFakeDeathScreen(player: Player, message: String)

Shows a fake death screen to the player via a packet.