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!
@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.
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?
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.
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+?
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.
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