Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
Jenya705 edited this page Oct 9, 2021 · 8 revisions

Player object represents online player, inherits from offline player and command sender

Fields

Field name Field description
uuid Player unique id
type Player type
location Player location
name Player name

Methods

Method name Method description
sendMessage(message) Sends message to a player
kick(reason) Kicks a player
ban(reason) Bans a player
hasPermission(name) Checks if player has permission

Concepts

Player id

Player id is name or uuid of a player. UUID can be types without dashes

Player selector

  • @a - all online players selector
  • @r - random player selector
  • @l - all online players which are linked with bot requesting selector
  • default - equals to player id

Clone this wiki locally