diff --git a/README.md b/README.md index 5fc3c65..ba7733e 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ plugins { ```kotlin runBroker { // The download url of the Broker its self bootstrap jar, if you want to use the default, just delete this line - brokerBootstrapDownloadUrl = "C:\\Users\\RTAkl\\Downloads\\afybroker-server-bootstrap-2.4-all.jar" + brokerBootstrapDownloadUrl = "..." // the java path, by default plugin will use jdk of project, just delete this line to use the default jdk javaExecPath = cn.rtast.runbroker.common.JavaExecPath("path/to/java/binary") } diff --git a/gradle.properties b/gradle.properties index 50ba0b2..069e525 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style=official -pluginVersion=0.1.2 \ No newline at end of file +pluginVersion=0.1.3 \ No newline at end of file diff --git a/runbroker-plugin/src/main/kotlin/cn/rtast/runbroker/RunBrokerExtension.kt b/runbroker-plugin/src/main/kotlin/cn/rtast/runbroker/RunBrokerExtension.kt index 309a9c4..9b84e98 100644 --- a/runbroker-plugin/src/main/kotlin/cn/rtast/runbroker/RunBrokerExtension.kt +++ b/runbroker-plugin/src/main/kotlin/cn/rtast/runbroker/RunBrokerExtension.kt @@ -19,7 +19,7 @@ abstract class RunBrokerExtension { abstract val javaExecPath: Property init { - brokerBootstrapDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-server-bootstrap-2.4-all.jar") + brokerBootstrapDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-server-bootstrap-2.4-all.jar") javaExecPath.convention(JavaExecPath.DEFAULT) } } \ No newline at end of file diff --git a/runbroker-subserver-plugin/src/main/kotlin/cn/rtast/runbroker/subserver/RunBrokerSubserverExtension.kt b/runbroker-subserver-plugin/src/main/kotlin/cn/rtast/runbroker/subserver/RunBrokerSubserverExtension.kt index 67d5a5e..7555e29 100644 --- a/runbroker-subserver-plugin/src/main/kotlin/cn/rtast/runbroker/subserver/RunBrokerSubserverExtension.kt +++ b/runbroker-subserver-plugin/src/main/kotlin/cn/rtast/runbroker/subserver/RunBrokerSubserverExtension.kt @@ -30,8 +30,8 @@ abstract class RunBrokerSubserverExtension { init { subServerCount.convention(2) minecraftServerPath.convention("./server.jar") - brokerBukkitPluginDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-bukkit-2.4-all.jar") - brokerBungeeCordPluginDownloadUrl.convention("https://pub-0d3d8f5b51ea4506827ee6da1f0d8c9b.r2.dev/afybroker-bungee-2.4-all.jar") + brokerBukkitPluginDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-bukkit-2.4-all.jar") + brokerBungeeCordPluginDownloadUrl.convention("https://broker-files.rtast.cn/afybroker-bungee-2.4-all.jar") javaExecPath.convention(JavaExecPath.DEFAULT) } } \ No newline at end of file