获取当前访问IP地址
GET
https://api.nullcraft.org/v1/tools/ip
获取访问者IP,主要用于开服器IP获取
Query Parameters
{
"code": 200,
"ip": "访问者IP"
}
获取Minecraft官方服务端信息
GET
https://api.nullcraft.org/v1/minecraft/server/:version
获取版本服务端信息,仅原版官方端
Path Parameters
{
"version": "1.16.5",
"sha1": "1b557e7b033b583cd9f66746b7a9ab1ec1673ced",
"size": 37962360,
"url": "https://launcher.mojang.com/v1/objects/1b557e7b033b583cd9f66746b7a9ab1ec1673ced/server.jar"
}
生成Mojang快照风格版本号
GET
https://api.nullcraft.org/v1/tools/week
返回JSON格式
{
"year": "21",
"week": 36,
"snapshot": "21w36a"
}