From d9222ac00f7d49efcec19f3ef377075ce3751255 Mon Sep 17 00:00:00 2001 From: wtlgo Date: Wed, 12 Jun 2024 07:10:21 +0300 Subject: [PATCH 1/5] Fix tmonitoring route --- .../mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt b/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt index 7864962..bd4ffca 100644 --- a/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt +++ b/src/main/java/dev/mikchan/mcnp/votereceiver/core/web/TMonitoringComRoute.kt @@ -17,7 +17,7 @@ import java.net.http.HttpResponse * Reference `https://tmonitoring.com/uploads/files/top.zip` */ internal fun Route.createTMonitoringComRoute(plugin: IPlugin) { - get("/tmonitoring.com") { + get("/tmonitoring.com/top.php") { val hash = call.request.queryParameters["hash"] val id = call.request.queryParameters["id"] From fb631072a3b2c03c748b5c96a0000648dfb3327d Mon Sep 17 00:00:00 2001 From: wtlgo Date: Wed, 12 Jun 2024 07:11:16 +0300 Subject: [PATCH 2/5] Bump version --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3b4bd6a..66592ff 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ static def determineVersion(String defaultVersion) { } group = "dev.mikchan.mcnp" -version = determineVersion("1.3.0") +version = determineVersion("1.3.1") def localProperties = new Properties() def propertiesFile = rootProject.file("local.properties") From 26f907fd7daf1e6cd92b4918bcb3a783bb7046de Mon Sep 17 00:00:00 2001 From: wtlgo Date: Wed, 12 Jun 2024 07:14:55 +0300 Subject: [PATCH 3/5] Fix velocity dependency --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 66592ff..a0cf496 100644 --- a/build.gradle +++ b/build.gradle @@ -64,8 +64,8 @@ dependencies { //noinspection VulnerableLibrariesLocal compileOnly "org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT" compileOnly "net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT" - compileOnly 'com.velocitypowered:velocity-api:3.1.1' - annotationProcessor 'com.velocitypowered:velocity-api:3.1.1' + compileOnly 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' + annotationProcessor 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' compileOnly "com.github.NuVotifier.NuVotifier:nuvotifier-bukkit:2.7.2" compileOnly "com.github.NuVotifier.NuVotifier:nuvotifier-bungeecord:2.7.2" From 71f59275503e83f141fb4554589ef44692355f4c Mon Sep 17 00:00:00 2001 From: wtlgo Date: Wed, 12 Jun 2024 07:20:06 +0300 Subject: [PATCH 4/5] Fix velocity dependency --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index a0cf496..43a59c8 100644 --- a/build.gradle +++ b/build.gradle @@ -52,6 +52,9 @@ repositories { maven { name = "Ailis Maven Releases" url = "https://nexus.ailis.de/repository/maven-releases/de/ailis/pherialize/pherialize/" + content { + includeGroup "com.xk72" + } } maven { From e8d12a4d2dcef75704f64c6afd13e06eaa9d044b Mon Sep 17 00:00:00 2001 From: wtlgo Date: Wed, 12 Jun 2024 07:22:44 +0300 Subject: [PATCH 5/5] Maybe I should remove velocity? --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 43a59c8..76d65b4 100644 --- a/build.gradle +++ b/build.gradle @@ -86,7 +86,7 @@ dependencies { shadow "org.bstats:bstats-bukkit:3.0.1" } -def targetJavaVersion = 11 +def targetJavaVersion = 17 java { def javaVersion = JavaVersion.toVersion(targetJavaVersion) if (JavaVersion.current() < javaVersion) {