VersionRestrict

Discussion in 'Plugin Requests' started by Darko337, Dec 5, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Darko337

    Plugin category: Miscellaneous

    Suggested name: VersionRestrict

    What I want: A plugin that allows server owners restrict what versions of minecraft clients can log into
    their servers. Say if you only wanted "1.8" clients to log in, and not any other versions then this is what you
    would use to make that happen.

    I'm needing this for my server, since I have custom models in a resource pack that only support 1.8-1.8.2. I want to make sure everyone uses the right version so that it doesn't break the models.

    Ideas for commands: /versionrestrict - /versionrestrict change version

    Ideas for permissions: versionrestrict.edit

    When I'd like it by: As soon as possible.

    If anyone can help me, or make this then I will really appreciate it! Thanks!
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Darko337 Not sure if we can even see this.
     
  3. Offline

    Tecno_Wizard

    @timtower, I've been through the CraftPlayer class quite a bit recently and I have to agree. I don't believe that any of that data is held.

    However, @Darko337, bukkit already does this. The only way servers allow clients on a different major version is through a protocol mod.
     
  4. Offline

    Darko337

    I still believe that this could be done with a plugin. It could detect a client version when joining and decide whether to decline or disconnect them. Is it ok if I post a link to an example?
     
  5. Offline

    timtower Administrator Administrator Moderator

  6. Offline

    Darko337

  7. Offline

    timtower Administrator Administrator Moderator

    @Darko337 The question is: does it still work?
     
  8. Offline

    mcdorli

  9. Offline

    Darko337

    I don't use a proxy hack. I've been digging a bit more and I've found I can't block specific 1.8
    versions due to the protocol number they use. I've also found out that this can only be done in
    spigot as far as I know. But even then I can't block players using clients past 1.8.2 from logging
    in. I saw something about protocollib being able to do it but I've found no evidence of this.
     
  10. Offline

    mcdorli

    Yes, you can't do it with bukkit, because there is no bukkit 1.8. But seriously, what's the problem with the resourcepack in 1.8.3+?
     
  11. Offline

    Darko337

    I've been trying to create a weapons resource pack for one of my servers but I use Crackshot with it to make the
    guns work. Everytime you fire, the weapon bobs just like if you were to right click on the ground with an item.
    So I've been using a code to increase the size of the guns, and therefore reducing the bobbing. Unfortunately, versions 1.8.2 and past that have a limit on how big 3d models can be so I can't do this in those versions. That's why I wanted to restrict it so that players wouldn't have broken models all of the time.
     
  12. Offline

    Scimiguy

    So what was the conclusion we came to? Did that other thread's method not work now or someting?
     
  13. Offline

    Darko337

    The other thread helped me find a protocol blocking plugin which can block clients from logging in if their client is the wrong version. Unfortunately since all of the versions of 1.8, 1.8.2, 1.8.8 ect are on the same protocol number it means I can't block them. So I'm going to add a warning when players join, to switch to 1.8-1.8.1 if they want working models. So the other thread helped and I'm all sorted now. I appreciate the help everyone :D
     
  14. Offline

    Scimiguy

    @Darko337
    If you're sorted, edit the title of this thread and mark as solved
     
Thread Status:
Not open for further replies.

Share This Page