Jump to content
View in the app

A better way to browse. Learn more.

ClassiCube Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do I only allow 1 protocol version on MCGalaxy

Featured Replies

you don't, in other words tell your server list that  the server is for that protocol version.

Owner and founder of Good old Lava Survival, MCGalaxy plugin developer, Master of evil hacks not supported by UnknownShadow.

12 hours ago, Goodly said:

Unless 20-23a implements unique network behavior compared to other versions, this is impossible

????? MCGalaxy since 1.9.3.5 supports protocol versions 3-7

Owner and founder of Good old Lava Survival, MCGalaxy plugin developer, Master of evil hacks not supported by UnknownShadow.

13 hours ago, icanttellyou said:

????? MCGalaxy since 1.9.3.5 supports protocol versions 3-7

You're right, I forgot that the client actually sends different protocol versions. I was thinking about how classic versions didn't send an AppName, but that's not needed to tell the difference in this case.

So basically it is possible, with a simple plugin. You can copy the KickNoCC plugin and modify it so that instead of checking p.appName, it can check if (p.ProtocolVersion != Server.VERSION_0020) then p.Leave and set p.cancellogin to true

  • Author
5 hours ago, Goodly said:

You're right, I forgot that the client actually sends different protocol versions. I was thinking about how classic versions didn't send an AppName, but that's not needed to tell the difference in this case.

So basically it is possible, with a simple plugin. You can copy the KickNoCC plugin and modify it so that instead of checking p.appName, it can check if (p.ProtocolVersion != VERSION_0020) then p.Leave and set p.cancellogin to true

so what is each protocol number then?

  • Author
22 hours ago, Goodly said:

Check here for a description of all of them. Also, I forgot that you have to include Server. before the VERSION_0020 in my hypothetical plugin. like


if (p.ProtocolVersion != Server.VERSION_0020)

 

Thanks might update my servers like Generic since it seems less resource intensive

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.