dscalzi / HeliosLauncher

☀ Custom launcher for modded minecraft written in Electron and Node.js
MIT License
838 stars 1.73k forks source link

fix: Mojang's Status is broken #197

Closed GeekCornerGH closed 1 year ago

GeekCornerGH commented 2 years ago

Hello @dscalzi, I made this Pull Request to fix Mojang services. Acording to this tweet, they removed the status server. I wrote a fix to this, so status still acurate.

How does it works:

I used Upptime to make a status page (all I needed was to check status code by sending get request to services). When launcher checks Mojang statuses, it will check ids that I added in mojang.js. You can get theses ids from there. It will check the uptime.json file, and that's all.

Ah yeah also there is a web ui avaliable

Have a good day

dscalzi commented 2 years ago

Needs to be refactored into https://github.com/dscalzi/helios-core/blob/master/lib/mojang/rest/MojangRestAPI.ts#L78 I also either need write access to https://github.com/GeekCornerGH/helios-status-page or we move it to an org. Up to you

GeekCornerGH commented 2 years ago

We can move to an org sure @dscalzi

SirOMGitsYOU commented 2 years ago

Has there been any movement on refactoring the above resolution into Helios-Core as currently still showing broken as everything showing offline.

GeekCornerGH commented 2 years ago

@dscalzi bump x)

GeekCornerGH commented 1 year ago

Closed since it have been fixed in 190bb4cf8523d2b27f26316a15716d3ecbcb47da

toster234 commented 1 year ago

@GeekCornerGH maybe an update would be useful. Since November 2022 there is downtage.