Cuberite Forum
Retrieve player's OS on "OnLogin" - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Retrieve player's OS on "OnLogin" (/thread-2249.html)



Retrieve player's OS on "OnLogin" - PureTryOut - 12-11-2015

Is there anyway to retrieve the OS the player is using on the hook "OnLogin"?
I'm trying to create a plugin for a server with only Linux users, and I would like to keep Windows users (and OSX for that matter) out this way.


RE: Retrieve player's OS on "OnLogin" - NiLSPACE - 12-11-2015

No, this isn't possible. We don't receive any information about the OS from the users.


RE: Retrieve player's OS on "OnLogin" - PureTryOut - 12-12-2015

A shame, I guess the client would have to be changed for that right? Never mind then, thanks for your answer!