Plugin channel/BungeeCord: Difference between revisions

From wiki.vg
Jump to navigation Jump to search
imported>Thinkofdeath
(Created page with "=== <code>BungeeCord</code> === Strings in this channel are UTF8 strings prefixed with a short for length. The first string is the ''SubChannel'' followed by data depending ...")
(No difference)

Revision as of 20:24, 7 November 2013

BungeeCord

Strings in this channel are UTF8 strings prefixed with a short for length.

The first string is the SubChannel followed by data depending on the value of SubChannel

Forward

Server -> Bungee

Forwards the bungeecord plugin message to the target server

Field Name Field Type Notes
Target String Server name, the value ALL sends to all servers
Channel String Channel name
Length Short Length of the following payload
Payload Array of bytes

Connect

Server -> Bungee
Field Name Field Type Notes
Target String Server name

ConnectOther

Server -> Bungee
Field Name Field Type Notes
Player Name String Target player's name
Target String Server name

IP

Server -> Bungee

Request the bungeecord to send back the player's real ip

Field Name Field Type Notes
Bungee -> Server
Field Name Field Type Notes
Host String
Port Int

PlayerCount

Server -> Bungee

Request the bungeecord to send back number of players on the target server

Field Name Field Type Notes
Target String Target server, the value ALL means all servers
Bungee -> Server
Field Name Field Type Notes
Name String
Player count Int

PlayerList

Server -> Bungee

Request the bungeecord to send back a csv of players on the target server

Field Name Field Type Notes
Target String Target server, the value ALL means all servers
Bungee -> Server
Field Name Field Type Notes
Name String
Players String A comma separated list of player names

GetServers

Server -> Bungee

Request the bungeecord to send back a csv of all servers

Field Name Field Type Notes
Bungee -> Server
Field Name Field Type Notes
Servers String A comma separated list of server names

Message

Server -> Bungee
Field Name Field Type Notes
Player String
Message String

GetServer

Server -> Bungee

Request the bungeecord to send the player's current server

Field Name Field Type Notes
Bungee -> Server
Field Name Field Type Notes
Server name String