BedrockPlayer.deviceModel

Gets the player's device model (name and identifier) as indicated by the client in the login packet.

class BedrockPlayer
final pure nothrow @property @trusted @nogc
string
deviceModel
()

Examples

player.kick("This server is reserved for oneplus users"); }

Meta