Commit Graph

1094 Commits

Author SHA1 Message Date
polo1k
eeb374798b #2710: Store queue of pending keepalives
This allows the server to send them at a rate greater than the client reply time.
2020-01-24 13:13:01 +11:00
Mystiflow
636c020772 #2753: Add configurable remote ping caching 2020-01-24 10:48:50 +11:00
md_5
129884f44d Minecraft 1.15.2 support 2020-01-22 08:00:00 +11:00
md_5
b70cb01413 Add beta support for binding bungee to unix socket addresses 2020-01-16 10:36:13 +11:00
md_5
85ea4c165b Remove redundant scheduled close, already channel closed by future. 2020-01-14 19:06:14 +11:00
md_5
d20e622b7b Apply checkstyle to javadoc 2020-01-05 11:25:56 +11:00
md_5
2f547f73f7 Fix some javadoc warnings 2020-01-05 11:17:11 +11:00
Janmm14
5f29e939b0 #2720: Send different log message for pings (vs login) 2020-01-05 11:02:05 +11:00
Mystiflow
d2ceccd646 #2725: Various improvements to chat API
* More versatile ComponentBuilder system
    - Allow creating a builder without an initial component
    - Duplicate the parts when component is created
    - Add getter for 'parts'
* Added cursor API for more fluid component modifying
* Don't legacy convert Titles on 1.11 or newer
* Simplify plain and legacy text converting code
    - Shares the addFormat method between all superclasses
    - Duplicate code in TranslatableComponent moved in separate method
2020-01-05 10:40:07 +11:00
md_5
065893b523 Update Netty to 4.1.44.Final and remove usage of some deprecated methods 2019-12-21 11:52:45 +11:00
md_5
4204fa2966 Fix fishing hooks / spectral arrows after switching servers on 1.15.x 2019-12-18 12:39:49 +11:00
md_5
1f24591a0d Minecraft 1.15.1 support 2019-12-18 08:00:00 +11:00
md_5
4cccf53775 Minecraft 1.15 support 2019-12-11 08:00:00 +11:00
md_5
70038c9144 Revert "#2714: Remove unnecessary throws in ServerConnector"
This reverts commit 74a6aa32a2.

Completely breaks Bungee
2019-12-05 12:28:21 +11:00
Janmm14
39ef20b298 #2716: Don't attempt to send kick packet during handshake phase 2019-12-05 12:05:35 +11:00
Janmm14
74a6aa32a2 #2714: Remove unnecessary throws in ServerConnector
As ServerConnector's handle(PacketWrapper) method only checks whether packet.packet is null, its not necessary to cancel its execution by throwing CancelSendSignal.
2019-12-05 10:24:20 +11:00
MrIvanPlays
9e76966e0f #2608,#2684: Add some missing translations to module commands 2019-08-21 20:09:09 +10:00
md_5
450c33db64 Formatting fixes 2019-08-21 20:04:16 +10:00
md_5
34febec65f Increase outdated build delay to 8 weeks 2019-08-10 10:51:26 +10:00
md_5
5c6bc183fd Minecraft 1.14.4 support 2019-07-20 09:00:00 +10:00
md_5
fe2a39e4f1 Minecraft 1.14.3-pre4 support 2019-06-21 20:00:00 +10:00
md_5
8fda060611 Minecraft 1.14.2 support 2019-05-28 06:30:00 +10:00
md_5
3ec223ec94 Minecraft 1.14.1 support 2019-05-14 10:00:00 +10:00
md_5
086eb847ec #2631: Fix incorrect types of fishing bobber and spectral arrow 2019-05-01 18:00:08 +10:00
md_5
7d68335c1d Fix switching to servers with larger view distance 2019-04-28 10:52:49 +10:00
killme
9bce83704a #2622: Let ThrottleTest work independently of real time 2019-04-25 20:57:03 +10:00
Zedadias Wick
4ca942b169 #2626: Correct entity metadata type values for 1.14-pre5.
Spawn Object packet now uses Entity IDs, not Object IDs, and is sent as a VarInt rather than Byte.
2019-04-24 09:33:17 +10:00
md_5
af10f82d14 Apply and enforce import ordering rules 2019-04-23 15:23:40 +10:00
md_5
3f01748d75 Minecraft 1.14-pre5 support 2019-04-23 12:00:00 +10:00
md_5
52a125dded Add --help flag 2019-03-17 12:43:12 +11:00
md_5
6d6fbb5efa Fix two minor formatting issues 2019-02-17 10:13:24 +11:00
md_5
0d6f3ee374 Make 1.13 command injection normal functionality 2019-02-17 10:10:41 +11:00
md_5
28c82238d0 Fix typo in previous commit 2019-02-03 17:58:46 +11:00
md_5
1a06ebeee0 #2599: Remove connection throttle if proxy protocol in use 2019-02-03 08:26:03 +11:00
md_5
29c093f83f #2586: TabCompleteResponseEvent for 1.13 2019-01-30 11:33:04 +11:00
md_5
9a2acc826e #2569: Respect disabled_commands setting for 1.13 tab completion 2019-01-03 16:39:38 +11:00
md_5
4fa1d82b81 #2572: Add additional APIs regarding server restriction 2019-01-03 16:35:32 +11:00
md_5
5ef5dd2c09 #2570: Implement more aggressive connection throttling.
Once an IP has connected connection_throttle_limit times within connection_throttle milliseconds, it must wait connection_throttle milliseconds before attempting to connect again.
2018-12-27 10:25:29 +11:00
md_5
a9a4c900e4 #2524: Allow empty groups/permissions 2018-12-21 10:35:57 +11:00
md_5
d689ba5904 #2535: Reduce verbosity of unhandled packet exception messages 2018-12-21 10:15:36 +11:00
md_5
a47b803385 #2568: Check permissions for inject_commands 2018-12-21 09:50:54 +11:00
md_5
02a65e34cf #2479: Allow injection of BungeeCord commands to 1.13 with inject_commands option 2018-12-20 10:41:18 +11:00
md_5
e5b96b2f17 Move launcher out of bootstrap and into proxy 2018-12-18 11:19:30 +11:00
md_5
865a346903 #2546: reducedDebugInfo state not updating when changing servers 2018-12-18 11:13:42 +11:00
md_5
afef0ec1fe #2559: Unresolved ServerIP causes disconnect 2018-12-08 09:56:34 +11:00
NayXegp
6c44ccd597 #2527: Minor cosmetic cleanups to imports etc
Please see https://github.com/SpigotMC/BungeeCord/pull/2527
2018-11-02 18:06:56 +11:00
md_5
ed6b03d24a Always use root locale for case conversions 2018-10-28 12:10:34 +11:00
md_5
1c5bff7ed7 Minecraft 1.13.2 support 2018-10-23 06:00:00 +11:00
NayXegp
41f8eb68c9 #2529: Use single legacy kicker instance for all channels 2018-09-26 11:16:46 +10:00
NayXegp
9886021428 #2521: Using replace instead of replaceAll 2018-09-05 07:51:23 +10:00
NayXegp
ba0739798a #2494: Add an option to disable pings in log 2018-08-29 07:53:52 +10:00
JoJoDeveloping
16b3490576 #2520: Fix ConcurrentModificationException when tasks are cancelled during shutdown 2018-08-29 07:47:12 +10:00
md_5
1bb826109c Minecraft 1.13.1 support 2018-08-23 20:52:25 +10:00
Mystiflow
715ec07a28 #2447: Add API for fluent server connect requests
API allows for more control over callback to see why the callback was performed whilst maintaining backwards compatibility
2018-07-30 12:37:34 +10:00
md_5
d2cf50f9ee #2482: Fix error reading custom names 2018-07-23 12:44:42 +10:00
md_5
a710698277 #2482: Fix error in reading slots 2018-07-23 12:07:30 +10:00
md_5
176b75b97e #2477: Fix entity rewrites not applying 2018-07-23 11:12:20 +10:00
md_5
c9f22868b3 Revert "#2447: Add API for fluent server connect requests"
This reverts commit 7ce9ae50e7.
2018-07-22 20:13:30 +10:00
maol3
95ed7a5775 #2474: Allow ALL in the Message channel 2018-07-22 18:10:51 +10:00
Mystiflow
7ce9ae50e7 #2447: Add API for fluent server connect requests
API allows for more control over callback to see why the callback was performed whilst maintaining backwards compatibility
2018-07-22 18:04:43 +10:00
md_5
671c4d1341 Minecraft 1.13 support 2018-07-22 12:00:00 +10:00
Lucas Dallabona
ab810744ec #2458: Fix NPE when using null in tab list methods 2018-07-15 11:32:33 +10:00
md_5
b1cc72e212 Minecraft 1.13-pre7 support 2018-07-15 10:00:00 +10:00
md_5
fa542c70df Fix incorrect whitespacing 2018-07-09 12:52:53 +10:00
Minecrell
7410ce9077 #2449: Avoid stopping if already in progress
Currently it is possible to stop the proxy multiple times, causing
the shutdown routines to be called twice. This doesn't make any
sense and may even cause problems with some plugins.

Cancel early if stopping is already in progress to avoid this.
2018-07-09 09:57:21 +10:00
Nathan Poirier
7af538793c #2450: Instantiate PluginManager (and EventBus) after the BungeeCord Logger 2018-07-08 09:59:30 +10:00
md_5
76dc32ee32 Enable IPv6 networking stack 2018-06-20 15:43:57 +10:00
md_5
88bacf12a3 #2420: Cap forge packet queue size 2018-05-12 21:14:44 +10:00
md_5
e93323ddbc #2420: Disable forge support by default 2018-05-12 08:24:06 +10:00
Mystiflow
7241eb37c9 #2376 Add ServerConnectEvent Reason API 2018-04-01 09:34:27 +10:00
md_5
e690a7b389 #1959: Leave ping exception logging to plugins 2018-03-31 10:55:15 +11:00
games647
272258cf5a #2372: Add SettingsChangedEvent for client-side settings 2018-03-15 20:47:08 +11:00
Mystiflow
7ee0b6dccb #2378: Show supported servers in incorrect client kick messages
This makes the message match vanilla Minecraft servers
2018-03-07 13:29:43 +11:00
Joe
74e077e0fb #2362: Fixed tablist rewrite getting wrong field
Also only sets the ping in right circumstances.
2018-02-26 07:00:37 +11:00
Senmori
a3b44aa612 #2342: Add score and selector components to chat API 2018-02-19 11:48:22 +11:00
md_5
2d7c74eae5 Move chat component test to right place 2018-01-28 17:59:32 +11:00
md_5
9b2bb07d89 Fix some source code formatting 2018-01-28 10:23:52 +11:00
md_5
d600c9a526 #2323: Attempt to rewrite fishing hook data 2018-01-08 12:51:26 +11:00
md_5
3508bf6c85 Add console command completion 2018-01-07 22:46:52 +11:00
md_5
eb288a80c3 Remove obsolete tab lists 2017-12-01 12:25:59 +11:00
Zhang
ed23e3b3d1 #2296: Fix tab list NPE w/ some offline mode clients 2017-12-01 12:25:39 +11:00
md_5
1dbfcfb0b5 #2297: Use server field on DownstreamBridge 2017-12-01 12:23:07 +11:00
md_5
2e826a15e7 Make greload reload custom messages.properties 2017-11-10 11:21:58 +11:00
md_5
0fc5694b6a Fix some compiler warnings 2017-10-28 17:08:05 +11:00
md_5
9a7bf0a361 #2254: Explicitly note config issues are not bugs 2017-10-26 21:18:16 +11:00
md_5
8d49424226 #2261: Don't send any keep alive to server if invalid 2017-09-23 17:14:03 +10:00
md_5
69bbc3a71e Invalidate ping when spoof sent 2017-09-23 15:05:50 +10:00
md_5
af8d1af635 Initialize ping to -1 2017-09-23 13:56:23 +10:00
md_5
23554239d0 #2259: Have proxy handle keepalives 2017-09-23 13:18:43 +10:00
md_5
61cb2df9f3 #2258: Fix missed packet ID 2017-09-19 08:04:44 +10:00
md_5
0eaabdf5ca Update to Minecraft 1.12.2 2017-09-18 20:00:00 +10:00
Mystiflow
3db9fb1b69 #2255: Fix ComponentBuilder clone constructor
* Fix ComponentBuilder clone constructor #2255
* Fix appending text to a ComponentBuilder if current is not a TextComponent
2017-09-16 16:06:51 +10:00
Virizion
ef326dba19 Send the correct username when connecting to a server (#2242) 2017-09-05 19:33:10 +10:00
md_5
d7010d629d Fix mismatched system properties 2017-09-04 18:15:23 +10:00
md_5
bd5a7e5b26 #2228: Implement basic backpressure on client 2017-08-18 18:27:25 +10:00
Mystiflow
fd675022c0 Allow appending BaseComponent arrays in ComponentBuilder 2017-08-13 12:40:44 +10:00
Mystiflow
a1f9c2e7d4 Disable plugins before shutting down EventLoops (#2214)
Because disabling plugins also cancels any pending tasks, there will be no task accessing the eventLoops.

Reimplementation of #1578, fixes #1403
2017-08-09 22:13:25 +10:00
md_5
db266a8484 Use newer writeAndFlush method 2017-08-09 22:05:06 +10:00
md_5
828e45651e Client defaults to right hand 2017-08-09 16:51:45 +10:00
Foorack
dbf20957a9 Expand API to get all player sent settings 2017-08-09 16:38:03 +10:00