mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-22 07:28:09 -05:00
Updated Via*
This commit is contained in:
parent
47329a1d49
commit
5d925ac60b
3 changed files with 11 additions and 11 deletions
|
@ -6,16 +6,16 @@ Using it is very simple, just run the jar file, and it will start a user interfa
|
|||
For a full user guide go to the [Usage for Players](#usage-for-players-gui) section or the [Usage for Server Owners](#usage-for-server-owners-config) section.
|
||||
|
||||
## Supported Server versions
|
||||
- Release (1.0.0 - 1.21.1)
|
||||
- Release (1.0.0 - 1.21.3)
|
||||
- Beta (b1.0 - b1.8.1)
|
||||
- Alpha (a1.0.15 - a1.2.6)
|
||||
- Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension))
|
||||
- April Fools (3D Shareware, 20w14infinite)
|
||||
- Combat Snapshots (Combat Test 8c)
|
||||
- Bedrock Edition 1.21.30 ([Some features are missing](https://github.com/RaphiMC/ViaBedrock#features))
|
||||
- Bedrock Edition 1.21.40 ([Some features are missing](https://github.com/RaphiMC/ViaBedrock#features))
|
||||
|
||||
## Supported Client versions
|
||||
- Release (1.7.2 - 1.21.1)
|
||||
- Release (1.7.2 - 1.21.3)
|
||||
- April Fools (3D Shareware)
|
||||
- Bedrock Edition (Requires the [Geyser plugin](https://geysermc.org/download))
|
||||
- Beta 1.7.3 (Requires the [Beta2Release plugin](https://github.com/ViaVersionAddons/ViaProxyBeta2Release))
|
||||
|
|
14
build.gradle
14
build.gradle
|
@ -61,16 +61,16 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
include "com.viaversion:viaversion-common:5.0.5"
|
||||
include "com.viaversion:viabackwards-common:5.0.4"
|
||||
include "com.viaversion:viaversion-common:5.1.1-SNAPSHOT"
|
||||
include "com.viaversion:viabackwards-common:5.1.0"
|
||||
include "com.viaversion:viarewind-common:4.0.3"
|
||||
include "net.raphimc:ViaLegacy:3.0.4-SNAPSHOT"
|
||||
include "net.raphimc:viaaprilfools-common:3.0.3-SNAPSHOT"
|
||||
include("net.raphimc:ViaBedrock:0.0.12-SNAPSHOT") {
|
||||
include "net.raphimc:ViaLegacy:3.0.4"
|
||||
include "net.raphimc:viaaprilfools-common:3.0.3"
|
||||
include("net.raphimc:ViaBedrock:0.0.13-SNAPSHOT") {
|
||||
exclude group: "io.netty"
|
||||
exclude group: "io.jsonwebtoken"
|
||||
}
|
||||
include("net.raphimc:ViaLoader:3.0.4-SNAPSHOT") {
|
||||
include("net.raphimc:ViaLoader:3.0.4") {
|
||||
exclude group: "org.slf4j", module: "slf4j-api"
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ dependencies {
|
|||
exclude group: "com.google.code.gson", module: "gson"
|
||||
}
|
||||
include "net.lenni0451.commons:swing:1.6.1"
|
||||
include("net.raphimc.netminecraft:all:3.0.0-SNAPSHOT") {
|
||||
include("net.raphimc.netminecraft:all:3.0.0") {
|
||||
exclude group: "com.google.code.gson", module: "gson"
|
||||
}
|
||||
include("net.raphimc:MinecraftAuth:4.1.1") {
|
||||
|
|
|
@ -29,7 +29,7 @@ public class ViaProxyVersionProvider extends BaseVersionProvider {
|
|||
@Override
|
||||
public ProtocolVersion getClientProtocol(UserConnection connection) {
|
||||
final ProtocolVersion clientProtocol = connection.getProtocolInfo().protocolVersion();
|
||||
if (clientProtocol.getVersionType() == VersionType.SPECIAL && ProtocolVersion.isRegistered(VersionType.SPECIAL, clientProtocol.getOriginalVersion())) {
|
||||
if (!clientProtocol.isKnown() && ProtocolVersion.isRegistered(VersionType.SPECIAL, clientProtocol.getOriginalVersion())) {
|
||||
return ProtocolVersion.getProtocol(VersionType.SPECIAL, clientProtocol.getOriginalVersion());
|
||||
} else {
|
||||
return super.getClientProtocol(connection);
|
||||
|
|
Loading…
Reference in a new issue