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 ...")
 
imported>Thinkofdeath
(Blanked the page)
 
Line 1: Line 1:
=== <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 on the value of ''SubChannel''
==== Forward ====
===== Server -> Bungee =====
Forwards the bungeecord plugin message to the target server
{| class="wikitable"
! 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 =====
{| class="wikitable"
! Field Name !! Field Type !! Notes
|-
| Target || String || Server name
|}
==== ConnectOther ====
===== Server -> Bungee =====
{| class="wikitable"
! 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
{| class="wikitable"
! Field Name !! Field Type !! Notes
|}
===== Bungee -> Server =====
{| class="wikitable"
! 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
{| class="wikitable"
! Field Name !! Field Type !! Notes
|-
| Target || String || Target server, the value ''ALL'' means all servers
|}
===== Bungee -> Server =====
{| class="wikitable"
! 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
{| class="wikitable"
! Field Name !! Field Type !! Notes
|-
| Target || String || Target server, the value ''ALL'' means all servers
|}
===== Bungee -> Server =====
{| class="wikitable"
! 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
{| class="wikitable"
! Field Name !! Field Type !! Notes
|}
===== Bungee -> Server =====
{| class="wikitable"
! Field Name !! Field Type !! Notes
|-
| Servers || String || A comma separated list of server names
|}
==== Message ====
===== Server -> Bungee =====
{| class="wikitable"
! Field Name !! Field Type !! Notes
|-
| Player || String ||
|-
| Message || String ||
|}
==== GetServer ====
===== Server -> Bungee =====
Request the bungeecord to send the player's current server
{| class="wikitable"
! Field Name !! Field Type !! Notes
|}
===== Bungee -> Server =====
{| class="wikitable"
! Field Name !! Field Type !! Notes
|-
| Server name || String ||
|}

Latest revision as of 20:37, 7 November 2013