Posts: 326
Threads: 41
Joined: Oct 2014
Thanks: 22
Given 95 thank(s) in 66 post(s)
10-05-2014, 11:43 PM
(This post was last modified: 10-06-2014, 05:13 AM by Mathias.)
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!
Posts: 69
Threads: 4
Joined: Feb 2014
Thanks: 6
Given 7 thank(s) in 6 post(s)
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!
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
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.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
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.
Posts: 513
Threads: 10
Joined: May 2014
Thanks: 138
Given 89 thank(s) in 75 post(s)
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?
Posts: 69
Threads: 4
Joined: Feb 2014
Thanks: 6
Given 7 thank(s) in 6 post(s)
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
Posts: 513
Threads: 10
Joined: May 2014
Thanks: 138
Given 89 thank(s) in 75 post(s)
Already started an plugin. Will write an java plugin, with that I create a list of invalid item ids.