Minecraft 1.13-pre7 support

This commit is contained in:
md_5
2018-07-15 10:00:00 +10:00
parent ceb9ea1e52
commit b1cc72e212
45 changed files with 798 additions and 137 deletions

View File

@@ -6,13 +6,13 @@
<parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-parent</artifactId>
<version>1.12-SNAPSHOT</version>
<version>1.13-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.12-SNAPSHOT</version>
<version>1.13-SNAPSHOT</version>
<packaging>jar</packaging>
<name>BungeeCord-API</name>

View File

@@ -154,16 +154,6 @@ public abstract class ProxyServer
*/
public abstract void stop(String reason);
/**
* Start this instance so that it may accept connections.
*
* @throws Exception any exception thrown during startup causing the
* instance to fail to boot
* @deprecated not API, will be removed in a future version
*/
@Deprecated
public abstract void start() throws Exception;
/**
* Register a channel for use with plugin messages. This is required by some
* server / client implementations.

View File

@@ -56,6 +56,10 @@ public interface ServerInfo
* Send data by any available means to this server. This data may be queued
* and there is no guarantee of its timely arrival.
*
* In recent Minecraft versions channel names must contain a colon separator
* and consist of [a-z0-9/._-]. This will be enforced in a future version.
* The "BungeeCord" channel is an exception and may only take this form.
*
* @param channel the channel to send this data via
* @param data the data to send
*/
@@ -64,6 +68,10 @@ public interface ServerInfo
/**
* Send data by any available means to this server.
*
* In recent Minecraft versions channel names must contain a colon separator
* and consist of [a-z0-9/._-]. This will be enforced in a future version.
* The "BungeeCord" channel is an exception and may only take this form.
*
* @param channel the channel to send this data via
* @param data the data to send
* @param queue hold the message for later sending if it cannot be sent

View File

@@ -140,6 +140,10 @@ public interface ProxiedPlayer extends Connection, CommandSender
/**
* Send a plugin message to this player.
*
* In recent Minecraft versions channel names must contain a colon separator
* and consist of [a-z0-9/._-]. This will be enforced in a future version.
* The "BungeeCord" channel is an exception and may only take this form.
*
* @param channel the channel to send this data via
* @param data the data to send
*/

View File

@@ -18,6 +18,10 @@ public interface Server extends Connection
/**
* Send data by any available means to this server.
*
* In recent Minecraft versions channel names must contain a colon separator
* and consist of [a-z0-9/._-]. This will be enforced in a future version.
* The "BungeeCord" channel is an exception and may only take this form.
*
* @param channel the channel to send this data via
* @param data the data to send
*/

View File

@@ -19,7 +19,7 @@ public class Team
private byte friendlyFire;
private String nameTagVisibility;
private String collisionRule;
private byte color;
private int color;
private Set<String> players = new HashSet<>();
public Collection<String> getPlayers()