Skip to content
MaxDikiy edited this page Oct 22, 2017 · 3 revisions

This action is used when the player needs to turn off or turn on the flight.

FLY <[allow] [fly]> [player]

Element Possible Values Description
allow true/false Allow or forbid the player to activate the flight mode by double-clicking the jump key
fly true/false Set player flight mode
player The name of the player to which this action will be applied

In this action, one of the allow or fly parameters must be specified.

Examples

  1. Forbid the flight in the spawn region.
REGION:
  rf:
    region: spawn
    flags:
    - STATE=FLY
    actions:
    - FLY=fly:false
    - MESSAGE=&cFlight is forbidden!
Clone this wiki locally