# PlayerCapabilities

Represents a player's capabilities.

Has the following properties:

  • disableDamage: Boolean
  • isFlying: Boolean
  • allowFlying: Boolean
  • isCreativeMode: Boolean
  • allowEdit: Boolean
  • flySpeed: Number
  • walkSpeed: Number

It has the following methods:

  • getFlySpeed() : Number
  • getWalkSpeed() : Number
  • setFlySpeed({speed: Number}) : void
  • setPlayerWalkSpeed({speed: Number}) : void
Last Updated: 9/10/2023, 9:56:35 AM