1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Fly mode

Discussion in 'Facepalm' started by NickTehUnicorn, Sep 16, 2017.

  1. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    I need a /fly command for my plugin, and I want to know if setAllowFlight(true) gives players the ability to fly in any gamemode. If not, how can I put players in fly mode (give them the ability to fly in survival)?
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Yes it gives the player you call it on it ability to fly like in creative, but in any gamemode.

    (fyi, setting it to false in Creative works too)

    No, that function has nothing to do with the server.properties setting.
     
  3. NickTehUnicorn

    NickTehUnicorn Zombie

    Messages:
    200
    GitHub:
    unickorn
    *needs a like button* Thanks!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.