b3583ba48d6ae59405c558053d57270fa5c2ba57
T
mcping
A lightweight motd ping library for kotlin multiplatform and java,
no dependencies in jvm target except kotlin-stdlib
native platforms required ktor-network and kotlinx-io
Supported targets
- jvm 1.8
- mingwX64
- linuxArm64
- liunxX64
- iosArm64
- iosSimulatorArm64
- macosArm64
Get started
repositories {
maven("https://repo.rtast.cn/packages")
}
dependencies {
implementation("cn.rtast.mcping:mcping:0.0.1")
}
fun main() {
// return a json respose
val response: String = mcping("org.mc-complex.com", 25565)
println(response)
}
An example json response can be found at ping-response-example (Formatted)
Open Source
Open source under Apache-2.0
Description
Lightweight Minecraft client-side protocol library for Kotlin Multiplatform and JVM
Readme
Apache-2.0
1.7 MiB
1 Watchers
0 Forks
Languages
Kotlin
99.9%