This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
forked from SpigotMC/BungeeCord
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
1,380 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,40 @@ | ||
sudo: false | ||
language: java | ||
jdk: | ||
- openjdk7 | ||
- oraclejdk7 | ||
- oraclejdk8 | ||
branches: | ||
except: | ||
- /^v[0-9]*/ | ||
notifications: | ||
email: false | ||
irc: | ||
channels: | ||
- "irc.spi.gt#hexagonmc" | ||
use_notice: true | ||
skip_join: true | ||
install: | ||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dbuild.number=$TRAVIS_BUILD_NUMBER -B -V | ||
after_success: | ||
# CREATE GIT TAG | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Travis CI" | ||
- export GIT_TAG=v$TRAVIS_BUILD_NUMBER | ||
- echo -n $GIT_TAG > VERSION | ||
- git commit -m "Set build VERSION number" VERSION | ||
- git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER" | ||
- git push --quiet https://[email protected]/dev-confidence/example-backend-api $GIT_TAG > /dev/null 2>&1 | ||
deploy: | ||
provider: releases | ||
skip_cleanup: true | ||
api_key: | ||
secure: ljpg29wmo0yPs+qXBVj1vHnY4WPXB1hNMDnHMxhXbPRhK5l9kCqJWy4YjJ6BbEb4keU5dMmt+cyB+Njr3IomJMoupVu0Osut/SNz4g0UZFTYYJQjvrurdmGxoh9E7xmc6Pcly+Pw99RSpqK+yD8SDDepTleHDv/8pC0d4Z5NZIJ9JJUeY2in1RXpStj7rJtmSN5XWFpWBGpHElFQqaSDfh62zn3bvb7J9oVA+NtBDXgpY1Km1Q76Evt4PuijOgdWx4rcNpi7UOd6XurkYuo4/igBEUE8HQSEIqgC0jxJg0gxtLbymPvW4sPXmEPhZwIUvoYFjX0DvlIqU8hbr/2CPtcHiKqnqTU92wgFFnf3Xvn2mdoCrgHDOcSA2JWsR70077bPzv+llNHN17mDlGE7vIiv54jNBkJpem8OBgDNIU2lDnhwZQr3ifZJ0ydhdhkYK7Kp1lAZtEZwbqs6cetlwLiuBH6wd3dErBduPQNLnl22qdhQQJFBXPkj+vHBAt9uSB3irWWME0XsR6G9OpzDYoO64vkkHnz1k7VK37ud2pe7yKYuUr+MUbyBnzycbKOhYRufPkMv8RJIbRH6lChRrZOamqbZTa1FFYsemgcJ9NG990tE0zJHw0G3vU+emxPY35UPIMZrSbzQ8mCOlwKfhAtubZRNe+V0ohJFvVx/dhI= | ||
file: | ||
- bootstrap/target/BungeeCord.jar | ||
- module/*/target/*.jar | ||
file_glob: true | ||
on: | ||
branch: master | ||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### What Hexacord version are you using? Post the output of /bungee | ||
|
||
|
||
### Are you using Bungee plugins? If yes, please list all of them + versionnumber | ||
|
||
|
||
### How can we reproduce the error/bug? | ||
|
||
|
||
### Is an error message (bungee/spigot/client)? If yes, use pastebin.com and share the link. | ||
|
||
|
||
### In addidtion to that, please explain your issue as detailed as possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
BungeeCord | ||
|
||
BungeeCord for 1.7/1.8/1.9/1.10/1.11/1.12 | ||
========== | ||
Layer 7 proxy designed to link Minecraft servers. | ||
-------------------------------------------------- | ||
[![Build Status](https://travis-ci.org/HexagonMC/BungeeCord.svg?branch=master)](https://travis-ci.org/HexagonMC/BungeeCord) | ||
|
||
This is a fork of md_5's BungeeCord | ||
https://www.spigotmc.org/threads/1-8-1-9-bungeecord.392/ | ||
|
||
BungeeCord is a sophisticated proxy and API designed mainly to teleport players between multiple Minecraft servers. It is the latest incarnation of similar software written by the author from 2011-present. | ||
This version reimplements Minecraft 1.7.10 and basic 1.7.10 Forge support. | ||
|
||
Information | ||
----------- | ||
BungeeCord is maintained by [SpigotMC](https://www.spigotmc.org/) and has its own [discussion thread](https://www.spigotmc.org/go/bungeecord) with plenty of helpful information and links. | ||
Since release 134+, SpongePls is no longer needed when using Sponge-servers within your network! | ||
|
||
Source | ||
------ | ||
Source code is currently available on [GitHub](https://www.spigotmc.org/go/bungeecord-git). | ||
IMPORTANT: We WON'T fix any 1.7 bugs. | ||
This fork is designed for keeping your old servers in your network, until your modspacks are available for 1.10.2/1.11.2 or higher. | ||
Most of them are, so get rid of 1.7 fast and move to 1.10.2/1.11.2 modpacks asap. | ||
|
||
Binaries | ||
-------- | ||
Precompiled binaries are available for end users on [Jenkins](https://www.spigotmc.org/go/bungeecord-dl). | ||
This version is maintained by https://hexagonmc.eu | ||
|
||
(c) 2012-2017 SpigotMC Pty. Ltd. | ||
###Releases can be downloaded here: [Releases](https://github.com/HexagonMC/BungeeCord/releases) | ||
``` | ||
Modules are automatically downloaded from the releases page. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
|
||
<name>BungeeCord-Parent</name> | ||
<description>Parent project for all BungeeCord modules.</description> | ||
<url>https://github.com/SpigotMC/BungeeCord</url> | ||
<url>https://github.com/HexagonMC/BungeeCord</url> | ||
<inceptionYear>2012</inceptionYear> | ||
<organization> | ||
<name>SpigotMC</name> | ||
|
@@ -34,6 +34,12 @@ | |
<developer> | ||
<id>md_5</id> | ||
</developer> | ||
<developer> | ||
<id>Zartec</id> | ||
</developer> | ||
<developer> | ||
<id>ghac</id> | ||
</developer> | ||
</developers> | ||
|
||
<modules> | ||
|
@@ -51,17 +57,17 @@ | |
</modules> | ||
|
||
<scm> | ||
<connection>scm:git:[email protected]:SpigotMC/BungeeCord.git</connection> | ||
<developerConnection>scm:git:[email protected]:SpigotMC/BungeeCord.git</developerConnection> | ||
<url>[email protected]:SpigotMC/BungeeCord.git</url> | ||
<connection>scm:git:[email protected]:HexagonMC/BungeeCord.git</connection> | ||
<developerConnection>scm:git:[email protected]:HexagonMC/BungeeCord.git</developerConnection> | ||
<url>[email protected]:HexagonMC/BungeeCord.git</url> | ||
</scm> | ||
<issueManagement> | ||
<system>GitHub</system> | ||
<url>https://github.com/SpigotMC/BungeeCord/issues</url> | ||
<url>https://github.com/HexagonMC/BungeeCord/issues</url> | ||
</issueManagement> | ||
<ciManagement> | ||
<system>jenkins</system> | ||
<url>http://ci.md-5.net/job/BungeeCord</url> | ||
<system>travis-ci</system> | ||
<url>https://travis-ci.org/HexagonMC/BungeeCord</url> | ||
</ciManagement> | ||
|
||
<properties> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
protocol/src/main/java/net/md_5/bungee/protocol/MinecraftInput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package net.md_5.bungee.protocol; | ||
|
||
import io.netty.buffer.ByteBuf; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@RequiredArgsConstructor | ||
public class MinecraftInput | ||
{ | ||
|
||
private final ByteBuf buf; | ||
|
||
public byte readByte() | ||
{ | ||
return buf.readByte(); | ||
} | ||
|
||
public short readUnsignedByte() | ||
{ | ||
return buf.readUnsignedByte(); | ||
} | ||
|
||
public int readInt() | ||
{ | ||
return buf.readInt(); | ||
} | ||
|
||
public String readString() | ||
{ | ||
short len = buf.readShort(); | ||
char[] c = new char[ len ]; | ||
for ( int i = 0; i < c.length; i++ ) | ||
{ | ||
c[i] = buf.readChar(); | ||
} | ||
|
||
return new String( c ); | ||
} | ||
} |
Oops, something went wrong.