ClassiCube / MCGalaxy

A Minecraft Classic / ClassiCube server software
GNU General Public License v3.0
172 stars 80 forks source link

Add a config option to allow/disallow the joining of certain Classic versions #641

Closed MisterSheeple closed 2 years ago

UnknownShadow200 commented 2 years ago

What's the use of intentionally preventing some versions from joining?

MisterSheeple commented 2 years ago

What's the use of intentionally preventing some versions from joining?

Some people like hosting servers specifically for one version of the game so they can have an experience strictly reminiscent of that particular version.

UnknownShadow200 commented 2 years ago

I don't think it should be MCGalaxy's job to restrict players based on their client - best done with a plugin (e.g. see this example for reference)

I made the ProtocolVersion field public, so you can use p.ProtocolVersion to determine the appropriate action to perform based on the client's version

MisterSheeple commented 2 years ago

I don't think it should be MCGalaxy's job to restrict players based on their client - best done with a plugin (e.g. see this example for reference)

I made the ProtocolVersion field public, so you can use p.ProtocolVersion to determine the appropriate action to perform based on the client's version

Ah alright then, thanks.