Commit Graph

1506 Commits

Author SHA1 Message Date
Nathan Poirier
8574688be7 Fix compatibility of Title packet for 1.10 and lower (#1997) 2016-11-16 09:22:09 +11:00
Mystiflow
f3e5f34aeb Allow chat messages longer than 100 characters on > 1.11 clients 2016-11-15 09:37:20 +11:00
md_5
9a4150cd47 Fix read/write mismatch 2016-11-15 08:15:32 +11:00
md_5
72002ed3bd Fix PlayerListHeaderFooter 2016-11-15 08:00:13 +11:00
Shane
95a269df7a Fix handling of Title packet for 1.11 and maintain backwards compat with 1.10 and earlier 2016-11-15 07:59:27 +11:00
md_5
9ecdde2292 Add support for Minecraft 1.11
Improve QueryHandler session handling as suggested by IchBinJoe
2016-11-15 02:40:46 +11:00
md_5
1ad81564ad Fix Javadoc in Plugin#init 2016-11-06 11:51:52 +11:00
Andrew
ee256d0a8d Make exceptions thrown by QueryHandler nicer. (#1741)
Previously, they would result in a large and scary message from Netty. This instead sends the message to the BungeeCord logger and de-establishes the connection.
2016-11-06 11:48:24 +11:00
md_5
987f2d0eb2 Remove unused connect_kick_outdated_forge message 2016-11-06 11:47:27 +11:00
Mystiflow
908b7f7374 Use server priority for downstream kicks too (#1978) 2016-11-06 11:25:46 +11:00
Mystiflow
18f57f24fa Fix issue pointed out by Supereg; store dimension on first join too (#1979)
* Only double switch if the dimension is the same.

According to the protocol, a double respawn packet is only needed to be
sent if from the same dimension, so by storing the last known dimension,
we are able to compare and avoid the double packet.

This also maintains the same behaviour for Spigot
ad2f806097

* Store current dimension on first disconnect too
2016-10-30 08:28:11 +11:00
Mystiflow
812141f400 Only double switch if the dimension is the same. (#1977)
According to the protocol, a double respawn packet is only needed to be
sent if from the same dimension, so by storing the last known dimension,
we are able to compare and avoid the double packet.

This also maintains the same behaviour for Spigot
ad2f806097
2016-10-29 17:59:38 +11:00
md_5
75b7fdac58 Fix stray imports in proxy 2016-10-19 21:15:00 +11:00
md_5
5c551fd899 Improve Quality of Channel Close Code
* Don't double disconnect due to client exceptions
* Add generic delayed close method
* Properly format imports in changed files
2016-10-19 21:08:38 +11:00
MiniDigger
24a65d8fa9 Update mojang-translations to 1.10.2 (#1969) 2016-10-11 20:12:59 +11:00
prplz
65aa7609d7 Fix possessive pronouns don't use apostrophes (#1968) 2016-10-11 20:12:50 +11:00
md_5
0581e49d49 Update Netty 2016-08-30 20:22:02 +10:00
md_5
5c809c2499 #1945: Relay MC|Brand messages 2016-08-26 16:11:38 +10:00
md_5
98e3c70460 Implicitly convert Map to Configuration 2016-08-25 11:04:19 +10:00
md_5
6563a9241b #1936: Configuration#contains(Ljava/lang/String;)Z 2016-08-21 09:10:23 +10:00
md_5
356ca08337 #1544: Reduce verbosity of common/harmless exception during initial connection 2016-08-21 09:07:33 +10:00
md_5
b86a33d058 #1941: Fix modded client+server in some cases 2016-08-21 09:02:37 +10:00
md_5
504d3c0529 #1939: Fix server brand; prevent bungee-bungee connections. 2016-08-20 11:43:48 +10:00
md_5
11c7b246e0 #1938: Better handling of null config keys 2016-08-18 09:35:58 +10:00
md_5
37b3cb4a30 #1934: Better in memory config representation 2016-08-15 18:41:52 +10:00
md_5
d6772cf1e4 #1933: Exclude favicon from ServerPing#toString 2016-08-13 14:24:50 +10:00
md_5
e7be3c6b1e Allow PluginMessages to be handled when no server connected 2016-08-11 23:02:29 +10:00
md_5
3a0b0aa116 #1930: Don't handle upstream packets if no server connected 2016-08-03 17:03:06 +10:00
md_5
a605c1acbc Netty 4.0.40 2016-07-28 20:28:18 +10:00
Brokkonaut
b374a69b2c Do not change ComponentBuilder's contents when calling create()
This allows continuing to use ComponentBuilder after create() has been called.
2016-07-21 10:48:53 +10:00
Cory Ory
b5121db886 Exclude data from PluginMessageEvent.toString 2016-07-18 13:33:48 +10:00
md_5
a05e695db9 Initialize no args TextComponent with blank text. 2016-07-18 13:32:17 +10:00
md_5
c43f25e23b Fix MC|Brand array having trailing zeroes. 2016-07-15 23:45:38 +10:00
md_5
e5ac567c79 Update to Netty 4.0.39.Final 2016-07-15 23:31:00 +10:00
md_5
5dc0a8b5c9 #1909: Downgrade to version of jline which works properly on Windows 2016-07-13 11:05:50 +10:00
md_5
eca99576a0 Move net.md_5.bungee.log to its own module.
API subject to change and should not be used externally.
2016-07-11 11:12:35 +10:00
BlackHole
1250088f98 Correctly show outdated_client and outdated_server messages
If the client protocol version is not supported, show outdated_server message only if client version is higher than highest supported protocol version, outdated_client message else.
2016-06-29 09:15:17 +10:00
md_5
507a98f28f #1859: Rewrite second leash int 2016-06-29 09:14:03 +10:00
md_5
a8c529eca5 #1859: Entity attach is an int 2016-06-28 15:28:28 +10:00
misterT2525
c5ac5a0d17 #1859: Fix EntityMap for leads. 2016-06-27 14:20:02 +10:00
md_5
e3869fea18 #1893: Alter definition of slow event 2016-06-20 20:05:07 +10:00
md_5
6f6cb58d8b Make warning message better... 2016-06-20 09:25:29 +10:00
PunKeel
3fe72154a3 Fix slow event detection
Time moves forward, so the second call to nanoTime returns a bigger number than
the first one, giving a negative elapsed time … defeating the whole purpose of
this code. :-(
2016-06-20 08:46:53 +10:00
Tom
97eef62684 Change color for cmd_find
Blue is basically unreadable (even worse with some resource packs)
2016-06-12 21:39:20 +10:00
md_5
e4cf010bda Update to Minecraft 1.10 2016-06-09 11:44:06 +10:00
md_5
ec48077dbe #1867: Just fake 1.7 login protocol for now 2016-05-15 22:05:31 +10:00
md_5
2df29701ed #1866: Correct throttle 2016-05-15 16:01:58 +10:00
PunKeel
d9a8311b8e Use expireAfterWrite to perform throttle 2016-05-15 14:54:18 +10:00
Zartec
d14b96d55e Added separate exception for packet overflows to limit log output.
Attacking a server with a hacked client causes the log to print a huge amount of stacktraces. This will limit the log output to the error message.
2016-05-15 14:52:41 +10:00
md_5
41621193ec #1862: Support 1.7 pings 2016-05-15 14:52:01 +10:00