Simple version limit
#2
I'll do this. Give me a minute Smile

Here you go, My first version.: See Edit

In the Config.ini you can set what protocols are allowed. By default only 1.7 is allowed. In the config this is '4'. You can find the protocol versions when you start Cuberite.
Code:
[16:05:36] Compatible clients: 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x
[16:05:36] Compatible protocol versions 47, 107, 108, 109, 110, 210, 315, 316, 335, 338, 340

Now gonna do the custom message.

Xoft there is a cRoot:GetProtocolVersionTextFromInt function, but is there a function that does the opposite?

Done: See Edit

EDIT:
Download here: 
.zip   ProtLimit.zip (Size: 1.16 KB / Downloads: 214)
Reply
Thanks given by: Antonio


Messages In This Thread
Simple version limit - by Antonio - 01-27-2014, 12:49 AM
RE: Simple version limit - by NiLSPACE - 01-27-2014, 01:05 AM
RE: Simple version limit - by Antonio - 01-27-2014, 01:43 AM
RE: Simple version limit - by NiLSPACE - 01-27-2014, 01:46 AM
RE: Simple version limit - by xoft - 01-27-2014, 01:54 AM
RE: Simple version limit - by NiLSPACE - 01-27-2014, 02:01 AM
RE: Simple version limit - by seanhi2 - 02-01-2014, 08:36 AM
RE: Simple version limit - by tigerw - 02-01-2014, 08:40 AM
RE: Simple version limit - by Antonio - 02-01-2014, 10:21 PM
RE: Simple version limit - by tigerw - 02-03-2014, 12:48 AM
RE: Simple version limit - by NiLSPACE - 02-03-2014, 12:49 AM



Users browsing this thread: 1 Guest(s)