Skip to content

Fixed Alpha/Classic Servers not showing up and added proper Server/Client filter - #26

Closed
SprainedSpark89 wants to merge 2 commits into
OrnitheMC:masterfrom
SprainedSpark89:master
Closed

SprainedSpark89 wants to merge 2 commits into
OrnitheMC:masterfrom
SprainedSpark89:master

Conversation

@SprainedSpark89

Copy link
Copy Markdown

I do not expect this to be to be merged, it's a slapped together "fix" paired with a mostly proper fix that increases loading times by a lot. This should be used more as a guide to help with implementing a proper fix/reminder that this is an issue that exists.

What an actual proper fix would be:

A truly proper fix would be fixing the inconsistencies in the version ids between these urls which are used:
https://ornithemc.net/mc-versions/version_manifest.json
https://ornithemc.net/mc-versions/gen2/version_manifest.json
Also add entries dedicated to specifying which versions are clients and which are servers, as alpha_server and classic_server aren't enough to be able to sort with as there's versions like 1.0.1 which are server only and are release, which do not fall into one of those categories.

What I did for the filtering:

The way I have it filter causes the minecraft version list loading times to skyrocket as it's checking the details url for every single entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant