Offline player - Jenya705/mcapi GitHub Wiki
Offline player object represents offline player (can be online player because it is superclass of player)
Fields
Field name | Field description |
---|---|
name | Player name |
online | Is player online |
uuid | Player uuid |
Methods
Field name | Field description |
---|---|
ban(reason) | Bans a player |
Concepts
Offline player id
equals to online player id
Offline player selector
- @l - all offline and online players which are linked with bot requesting selector
- default - equals to offline player id
JSON Example
{
"name": "Jenya705",
"uuid": "ca78e928-484b-36ff-bc1e-ade3e86597df"
}