enableFlight

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

Enable flight for a player.

Parameters

player

the player whose flight to change

silent

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

executor

the person who ran the command or null if the player changed their own flight

sendMessage

true if message should be sent, false if otherwise.