Commit Graph

1664 Commits

Author SHA1 Message Date
Byron Marohn
697f0875e6 #2770: Handle posix signals SIGTERM, SIGINT, SIGHUP gracefully
- Move working contents of Bungeecord.stop() to a separate function
named independentThreadStop() intended to be called from a separate thread.
- Added a new generic shutdown hook to call independentThreadStop when
the JVM begins shutting down.
2020-03-08 19:32:25 +11:00
md_5
6ad26cc8fa #2777: Write BungeeCord's config.yml in UTF-8 as with main config API 2020-02-24 10:28:40 +11:00
md_5
c2cc33c6d7 #2774: doImmediateRespawn not updated when switching servers 2020-02-21 09:40:13 +11:00
md_5
8ea25a8fc7 #2775: Fix LinkageError loading plugin dependency classes 2020-02-21 08:22:16 +11:00
MrIvanPlays
4363315ec5 #2722, #2713: Remove unnecessary close delaying in server / user connections 2020-02-20 12:24:01 +11:00
MrIvanPlays
c46b14b92c #2688: Protect the plugin manager from 3rd party modifications 2020-02-20 12:24:01 +11:00
md_5
f41b1fc821 Do not allow plugins to make multiple instances of their main class.
Prevents foot shooting, eg #2772
2020-02-20 12:24:01 +11:00
md_5
e6b0d43d66 Allow configuring console log level via system property 2020-02-14 13:58:52 +11:00
md_5
a52ea50006 #2769: Guardian target beam lost on server change 2020-02-10 10:28:47 +11:00
md_5
17d5dd3f94 Add dist Maven profile to generate source and Javadoc jars 2020-02-04 14:59:52 +11:00
md_5
9e8ab747e4 Add JsonConfiguration support to bungeecord-config
Thanks @FelixKlauke for the idea in #2364, however this implementation was designed to mirror as much of the existing YamlConfiguration as possible and have Gson as an optional depend.
2020-02-03 13:25:47 +11:00
Mystiflow
cdacc0b1be #2498: Add ServerConnectRequest accessor in ServerConnectEvent.
- Make the timeout and retry status mutable so plugins can modify these values directly within the ServerConnectEvent.
2020-02-03 10:36:33 +11:00
markusmarkusz
b4b998b2e5 #2761: Add ClientConnectEvent 2020-02-02 10:48:22 +11:00
md_5
a3ab2bf58e Update checkstyle 2020-02-01 09:32:35 +11:00
md_5
adee7bd283 Source jar does not need to fork build 2020-01-30 10:57:54 +11:00
md_5
7bd8a0276c Always print remote IP in InitialHandler 2020-01-30 09:01:10 +11:00
md_5
0cf27a0981 Update scriptus 2020-01-29 16:40:29 +11:00
md_5
bf673c5d8b Add pretty colours to console log levels 2020-01-29 12:03:22 +11:00
md_5
2235a32316 Optimize ColouredWriter slightly 2020-01-29 11:18:18 +11:00
md_5
1dee049007 Don't send/construct redundant kick messages 2020-01-29 11:05:38 +11:00
md_5
e9ba95b9dc Don't log full CorruptedFrameException 2020-01-29 10:48:09 +11:00
md_5
d3bd785289 #2762: Work correctly with disabled timeout 2020-01-28 20:37:04 +11:00
md_5
3ce4132c58 Switch keepalive queue to ArrayDeque
See eeb374798b
2020-01-28 20:37:04 +11:00
Sigurður
ce2dcaf71d #2763: Fix .DS_Store entry in .gitignore 2020-01-28 16:04:23 +11:00
md_5
cf72c3a788 Show slow event times in milliseconds 2020-01-27 17:01:57 +11:00
Mystiflow
cd7a3ab2b2 #2758: Improve server list ping response where remote ping failed 2020-01-25 11:16:02 +11:00
Mystiflow
0a4b9b4984 #2752: Configurable connect and ping timeouts 2020-01-25 11:12:40 +11:00
md_5
70370faf5d Add checkstyle indentation checks 2020-01-24 14:07:42 +11:00
md_5
24a53a671c Show socketAddress in BungeeServerInfo.toString 2020-01-24 14:07:14 +11:00
md_5
503b4827d9 Fix bad formatting in EntityMap 2020-01-24 13:18:09 +11:00
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
md_5
3f6aa0336c Also check that things that should not be padded are so 2020-01-24 11:46:30 +11:00
md_5
78a8495399 Add more checkstyle rules 2020-01-24 11:33:14 +11:00
Mystiflow
636c020772 #2753: Add configurable remote ping caching 2020-01-24 10:48:50 +11:00
md_5
a4512e50fb Check Maven version in action build & don't print noisy transfer progress 2020-01-24 09:10:23 +11:00
md_5
f510989c1f Add building of pull requests via GitHub Actions 2020-01-24 08:59:45 +11:00
md_5
129884f44d Minecraft 1.15.2 support 2020-01-22 08:00:00 +11:00
md_5
4bb0fb67a8 Fix Javadoc in ServerInfo.getSocketAddress 2020-01-20 16:05:23 +11:00
md_5
68cc325ace #2755: Add ClickEvent.COPY_TO_CLIPBOARD 2020-01-19 10:18:54 +11:00
md_5
3d3a5aefa2 Remove unused .travis.yml 2020-01-18 17:47:53 +11:00
md_5
2c6a21d503 Remove stray import breaking build 2020-01-18 10:15:25 +11:00
BlackHole
b7e7274b98 #2750: Don't special case TextComponent constructor with a single extra 2020-01-16 10:45:29 +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
701391f232 Update Netty to 4.1.45.Final 2020-01-15 14:34:18 +11:00
md_5
85ea4c165b Remove redundant scheduled close, already channel closed by future. 2020-01-14 19:06:14 +11:00
BlackHole
22d2cd3388 #2747: Fix TranslatableComponent.deserialize() 2020-01-13 09:19:07 +11:00
md_5
d8c222ae79 Update date 2020-01-05 11:28:26 +11:00
md_5
d20e622b7b Apply checkstyle to javadoc 2020-01-05 11:25:56 +11:00
md_5
6c8a0ccecb Remove m2e settings, causes useless warnings 2020-01-05 11:17:37 +11:00
md_5
2f547f73f7 Fix some javadoc warnings 2020-01-05 11:17:11 +11:00