Commit Graph

2080 Commits

Author SHA1 Message Date
Janmm14
2a716bbc7f
#3344: Fix legacy chat conversion losing format reset information.
In legacy chat format, colors and reset do not retain any formatting.

In order to prevent this behaviour from creating unnecessary long json containing many redundant `formatting: false`, the original `fromLegacyText(...)` idea was to just override the color to white and handle the format reset just internally.

However eventual previous format rejection (aka reset) information was lost when appending multiple legacy format strings to a `ComponentBuilder`.

With this change we save the "reset wish" in the `BaseComponent` and update `ComponentBuilder`'s append function to not copy over formatting if the component has the reset flag set.
2022-06-30 21:22:16 +10:00
Janmm14
00590b6c0d
#3343: Create GitHub issue templates 2022-06-30 21:18:12 +10:00
md_5
2ff4be7846
Update gson to 2.8.9 2022-06-28 21:40:53 +10:00
md_5
ff5727c5ef
Revert broken chat PR and align with Spigot 2022-06-08 19:37:15 +10:00
Brokkonaut
e46bc343e4
#3319: Do not forward cancelled messages or handled commands 2022-06-08 17:44:08 +10:00
Lukas Alt
5972fd2353
#3318: Fixed system messages shown in action bar for MC 1.19 clients 2022-06-08 11:23:41 +10:00
bob7l
8c0e4b1d33
#3315: Further fix for offline mode support 2022-06-08 10:05:06 +10:00
md_5
a737a754d1
Downgrade dependency version 2022-06-08 09:01:05 +10:00
md_5
fc8685a042
#3311: Fix chat handling on older versions 2022-06-08 08:30:37 +10:00
md_5
cc4765b4fe
#3313: Fix offline mode support 2022-06-08 08:22:46 +10:00
md_5
eccdf87f22
Minecraft 1.19 support 2022-06-08 02:00:00 +10:00
md_5
862bb2ac72
#3258: Only show detailed connect exception to admins 2022-04-09 08:59:01 +10:00
Outfluencer
34d416a4e8
#3261: Remove unused AttributeKeys
These attribute keys are not used so we can remove them
2022-03-19 10:05:23 +11:00
Outfluencer
410f64bc9f
#3268: Correct plugin message size check 2022-03-19 10:04:45 +11:00
Outfluencer
978e68fc74
#3265: Print all thrown exception
DecoderExceptions that are not a CorruptedFrameException and dont have BadPacketException or OverflowPacketException as cause are not printed.
I also removed the ID message in BadPacketException because bad packet does not mean it has a invalid id the protocol version can also be not valid or the packet was not read to the end and more details are in the message of the exception
2022-03-19 10:04:40 +11:00
Outfluencer
a17d8f8a66
#3264: Negative packet ids are also outside of range 2022-03-09 11:21:07 +11:00
md_5
7e47490e70
Minecraft 1.18.2 support 2022-03-01 02:00:00 +11:00
nnnnt21
f4f94d3b56
#3256: Allow - and . in online mode as some accounts still have these usernames 2022-02-24 08:06:10 +11:00
md_5
eae9d45c8a
Provide more information in connect errors 2022-02-06 08:44:55 +11:00
md_5
d2d157c1fe
#3246: Fix commands not working due to MinecraftForge changes 2022-02-06 08:26:09 +11:00
Outfluencer
9c95d4ba43
#3226: Add console command name tab completion 2022-01-02 10:13:48 +11:00
md_5
6cbd7404f4
Fix checkstyle paren pad settings 2022-01-02 10:13:48 +11:00
md_5
ad8a8ef5a9
Increase per-listener event bus warning time 2022-01-01 09:22:26 +11:00
md_5
e6766a1ee2
Update README date 2022-01-01 08:50:50 +11:00
Janmm14
b4ccdaa51c
#2715: Improve BadPacketException message in MinecraftDecoder 2021-12-19 09:54:37 +11:00
Janmm14
3a11656909
#3116: Do not fill in LogRecord caller data by default in slf4j wrapper 2021-12-19 09:53:13 +11:00
Janmm14
2479fab632
#3221: Use computeIfAbsent method in EventBus 2021-12-19 09:50:48 +11:00
md_5
51eb1ac623
Dependency upgrades 2021-12-18 12:18:21 +11:00
md_5
879f37f046
Upgrade to SnakeYAML 1.30 release 2021-12-18 11:36:05 +11:00
md_5
f2aadd6014
#3223: Only rewrite spectate packet if no IP forwarding 2021-12-13 08:25:54 +11:00
md_5
1ad81504ca
Update native cipher 2021-12-10 15:54:39 +11:00
Janmm14
425ee4e142
#3215: Add time measurement per event listener method 2021-12-05 08:51:33 +11:00
Valtn
42d8300bb7
#3220: Fix server list info being cached permanently 2021-12-05 08:04:26 +11:00
md_5
a9d75c5255
Minecraft 1.18 support 2021-12-01 03:00:00 +11:00
md_5
98afd548d1
Minecraft 1.18-rc3 support 2021-11-27 08:00:00 +11:00
md_5
7fc256dba7
Minecraft 1.18-pre8 support 2021-11-25 08:00:00 +11:00
md_5
21b23624ad
#3159: Account for the (broken) configuration when ip forward is enabled on bungee but not the server 2021-11-23 15:27:31 +11:00
md_5
1ace5c0c8b
Trial snapshot SnakeYAML version 2021-11-23 08:30:38 +11:00
md_5
bee99beab1
Downgrade to Checkstyle 8.x as 9.x series has much larger memory usage 2021-11-22 15:27:24 +11:00
md_5
8b363d3d1f
Minecraft 1.18-pre5 support 2021-11-22 09:00:00 +11:00
PSNRigner
c7b0c3cd48
#3207: Rework the plugin message relaying system to allow unregistering channels 2021-11-12 19:38:47 +11:00
md_5
c0c9b28582
Update snapshot support to 1.18-pre1 2021-11-12 19:37:57 +11:00
Frank van der Heijden
c3fffbc919
#3205: Don't forward tab completions if the root command is a bungee command 2021-11-04 18:45:11 +11:00
md_5
6613aaea95
Add test fix for library classes being visible to non-dependent plugins 2021-10-09 18:02:58 +11:00
riku6460
53ce6b93a2
#3200: Fix protocol for 21w40a 2021-10-09 18:00:36 +11:00
Janmm14
d8e293842f
#2466: Use switch in "BungeeCord" plugin message handling 2021-10-09 09:25:29 +11:00
MrMicky
5cf869df1a
#3198: Remove terminally deprecated SecurityManager
See https://openjdk.java.net/jeps/411
2021-10-09 09:25:29 +11:00
md_5
f26f7d8809
Add optional 1.18 (21w40a) snapshot protocol support
Accessible via the net.md_5.bungee.protocol.snapshot JVM property.
2021-10-09 09:25:28 +11:00
Outfluencer
c5a90475af
#3195: Remove unused translations
Both translations are not used in BungeeCord or any modules.
2021-09-25 08:10:28 +10:00
Outfluencer
3008d7ef2f
#3189: Improve username validation 2021-09-25 08:09:47 +10:00