Prevent 1.8 clients from joining? - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: Prevent 1.8 clients from joining? (/thread-1612.html) |
Prevent 1.8 clients from joining? - Mathias - 10-05-2014 Hi! Is there currently any way to prevent 1.8 clients from joining my server? They can place new blocks from 1.8 and make 1.7 clients crash when looking at the blocks. Thanks! RE: Prevent 1.8 clients to join? - Howaner - 10-05-2014 The 1.7 client displays a air block if the server sends a unknown block (like 1.8 blocks) The client crashes if it receive unknown items. We have to fix this in the server, not in a plugin! RE: Prevent 1.8 clients to join? - xoft - 10-06-2014 I don't think it'd be a good idea to make any sort of block or item filtering in the server. I believe there was a plugin that can refuse access to clients of specific versions. Not sure where, though. RE: Prevent 1.8 clients to join? - Howaner - 10-06-2014 (10-06-2014, 01:24 AM)xoft Wrote: I don't think it'd be a good idea to make any sort of block or item filtering in the server. The client crash if you have a 1.8 item in your inventory. This is unacceptable! RE: Prevent 1.8 clients to join? - xoft - 10-06-2014 The client won't even connect to a vanilla server running a different version, we're better, we can allow clients of various versions to coexist. This has already been there and has always been an issue. Deal with it. RE: Prevent 1.8 clients to join? - Seadragon91 - 10-06-2014 How does the player places invalid items? Are they already in the source of mc server? If yes, is it possible to write a lua plugin that would deny items from 1.8? RE: Prevent 1.8 clients to join? - Howaner - 10-06-2014 What is so bad if we send an empty item instead a new 1.8 item to the 1.7 client? I know, this will cause invalid item errors. but it is better than a client crash. I hope you understand my argument RE: Prevent 1.8 clients to join? - xoft - 10-06-2014 @Howaner the bad thing about that is that you're hardcoding some kind of a limit into the server. As it is now, the server is nicely moddable because it doesn't care about the block and item types, it handles them transparently. I believe the proper way to go is to make a plugin that kicks players with unwanted client versions. It is also possible to make a plugin that would limit the items the client can interact with - it would kill all pickups and inventory contents that are 1.8-specific. RE: Prevent 1.8 clients to join? - Seadragon91 - 10-06-2014 Already started an plugin. Will write an java plugin, with that I create a list of invalid item ids. RE: Prevent 1.8 clients to join? - NiLSPACE - 10-06-2014 https://forum.cuberite.org/showthread.php?tid=1333&pid=11875#pid11875 ? |