sync
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("com.github.johnrengelman.shadow")
|
||||
}
|
||||
|
||||
group = "cc.maxmc.msm.child"
|
||||
@@ -11,5 +12,16 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib"))
|
||||
implementation(project(":api"))
|
||||
implementation(project(":common"))
|
||||
@Suppress("VulnerableLibrariesLocal")
|
||||
compileOnly("io.github.waterfallmc:waterfall-api:1.19-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
tasks.shadowJar {
|
||||
relocate("kotlin", "cc.maxmc.msm.lib.kotlin")
|
||||
}
|
||||
|
||||
tasks.build {
|
||||
dependsOn(tasks.shadowJar)
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package cc.maxmc.msm.child
|
||||
|
||||
import cc.maxmc.msm.common.Placeholder
|
||||
import cc.maxmc.msm.common.network.netty.NetworkRegistry
|
||||
import net.md_5.bungee.api.plugin.Plugin
|
||||
|
||||
class MultiServerMan : Plugin() {
|
||||
|
||||
override fun onEnable() {
|
||||
Placeholder.inject(NetworkRegistry.PacketDirection.CHILD_BOUND)
|
||||
|
||||
}
|
||||
|
||||
override fun onDisable() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
name: MultiServerMan-Parent
|
||||
main: cc.maxmc.msm.child.MultiServerMan
|
||||
author: TONY_All
|
||||
Reference in New Issue
Block a user