Update for Mendax

This commit is contained in:
md_5 2012-10-26 16:43:46 +11:00
parent f3204c37fd
commit fbe16cb906
3 changed files with 20 additions and 13 deletions

View File

@ -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.
<http://dev.bukkit.org/server-mods/bungee-cord/>

View File

@ -73,8 +73,8 @@
</dependency>
<dependency>
<groupId>net.md-5</groupId>
<artifactId>mc-protocol-lib</artifactId>
<version>1.0-SNAPSHOT</version>
<artifactId>mendax</artifactId>
<version>1.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>

View File

@ -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();
}