From fbe16cb9066b0c369cc3c2299901569458e39b46 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 26 Oct 2012 16:43:46 +1100 Subject: [PATCH] Update for Mendax --- README.md | 24 ++++++++++++------- pom.xml | 4 ++-- .../md_5/bungee/packet/PacketInputStream.java | 5 ++-- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 9a2744b3..1dc35874 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,19 @@ BungeeCord -====== - +========== The most reliable Minecraft server portal suite. +------------------------------------------------ +BungeeCord is a piece of Java software which allows a user to link multiple Minecraft servers together, allowing players to teleport between them and access advanced features. This makes it perfect for servers looking to expand their player base and spread across multiple gameplay styles. -Coding guidelines ------------ +History +------- +For a long time developers have tried to create these mythical 'cloud' systems as outlined above. Until now, none of them have succeeded in making a fully open source and reliable 'cloud'. You may have already noticed my quoting of the word 'cloud', and this is one of the last times you will see it in this document. BungeeCord is **NOT** a 'cloud'. The actual meaning of the aforementioned word is quoted below: -Its not fun to always have to stick to a set of rules, but here are are few to make sure everyone gets the best experience. -* Have verbose commit messages, this makes it much easier to revert commits if the need arises. -* Rebase your commits onto the tracked branch. No merges please. -* Use for spaces, NO tabs. -* Use lombok wherever possible. +>The use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet). + +BungeeCord does not do this and therefore is not a 'cloud'. Please do not refer to it as one, since the owners and operators of real clouds will get very angry, and you will be seen as ignorant and stupid. Instead I encourage you to use the term 'Server Port Suite' or something to that effect. + +Installation & Usage +-------------------- +For and in depth guide to the installation and usage of BungeeCord you should check the current primary download location, which at this point in time is DevBukkit. The current link is provided below for your convenience. + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index bb8775ac..6e9a6684 100644 --- a/pom.xml +++ b/pom.xml @@ -73,8 +73,8 @@ net.md-5 - mc-protocol-lib - 1.0-SNAPSHOT + mendax + 1.3-SNAPSHOT org.bouncycastle diff --git a/src/main/java/net/md_5/bungee/packet/PacketInputStream.java b/src/main/java/net/md_5/bungee/packet/PacketInputStream.java index d79cf8c9..66753a83 100644 --- a/src/main/java/net/md_5/bungee/packet/PacketInputStream.java +++ b/src/main/java/net/md_5/bungee/packet/PacketInputStream.java @@ -6,7 +6,8 @@ import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import net.md_5.bungee.Util; -import net.md_5.mc.protocol.PacketDefinitions; +import net.md_5.mendax.PacketDefinitions; +import net.md_5.mendax.datainput.DataInputPacketReader; /** * A specialized input stream to parse packets using the Mojang packet @@ -33,7 +34,7 @@ public class PacketInputStream public byte[] readPacket() throws IOException { tracker.out.reset(); - PacketDefinitions.readPacket(dataInput); + DataInputPacketReader.readPacket(dataInput); return tracker.out.toByteArray(); }