This commit is contained in:
2025-04-29 14:11:15 +08:00
parent 11a1264a4b
commit acbfb6cb27
8 changed files with 56 additions and 29 deletions

View File

@@ -68,10 +68,8 @@ plugins {
```kotlin
runBroker {
// This path is the Broker its self bootstrap jar file path, once if run
// successful this config is not necessary, because plugin will copy
// this file to `run` dir
brokerBootstrapPath = "C:\\Users\\RTAkl\\Downloads\\afybroker-server-bootstrap-2.4-all.jar"
// 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"
// 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")
}
@@ -81,10 +79,10 @@ runBroker {
```kotlin
runBrokerSubserver {
// Broker bukkit plugin path
brokerBukkitPluginPath = "C:\\Users\\RTAkl\\Downloads\\afybroker-bukkit-2.4-all.jar"
// Broker bungeecord plugin path
brokerBungeeCordPluginPath = "C:\\Users\\RTAkl\\Downloads\\afybroker-bungee-2.4-all.jar"
// Broker bukkit plugin path, if you want to use the default, just delete this line
brokerBukkitPluginDownloadUrl = "..."
// Broker bungeecord plugin download url, if you want to use the default, just delete this line
brokerBungeeCordPluginDownloadUrl = "..."
// minecraft server core path, also all the path configs are one-time
minecraftServerPath = "E:\\hhwork\\NoobSpigot\\noob-server\\build\\libs\\noob-bundler-1.21.4-R0.1-SNAPSHOT-mojmap.jar"
// the subserver count, set to 2 will generate two tasks that can run multiple server instances by default it's 2