T
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00
2026-09-03 19:32:46 +08:00

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

S
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%