Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-11-08 17:40:04 +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 xyz.jpenilla.runpaper.task.RunServerTask
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
@ -36,6 +37,11 @@ tasks {
|
||||
minecraftVersion("1.17.1")
|
||||
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 {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren