Commit graph

449 commits

Author SHA1 Message Date
RaphiMC
1706b8c718
Added server version auto detect support 2023-11-30 19:01:49 +01:00
RaphiMC
de82e4c598
Improved code 2023-11-30 17:41:34 +01:00
RaphiMC
3b07da4029
1.20.3-rc1 2023-11-30 17:32:34 +01:00
RaphiMC
fdc4f0b70e
Select "Use account" by default 2023-11-30 00:09:06 +01:00
RaphiMC
058466b51f
Add chat signing support for 1.20.x clients on 1.20.x servers 2023-11-28 22:31:02 +01:00
RaphiMC
0b88a9db6c
1.20.3-pre4 2023-11-28 21:19:20 +01:00
RaphiMC
3de384b67c
Removed deprecated/old code 2023-11-28 20:31:57 +01:00
RaphiMC
c895f8a228
1.20.3-pre3 2023-11-27 17:49:55 +01:00
RaphiMC
4174bf6ad8
1.20.3-pre2 2023-11-22 20:42:31 +01:00
RaphiMC
a612960655
Fixed realms not working if the account is not refreshed 2023-11-21 00:22:45 +01:00
Lenni0451
232168873c
Merge remote-tracking branch 'origin/main' 2023-11-20 22:47:47 +01:00
Lenni0451
9c97409d5a
Added Realms tab 2023-11-20 22:47:29 +01:00
RaphiMC
29c476a7ad
1.20.3-pre1 2023-11-20 19:29:01 +01:00
RaphiMC
b452cb6084
Updated Via* 2023-11-19 23:57:17 +01:00
Lenni0451
842239b9b5
Changed window size 2023-11-19 21:14:55 +01:00
RaphiMC
98cef186ff
Updated MinecraftAuth to 3.0.0 2023-11-19 20:17:16 +01:00
SkyEye_FAST
4d0e687dd2
Create zh_CN.properties 2023-11-19 00:46:21 +08:00
RaphiMC
ce8720c2c1
Updated Via* 2023-11-09 20:40:23 +01:00
FlorianMichael
092af30a26
Fixed typo and updated ViaRewind 2023-11-07 21:17:23 +01:00
RaphiMC
dd1f602e53
Improved handshake address rewriting 2023-11-04 17:05:54 +01:00
Lenni0451
9a41bca967
Merge remote-tracking branch 'origin/main' 2023-11-03 20:46:47 +01:00
Lenni0451
4360abab2f
Refactored transformers to mixins annotations 2023-11-03 20:46:28 +01:00
RaphiMC
fd0556842b
Added support for 23w44a clients 2023-11-02 22:54:37 +01:00
RaphiMC
368e86d374
Fixed console input preview not showing up 2023-11-02 21:20:34 +01:00
RaphiMC
e2c712239c
Actually fixed event to skip Mojang auth 2023-11-02 20:34:27 +01:00
RaphiMC
ac5fe1263b
Structural refactor 2023-11-02 19:49:11 +01:00
RaphiMC
f97405604d
Added event to skip Mojang auth 2023-11-02 19:30:46 +01:00
RaphiMC
f167a05148
Updated Via* (23w44a server support) 2023-11-02 18:48:58 +01:00
FlorianMichael
644987eadd
Updated Via*
Added 23w43a support
2023-10-26 09:31:09 +02:00
FlorianMichael
4ef4115b10
Remove 1.14 -> 1.13.2 extra data fix
Upstream has merged this fix into itself
2023-10-24 06:25:33 +02:00
RaphiMC
c30a5a2d1f
Removed an unneeded fix 2023-10-23 19:37:08 +02:00
RaphiMC
d7211fa33b
Updated Via* API usage 2023-10-22 11:56:18 +02:00
RaphiMC
e3651490c5
Fixed chat signature injection 2023-10-20 21:13:24 +02:00
RaphiMC
d986ea0875
Added CLI option to ignore packet translation errors 2023-10-20 16:50:37 +02:00
RaphiMC
598626c610
Updated Via* API usage 2023-10-20 16:39:35 +02:00
RaphiMC
f608551097
Updated Via* 2023-10-19 21:15:32 +02:00
RaphiMC
f890fd0c79
Added the ability to use microsoft accounts in CLI 2023-10-16 19:47:59 +02:00
RaphiMC
85ddaf877a
Moved ViaProxy specific dump data to platform dump section 2023-10-16 17:41:12 +02:00
RaphiMC
175c24d320
Updated MinecraftAuth (jjwt) 2023-10-15 10:19:59 +02:00
RaphiMC
382da68e6a
Updated Via* 2023-10-11 20:38:25 +02:00
RaphiMC
a919cbdf88
Made state label more readable 2023-10-10 00:37:29 +02:00
RaphiMC
27d155a878
Temp fix jjwt as the official fix probably takes ages 2023-10-10 00:00:07 +02:00
RaphiMC
3a357b3dac
Print IMPL_VERSION to log 2023-10-09 12:42:45 +02:00
RaphiMC
4353ebfa7f
Fill ViaVersion platform dump data 2023-10-09 12:39:56 +02:00
RaphiMC
0197c6098c
Updated Via* API usage 2023-10-08 11:49:44 +02:00
RaphiMC
d69ba03224
Thanks Intellij for not committing this file 2023-10-07 21:27:37 +02:00
RaphiMC
8dda29a6f4
Updated Via* (23w40a server support) 2023-10-07 21:26:08 +02:00
RaphiMC
ad41b10cfa
Made code more readable 2023-10-04 18:21:06 +02:00
RaphiMC
8a51d507bb
Fixed bedrock pinging not working 2023-10-04 18:20:56 +02:00
RaphiMC
b33f2ac5fa
Added SRV resolving support to passthrough handler 2023-10-04 18:20:29 +02:00
RaphiMC
25b341a545
Fixed packets being sent too early after connecting 2023-10-03 20:20:49 +02:00
RaphiMC
58b4819677
Fixed legacy passthrough 2023-10-03 18:44:21 +02:00
RaphiMC
e461ef165e
Renamed class 2023-10-02 19:20:10 +02:00
RaphiMC
7b663e28f3
Made backend connect non blocking 2023-10-02 19:07:12 +02:00
RaphiMC
c51bb3eafb
Merge remote-tracking branch 'origin/main' 2023-10-02 18:03:04 +02:00
RaphiMC
cee36bf910
Fixed auto read race conditions 2023-10-02 18:02:48 +02:00
Lenni0451
a383772441
Use normal swing layouts and remove swingx 2023-10-02 16:59:36 +02:00
RaphiMC
8574db690c
Added LegacyProxyConnection for legacy client passthrough 2023-10-01 22:03:36 +02:00
RaphiMC
006f359d69
Refactored legacy client passthrough to make use of events 2023-10-01 21:27:50 +02:00
RaphiMC
b27d387418
Made account part of ProxyConnection 2023-09-27 22:00:59 +02:00
RaphiMC
cc6fcc8dc6
Release 3.0.21 2023-09-21 18:22:28 +02:00
RaphiMC
52792c6964
Added ClientLoggedInEvent 2023-09-17 23:08:25 +02:00
RaphiMC
75c0434ceb
Don't trigger language change when the language isn't actually changed 2023-09-17 12:50:43 +02:00
RaphiMC
1c18ce4699
Added localization system 2023-09-17 12:46:36 +02:00
RaphiMC
9f4fbe0031
Use event system for GUI related events 2023-09-16 20:55:31 +02:00
Lenni0451
1a7c557adf
Use system default font 2023-09-16 20:02:26 +02:00
Lenni0451
fb74c159c4
Use hand cursor for Discord link 2023-09-16 19:54:26 +02:00
Lenni0451
85deab7e63
Use grid variable 2023-09-16 19:45:22 +02:00
Lenni0451
94b835554e
Make popups use layouts as well 2023-09-16 19:38:51 +02:00
Lenni0451
345ecd8b78
Finished tabs 2023-09-16 19:22:02 +02:00
Lenni0451
ec028e8723
Started UI recode 2023-09-16 18:15:35 +02:00
RaphiMC
277a845bc8
Fixed compile error better 2023-09-15 17:44:19 +02:00
Lenni0451
a1e14e5610
Fixed compile error 2023-09-15 17:19:51 +02:00
RaphiMC
8baa02ec40
Fixed jANSI segfaulting the JVM when there is no console 2023-09-12 18:09:09 +02:00
RaphiMC
59e9aa708d
Fixed ANSI support on Windows 2023-09-10 17:00:28 +02:00
RaphiMC
73f2e96201
Added option to ignore packet translation errors 2023-09-10 14:51:16 +02:00
RaphiMC
05bb19bdd0
Added support for 1.20.2-pre2 2023-09-10 00:21:24 +02:00
RaphiMC
305714905b
Fixed HAProxy IPv6 issues and added HAProxy support to legacy passthrough 2023-09-08 12:44:28 +02:00
RaphiMC
b91723164c
Moved location of ProxyStartEvent 2023-09-05 18:45:46 +02:00
RaphiMC
57342c5491
Cleaned up some code 2023-09-04 20:53:13 +02:00
RaphiMC
1fbfc2765f
Migrated project to Java 17 and use JavaDowngrader gradle plugin to target Java 8 2023-09-04 19:36:24 +02:00
RaphiMC
da71e7dbb2
Added support for 23w35a 2023-08-30 19:34:54 +02:00
RaphiMC
3ac0d81484
Fixed config state tracking issues 2023-08-18 23:42:47 +02:00
RaphiMC
7c0f72b8b1
Added support for 23w33a 2023-08-17 19:04:22 +02:00
RaphiMC
0acc098b7d
Improved anti-cheat warning message 2023-08-17 18:52:09 +02:00
RaphiMC
a75a016641
Added missing play state checks 2023-08-15 22:10:01 +02:00
RaphiMC
50c117dd6a
Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/main/java/net/raphimc/viaproxy/proxy/client2proxy/Client2ProxyHandler.java
2023-08-15 21:22:47 +02:00
RaphiMC
94baa38e7f
Added support for 23w32a clients and servers, Refactored packet handler code 2023-08-15 21:22:18 +02:00
Lenni0451
f2d413577e
Cleaned code 2023-08-15 00:57:18 +02:00
RaphiMC
2196ed5258
Added 'exit' command to shutdown ViaProxy 2023-08-09 20:24:38 +02:00
RaphiMC
5f21cbe19d
Improved code 2023-07-31 21:31:12 +02:00
RaphiMC
ce10d26107
Fixed protocol/version blocking not doing anything 2023-07-26 10:51:26 +02:00
RaphiMC
286ac0a269
Implemented ViaBedrock TransferProvider 2023-07-03 19:14:30 +02:00
RaphiMC
b0a4b22f72
Properly implemented BungeeCord player info forwarding support 2023-06-28 14:08:04 +02:00
RaphiMC
7f34005147
Added support for bungeecord legacy player info forwarding 2023-06-28 08:55:50 +02:00
RaphiMC
02a48b519f
Fixed proxy <-> server ping behaviour 2023-06-26 22:29:25 +02:00
RaphiMC
353b1301e8
Made version parsing more lenient and improved CLI error handling 2023-06-22 19:50:14 +02:00
Lenni0451
a0e1732bb9
Merge remote-tracking branch 'origin/main' 2023-06-19 18:29:06 +02:00
Lenni0451
370222b2a9
Use cell renderer instead of raw strings 2023-06-19 18:28:57 +02:00
RaphiMC
cdcdfaa60e
Added account refresh cache of 10 seconds 2023-06-19 18:28:28 +02:00
RaphiMC
68d4a4b72d
Don't refresh all accounts on startup 2023-06-19 18:13:37 +02:00
RaphiMC
44579a0046
Removed movement fix because its now part of Via 2023-06-18 14:58:45 +02:00
RaphiMC
76f84af5da
Updated MinecraftAuth usage 2023-06-17 00:42:52 +02:00
RaphiMC
9510c672a7
Improved chat signing implementation and lazy load account runtime data 2023-06-16 15:32:55 +02:00
RaphiMC
d4660a9b97
Use new Via API for creating dumps 2023-06-14 23:30:08 +02:00
RaphiMC
411b534499
Made 1.19.0 chat signing optional 2023-06-14 23:21:53 +02:00
RaphiMC
b7d2956b08
Refreshing bedrock account chain before join 2023-06-14 22:56:16 +02:00
RaphiMC
ad3e34b369
Added buttons to upload the log and create ViaVersion dumps 2023-06-14 16:04:28 +02:00
RaphiMC
6f263513c9
Renamed 1.20 protocol version 2023-06-12 16:53:22 +02:00
RaphiMC
cb7eb2bade
Fixed UI not saving the server version state properly 2023-06-08 17:05:51 +02:00
RaphiMC
3fc5671e86
Fixed CLI exception on startup when there is no CLI 2023-06-08 17:05:37 +02:00
RaphiMC
2aee84ff1c
Fixed OpenAuthMod auth status not resetting when changing auth method 2023-06-08 16:34:28 +02:00
RaphiMC
ade7294e54
Added dependency system to plugin loader 2023-06-08 00:00:33 +02:00
RaphiMC
0172a3d870
Fixed YAML interpreting plugin version as Number 2023-06-07 22:47:49 +02:00
RaphiMC
87a1392cd9
Added 1.20 client and server support 2023-06-07 21:43:02 +02:00
RaphiMC
5a3ea47e8d
Fixed bedrock accounts not saving 2023-06-02 00:36:11 +02:00
RaphiMC
7448c0cbff
Fixed plugin loader 2023-05-31 22:40:05 +02:00
RaphiMC
0613132cb1
Updated ViaBedrock usage 2023-05-31 22:12:27 +02:00
RaphiMC
fae244e5e5 Updated to 1.20-rc1 2023-05-31 15:54:02 +02:00
RaphiMC
0a1fc12e22 Updated libraries 2023-05-30 22:46:59 +02:00
RaphiMC
b6abe50c1e Add cursed code to allow replacing Via* at runtime 2023-05-30 21:44:57 +02:00
RaphiMC
c3c5aa3bf3 Swapped out discord link 2023-05-30 21:05:58 +02:00
RaphiMC
d12491bb52 Migrated to ViaLoader 2023-05-30 00:34:51 +02:00
RaphiMC
98758740e1 Updated to 1.20-pre7 2023-05-29 19:31:21 +02:00
RaphiMC
79f77da4be Improved plugin API 2023-05-29 13:08:42 +02:00
RaphiMC
a718506d68 Migrated ViaLoader usage 2023-05-28 19:42:22 +02:00
Lenni0451
e9b3f7605c Added warning when starting ViaProxy for the first time 2023-05-28 17:15:37 +02:00
RaphiMC
4455f90949 Improved code 2023-05-28 11:41:10 +02:00
RaphiMC
55b58444bd Fixed Via commands for the CLi interface 2023-05-28 11:18:48 +02:00
RaphiMC
2f53b38769 Trim proxy URL 2023-05-26 01:05:52 +02:00
RaphiMC
af7a46c813 Updated Via* 2023-05-25 21:28:26 +02:00
RaphiMC
9fcfae67d9 Fixed high background CPU usage 2023-05-23 19:14:57 +02:00
RaphiMC
a537fd296a Updated Via* 2023-05-20 16:38:50 +02:00
RaphiMC
0a7f14ae9f Implemented JavaDowngrader 2023-05-17 18:08:31 +02:00
RaphiMC
f2aeb9f485 Improved CLI interface 2023-05-14 22:41:53 +02:00
Josiah Glosson
e4b92ecb69
Make changes to Java17ToJava8 to make it more standalone (#45)
* Constructors galore for Java17ToJava8

* Change system property

* Use slf4j for logger

* Don't make everything public
2023-05-13 21:50:56 +02:00
Josiah (Gaming32) Glosson
98da518b01 Fix package whitelist system 2023-05-13 11:41:32 -05:00
Josiah (Gaming32) Glosson
1e1b8be79b Better Stream.toList conversion 2023-05-13 07:33:55 -05:00
Josiah (Gaming32) Glosson
384f8ca581 Fix lists being constructed in reverse
Well they still are, but they're reversed at the end.
2023-05-13 07:28:43 -05:00
Josiah (Gaming32) Glosson
636663274a No more runtime libraries for J17 -> J8
I dropped Apache Commons IO by implementing transferTo, then implementing readAllBytes as a transferTo a ByteArrayOutputStream
2023-05-12 23:11:24 -05:00
Josiah (Gaming32) Glosson
d95f3a277a Desugar record equals, hashCode, and toString 2023-05-12 20:59:08 -05:00
RaphiMC
565690fcb1 Updated Via* 2023-05-10 17:51:57 +02:00
RaphiMC
cd8055a140 Removed support for unofficial clients 2023-05-09 23:51:31 +02:00
RaphiMC
9f8d12cd24 Updated MinecraftAuth lib 2023-05-06 18:56:04 +02:00
RaphiMC
fd1e9932d0 Updated Via* 2023-05-04 23:07:13 +02:00
RaphiMC
9ae3efd41f Changed position of auto read disabling 2023-04-30 17:48:20 +02:00
RaphiMC
d58c879283 Removed test code 2023-04-30 17:39:34 +02:00
RaphiMC
657c4b402b Fixed deadlocking issues with packet syncing 2023-04-30 17:39:06 +02:00
RaphiMC
c5a772d6db Removed now not needed anymore code 2023-04-29 22:31:49 +02:00
RaphiMC
ab93dbc9ed Merge remote-tracking branch 'origin/main' 2023-04-28 21:25:09 +02:00
RaphiMC
7cc21baff9 Make legacy skull loading configurable 2023-04-28 21:24:59 +02:00
Lenni0451
e05013d54f Added threaddump command 2023-04-27 17:48:09 +02:00
RaphiMC
3bbe0eea98 Updated Via* 2023-04-26 20:45:09 +02:00
Lenni0451
23c6d3512b Added more java 17 to java 8 translations 2023-04-24 19:09:04 +02:00
RaphiMC
9c0ce3b45a Fixed plugin min version requirement comparison 2023-04-23 23:28:53 +02:00
RaphiMC
1bff55024f Updated ClassTransform usage 2023-04-23 22:36:56 +02:00
Lenni0451
bf931dbae8 Merge branch 'main' of https://github.com/RaphiMC/ViaProxy 2023-04-23 22:19:50 +02:00
RaphiMC
fc9ee03e07 Replaced guava usage 2023-04-23 21:50:36 +02:00
RaphiMC
bae9379172 More cursedness 2023-04-23 21:15:18 +02:00
Lenni0451
e2b68f0644 Added missing return statement 2023-04-23 19:30:02 +02:00
Lenni0451
1c46b09449 Merge remote-tracking branch 'origin/main' 2023-04-23 18:54:32 +02:00
Lenni0451
19cb01e4d4 Renamed field 2023-04-23 18:54:24 +02:00
RaphiMC
5c4ec627b7 Merge remote-tracking branch 'origin/main' 2023-04-23 18:52:26 +02:00
RaphiMC
46d137a158 Make Java17ToJava8 converter whitelisted 2023-04-23 18:52:18 +02:00
Lenni0451
d9b01a3b63 Added transformer support for plugins 2023-04-23 18:43:26 +02:00
Lenni0451
bda7244b90 Improved code 2023-04-23 17:54:45 +02:00
RaphiMC
30307d8231 Curse the Java17ToJava8 converter to allow conversion of Geyser 2023-04-23 02:09:59 +02:00
RaphiMC
1cb01789a9 Added new events 2023-04-22 20:30:59 +02:00
RaphiMC
48e20167c2 Expose plugins dir 2023-04-22 18:39:39 +02:00
RaphiMC
f66bc3c435 Fixed legacy ping passthrough not working when eaglercraft support is enabled 2023-04-19 15:48:55 +02:00
RaphiMC
b873551a79 Fixed legacy ping passthrough not working when eaglercraft support is enabled 2023-04-19 15:34:26 +02:00
RaphiMC
1bbaf9773a Updated Via* 2023-04-14 16:55:09 +02:00
RaphiMC
55ca5c7087 Use UTF-8 charset for string -> bytes conversion 2023-04-13 16:32:56 +02:00
RaphiMC
44e21eccd5 Updated Via* 2023-04-11 22:10:48 +02:00
RaphiMC
0822235d67 Updated Via* 2023-04-11 21:09:05 +02:00
RaphiMC
9949f2e729 Fixed Eaglercraft pinging for <=1.6.4 servers 2023-04-11 19:40:46 +02:00
RaphiMC
93ce462636 Changed memory warn message 2023-04-10 19:48:09 +02:00
RaphiMC
52f31b527e Added system property to ignore system requirements 2023-04-10 19:01:04 +02:00
RaphiMC
0e8d7e6f58 Improved UI design 2023-04-09 18:22:42 +02:00
EnZaXD
a18cf6fe80
Corrected class naming (#37) 2023-04-09 18:12:51 +02:00
RaphiMC
c01cb7b3e0 Use non deprecated API 2023-04-08 19:36:47 +02:00
RaphiMC
f840a002e7 Fixed code 2023-04-08 16:02:26 +02:00
RaphiMC
2c4cb91ff7 Added minimum memory requirement 2023-04-08 15:57:52 +02:00
Lenni0451
52b257e206 Merge remote-tracking branch 'origin/main' 2023-04-08 15:08:58 +02:00
Lenni0451
1c5d6b22d2 Printing java version and os on startup 2023-04-08 15:08:51 +02:00
RaphiMC
5ff22c7aab Added status protocol support for Eaglercraft 2023-04-08 02:41:29 +02:00
RaphiMC
c0e04ee5f6 Added eaglercraft option to GUI 2023-04-07 23:24:09 +02:00
RaphiMC
407a492fc0 Added Eaglercraft 1.5.2 support 2023-04-07 21:58:02 +02:00
RaphiMC
4494920acd Added support for EaglerCraft clients 2023-04-07 19:15:43 +02:00
RaphiMC
8da007c0a4 Made LegacyClientPassthroughHandler more extendable 2023-04-07 18:07:22 +02:00
RaphiMC
5dfe2f5a74 Cleaned up Options 2023-04-05 23:24:09 +02:00
RaphiMC
9f026b041a Added support for passing <= 1.6.4 clients through 2023-04-05 19:03:52 +02:00
RaphiMC
14d2ad1f36 Fixed import error 2023-04-05 16:04:44 +02:00
RaphiMC
038782a60d Implemented HAProxy protocol for backend connections 2023-04-05 15:05:46 +02:00
RaphiMC
af3ab5f6eb Fixed NPE 2023-04-02 21:28:33 +02:00
RaphiMC
42a3d45e53 Implemented ViaBedrock 2023-04-02 21:25:27 +02:00
RaphiMC
c08f566c2b Fixed issue with the version clearing after pressing Stop 2023-04-01 22:52:11 +02:00
RaphiMC
683e55c3a0 Don't use addFirst for the proxy handler 2023-04-01 19:44:57 +02:00
RaphiMC
63e22d06ba Added new setting for legacy skin loading 2023-03-31 22:58:47 +02:00
RaphiMC
9d45cc5e28 Updated Via* 2023-03-31 09:53:47 +02:00