Cuberite Forum
Server crush - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Server crush (/thread-2228.html)



Server crush - DrMasik - 12-01-2015

When the name of the player like "www.mamont///1234" the server disconnects all players and crash after 5 attempts.


RE: Server crush - NiLSPACE - 12-01-2015

I don't think names like that are possible with non-cracked clients. Perhaps we should add such a check for cracked servers.


RE: Server crush - Seadragon91 - 12-01-2015

Username can be max 16 characters long and only this are allowed
Code:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_



RE: Server crush - Mathias - 12-01-2015

(12-01-2015, 01:16 AM)Seadragon91 Wrote: Username can be max 16 characters long and only this are allowed
Code:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
Any character can be used in a username on a Cuberite server, as long as the username is under 17 characters.

The character limit issue is reported here: https://github.com/cuberite/cuberite/issues/2545


RE: Server crush - Seadragon91 - 12-01-2015

Yes, sorry the limit is for vanilla server in online mode.

The question is, if that should be fixed. If yes then we could use HOOK_HANDSHAKE to check the username. This could be done in Plugin Core, I am not sure if this will work. Have no cracked client to test that.


RE: Server crush - DrMasik - 12-01-2015

(12-01-2015, 02:05 AM)Seadragon91 Wrote: Yes, sorry the limit is for vanilla server in online mode.

The question is, if that should be fixed. If yes then we could use HOOK_HANDSHAKE to check the username. This could be done in Plugin Core, I am not sure if this will work. Have no cracked client to test that.

It is does not working. Server kick player and crush.