mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
Update for Mendax
This commit is contained in:
parent
f3204c37fd
commit
fbe16cb906
24
README.md
24
README.md
@ -1,13 +1,19 @@
|
|||||||
BungeeCord
|
BungeeCord
|
||||||
======
|
==========
|
||||||
|
|
||||||
The most reliable Minecraft server portal suite.
|
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.
|
>The use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet).
|
||||||
* 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.
|
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.
|
||||||
* Use for spaces, NO tabs.
|
|
||||||
* Use lombok wherever possible.
|
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/>
|
4
pom.xml
4
pom.xml
@ -73,8 +73,8 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.md-5</groupId>
|
<groupId>net.md-5</groupId>
|
||||||
<artifactId>mc-protocol-lib</artifactId>
|
<artifactId>mendax</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.3-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bouncycastle</groupId>
|
<groupId>org.bouncycastle</groupId>
|
||||||
|
@ -6,7 +6,8 @@ import java.io.EOFException;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import net.md_5.bungee.Util;
|
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
|
* A specialized input stream to parse packets using the Mojang packet
|
||||||
@ -33,7 +34,7 @@ public class PacketInputStream
|
|||||||
public byte[] readPacket() throws IOException
|
public byte[] readPacket() throws IOException
|
||||||
{
|
{
|
||||||
tracker.out.reset();
|
tracker.out.reset();
|
||||||
PacketDefinitions.readPacket(dataInput);
|
DataInputPacketReader.readPacket(dataInput);
|
||||||
return tracker.out.toByteArray();
|
return tracker.out.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user