Commit Graph

1998 Commits

Author SHA1 Message Date
Mystiflow
7241eb37c9 #2376 Add ServerConnectEvent Reason API 2018-04-01 09:34:27 +10:00
md_5
d4bbe0d8db Fix formatting in ComponentsTest 2018-04-01 09:31:00 +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
d7eef6ff2e #2388: Treat BaseComponent array appends as one. Fixes #2387.
Don't copy formatting of previous element in the array being appended
but instead from the last appended component in the builder.
Otherwise formatting will be overridden in an incorrect way from
legacy text conversions.

Added unit test failed before this change. Now passes.
2018-03-14 19:51: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
7653a5f0f8 #2363: Chat Component API Improvements
- duplicateWithoutFormatting deprecated and now works to include extra. Less maintenance required for any component implementations.
- Improved copyFormatting API to allow for retention copying.
- API to append a single BaseComponent in a ComponentBuilder, previously had to wrap a
component in its own array to do this.
- BaseComponent retain API that functions the same as from
ComponentBuilder.
2018-03-05 18:25:48 +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
e23195f5f2 Netty 4.1.21.Final 2018-02-07 18:26:56 +11:00
md_5
ca8f31bdc7 Merge unit tests 2018-01-28 18:00:24 +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
6b88b63941 #2335: Clarify JavaDoc for methods in PendingConnection 2018-01-28 10:20:03 +11:00
Gabscap
c0356eb72d #2333: Fix StringIndexOutOfBoundsException in TextComponent.fromLegacy 2018-01-28 09:59:34 +11:00
Foorack
aef386178a Remove deprecated guava function in config (#2327)
This removes the need to shade in the full guava library if a java program only uses bungeecord-config.
2018-01-14 21:58:26 +11:00
md_5
22bd43f725 Use root locale for upper / lowercasing 2018-01-12 08:17:44 +11:00
md_5
d600c9a526 #2323: Attempt to rewrite fishing hook data 2018-01-08 12:51:26 +11:00
Minoneer
6b7046c8b7 Fixes lookup of default configuration values for nested paths (#2322)
The lookup of default configuration values with multiple path segments failed with a class cast exception because the full path was treated as a new configuration section instead of only the root.
2018-01-08 09:19:17 +11:00
md_5
050d935891 Update Netty / MySQL 2018-01-07 22:49:33 +11:00
md_5
3508bf6c85 Add console command completion 2018-01-07 22:46:52 +11:00
md_5
dda0638869 Make bungeecord-chat API classes final - the API does not (nor should) support subclassing. 2017-12-26 15:30:48 +11:00
md_5
9fd98436af Netty 4.1.18.Final 2017-12-12 20:54:48 +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
4c84f37fd2 mysql-connector-java 5.1.44 2017-11-18 17:14:46 +11:00
md_5
cccbb3c889 Netty 4.1.17.Final 2017-11-11 08:13:00 +11:00
md_5
2e826a15e7 Make greload reload custom messages.properties 2017-11-10 11:21:58 +11:00
BlackHole
fbc5f514e2 Add KeybindComponent API 2017-11-10 11:14:17 +11:00
md_5
3e65ee2f54 Update snakeyaml to 1.19 to fix bug with duplicate keys affecting some users.
https://bitbucket.org/asomov/snakeyaml/issues/386/duplicate-keys-cause-issues
2017-11-07 19:36:59 +11:00
md_5
0fc5694b6a Fix some compiler warnings 2017-10-28 17:08:05 +11:00
md_5
4e2897710b Remove deprecated sonatype parent pom. 2017-10-28 16:46:31 +11:00
md_5
9a7bf0a361 #2254: Explicitly note config issues are not bugs 2017-10-26 21:18:16 +11:00
md_5
ec4279eeb4 #2280: Console usage of /server 2017-10-26 21:11:56 +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
7068013be8 Upgrade to Netty 4.1.15.Final 2017-08-31 07:48:50 +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