diff --git a/Dockerfile b/Dockerfile index cdd97dd..47b3fbd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY --chown=1000 --link docker /app # Download Velocity -ADD --chown=1000 --link https://api.papermc.io/v2/projects/velocity/versions/3.3.0-SNAPSHOT/builds/414/downloads/velocity-3.3.0-SNAPSHOT-414.jar /app/velocity.jar +ADD --chown=1000 --checksum=sha256:845cb2c1891544ad9e432883d7ddf059284d9d178b97be4977e5f805746c9edd --link https://api.papermc.io/v2/projects/velocity/versions/3.4.0-SNAPSHOT/builds/450/downloads/velocity-3.4.0-SNAPSHOT-450.jar /app/velocity.jar # Run Server EXPOSE 25565 diff --git a/build.gradle b/build.gradle index b9bdb7e..1b92b7b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,9 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { - id 'org.jetbrains.kotlin.jvm' version '2.0.10' - id "org.jetbrains.kotlin.kapt" version "2.0.10" - id 'com.gradleup.shadow' version '8.3.0' + id 'org.jetbrains.kotlin.jvm' version '2.0.21' + id "org.jetbrains.kotlin.kapt" version "2.0.21" + id 'com.gradleup.shadow' version '8.3.5' } group 'one.oktw' @@ -23,14 +23,14 @@ repositories { } dependencies { - kapt 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' - compileOnly 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' - implementation 'io.fabric8:kubernetes-client:6.13.3' - implementation 'io.fabric8:kubernetes-httpclient-okhttp:6.13.3' + kapt 'com.velocitypowered:velocity-api:3.4.0-SNAPSHOT' + compileOnly 'com.velocitypowered:velocity-api:3.4.0-SNAPSHOT' + implementation 'io.fabric8:kubernetes-client:6.13.4' + implementation 'io.fabric8:kubernetes-httpclient-okhttp:6.13.4' implementation 'com.github.fkorotkov:k8s-kotlin-dsl:3.3.0' - implementation 'io.lettuce:lettuce-core:6.4.0.RELEASE' + implementation 'io.lettuce:lettuce-core:6.5.0.RELEASE' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactive' // lettuce need this - implementation 'one.oktw:galaxy-lib:7376fcdf' + implementation 'one.oktw:galaxy-lib:c328418' } compileKotlin { diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 2c35211..a4b76b9 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 09523c0..df97d72 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/src/main/kotlin/one/oktw/galaxy/proxy/config/model/ProxyConfig.kt b/src/main/kotlin/one/oktw/galaxy/proxy/config/model/ProxyConfig.kt index bed21e0..e7c13a6 100644 --- a/src/main/kotlin/one/oktw/galaxy/proxy/config/model/ProxyConfig.kt +++ b/src/main/kotlin/one/oktw/galaxy/proxy/config/model/ProxyConfig.kt @@ -1,5 +1,5 @@ package one.oktw.galaxy.proxy.config.model data class ProxyConfig( - val ProtocolVersion: Int = 498 // default Minecraft 1.14.4 + val ProtocolVersion: Int = 768 // default Minecraft 1.21.3 ) diff --git a/src/main/resources/config/proxy.json b/src/main/resources/config/proxy.json index acae75f..35c63c2 100644 --- a/src/main/resources/config/proxy.json +++ b/src/main/resources/config/proxy.json @@ -1,3 +1,3 @@ { - "ProtocolVersion": 767 + "ProtocolVersion": 768 }