BungeeCommand

open class BungeeCommand : AbstractTaterzenCommand

Constructors

BungeeCommand
Link copied to clipboard
open fun BungeeCommand(proxyMessage: BungeeCommand.BungeeMessage, playername: String, argument: String)
"Bungee" command.
BungeeCommand
Link copied to clipboard
open fun BungeeCommand()

Types

BungeeMessage
Link copied to clipboard
enum BungeeMessage
Available / supported bungee commands.

Properties

AVAILABLE_SERVERS
Link copied to clipboard
val AVAILABLE_SERVERS: ArrayList<String>
Contains all available proxy servers.
BUNGEE_CHANNEL
Link copied to clipboard
val BUNGEE_CHANNEL: ResourceLocation
Identifier of the proxy message channel.

Functions

execute
Link copied to clipboard
open fun execute(npc: TaterzenNPC, player: Player)
fromTag
Link copied to clipboard
open fun fromTag(cmdTag: CompoundTag)
sendProxyPacket
Link copied to clipboard
open fun sendProxyPacket(connection: ServerGamePacketListenerImpl, data: Array<Byte>)
Sends a packet to proxy.
toString
Link copied to clipboard
open fun toString(): String
toTag
Link copied to clipboard
open fun toTag(tag: CompoundTag): CompoundTag

Inherited functions

getType
Link copied to clipboard
open fun getType(): AbstractTaterzenCommand.CommandType