setFlySpeed

abstract fun setFlySpeed(    player: Player,     speed: Int,     silent: Boolean,     executor: CommandSender? = null,     sendMessage: Boolean = true)

Set the flyspeed for a player.

Parameters

player

the player whose speed to change

speed

the new speed of the player between 1 and 10. 1 being the lowest, 10 being the highest.

silent

if a target player exists, they will recieve a message if this is true

executor

the sender of the command if there is a target or null if no target

sendMessage

true if messages should be sent