Prevent 1.8 clients from joining?
#1
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!
Reply
Thanks given by:
#2
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!
Reply
Thanks given by:
#3
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.
Reply
Thanks given by:
#4
(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.

I believe there was a plugin that can refuse access to clients of specific versions. Not sure where, though.

The client crash if you have a 1.8 item in your inventory.
This is unacceptable!
Reply
Thanks given by:
#5
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.
Reply
Thanks given by:
#6
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?
Reply
Thanks given by:
#7
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
Reply
Thanks given by:
#8
@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.
Reply
Thanks given by:
#9
Already started an plugin. Will write an java plugin, with that I create a list of invalid item ids.
Reply
Thanks given by:
#10
https://forum.cuberite.org/showthread.ph...5#pid11875 ?
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)