A pmmp plugin for Minecraft(W10,BE) [PHP]
This is an "API" plugin to get more easily user's Device
This is not really an API btw
How to Get the Os of a Player with SeeDevice
It's easy: $userOs =SeeDevice::getInstance()->getPlayerOs($player);
How to Get the Device of a Player with SeeDevice
A bit more difficult than before: $userDevice = SeeDevice::getInstance()->getPlayerDevice($player);
Be sure to have the class in your use statement and that Player is an instance of Player
Don't forget to check if the plugin is online
What happened in the last update?
(1.1.0) Now all Commands can be managed(2 commands). You can now See the Real Device of the player from /seedevice.
(1.0.0) Nothing particular (Lot of things), just a remake of the plugin, because you and me, changed and it was the time to fix bugs.
You can Now customize the format of the Score Tag to show or not the Os and what do you want.
You can now disable the FakeOs Command..
How to see user's (device, os): /seedevice [player]
How to Edit user's os: /fakeos
To have access to the two commands, the player has to get the permission "SeeDevice.command.*"