micro / services

Real World Micro Services
Apache License 2.0
1.25k stars 137 forks source link

Minecraft Server Ping API #357

Closed BasToTheMax closed 2 years ago

BasToTheMax commented 2 years ago

This api checks if a Minecraft server is online or not

asim commented 2 years ago

I can imagine writing a generic ping service unless minecraft has some specific protocol. Assuming there's a http endpoint?

BasToTheMax commented 2 years ago

Minecraft uses TCP

asim commented 2 years ago

Alright so let's say its a ping service that supports http and tcp

service Ping {
    Url(...)
    Tcp(...)
    Ip(...)
    // other protocols
    ...
    // ping on an interval
    Monitor(...)
}

Make sense?

BasToTheMax commented 2 years ago

Alright so let's say its a ping service that supports http and tcp

service Ping {
    Url(...)
    Tcp(...)
    Ip(...)
    // other protocols
    ...
    // ping on an interval
    Monitor(...)
}

Make sense?

Yeah. Exactly like that!

asim commented 2 years ago

Any comments on pricing? Free for one off checks, paid monitoring?

asim commented 2 years ago

https://github.com/micro/services/pull/372

No interval yet

asim commented 2 years ago

Dupe of https://github.com/micro/services/issues/285

asim commented 2 years ago

Actually. I'm going to add a separate minecraft service specifically for minecraft ping

asim commented 2 years ago

https://m3o.com/minecraft