Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-11-17 05:40:06 +01:00
add task to run mojang mapped server
Dieser Commit ist enthalten in:
Ursprung
388857f4c1
Commit
6a46a437e6
@ -1,4 +1,5 @@
|
|||||||
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder
|
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder
|
||||||
|
import xyz.jpenilla.runpaper.task.RunServerTask
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
`java-library`
|
`java-library`
|
||||||
@ -36,6 +37,11 @@ tasks {
|
|||||||
minecraftVersion("1.17.1")
|
minecraftVersion("1.17.1")
|
||||||
pluginJars.from(reobfJar.flatMap { it.outputJar })
|
pluginJars.from(reobfJar.flatMap { it.outputJar })
|
||||||
}
|
}
|
||||||
|
register<RunServerTask>("runMojangMappedServer") {
|
||||||
|
minecraftVersion("1.17.1")
|
||||||
|
pluginJars.from(jar.flatMap { it.archiveFile })
|
||||||
|
paperclip(layout.file(configurations.mojangMappedServer.map { it.singleFile }))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bukkit {
|
bukkit {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren