MinecraftServerPing
An API to get some Informations of a Minecraft Server
Install / Use
/learn @alwyn974/MinecraftServerPingREADME
Minecraft Server Ping est une API permettant de récupérer les informations d'un Serveur Minecraft grâce au Ping.
Actuellement vous pouvez récuperez :
➳ Le favicon (Base64 encoded)
➳ Le nombre de joueurs
➳ La description du serveur (MOTD)
➳ La version du serveur
➳ La latence vers le serveur
Minecraft Server Ping est compilé avec Gson-2.8.6<br> Minecraft Server Ping est basé principalement sur le travail de zh32
Configuration
Vous devez utiliser la classe MinecraftServerPingOptions les options disponibles sont : <br>
Exemple
MinecraftServerPingInfos data = new MinecraftServerPing().getPing(new MinecraftServerPingOptions().setHostname("play.hypixel.net").setPort(25565));
System.out.println(data.getDescription() + "\n" + data.getStrippedDescription() + "\n" + data.getVersion().getName() + "\n" + data.getLatency() + "ms\n" + data.getPlayers().getOnline() + "/" + data.getPlayers().getMax());
Documentation
Vous pouvez aller voir la javadoc qui se trouve ici. <br> Un exemple est disponible ici.
Installation
Remplacez %VERSION% avec les versions disponibles (1.0.0 & 2.0.0)
Gradle
repositories {
mavenCentral()
maven {
url "https://alwyn974.github.io/maven/"
}
}
dependencies {
compile 're.alwyn974.minecraftserverping:MinecraftServerPing:%VERSION%'
}
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
