preventing people from doing anything except flying

Discussion in 'Plugin Development' started by XbannisherX, Jun 10, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    XbannisherX

    im creating a safe mode flying, so that when somebody does the fly command he can not break stuff but he can activate stuff like levers and such
    anybody know how to?
     
  2. so creative flying and survival inv?
     
  3. Offline

    Suprem20

    Hmm, create a set of "tourists", put the flying players in the set, listen to block break events. If the player is a tourist, cancel the event. Also, set the flying to true if they are tourists.

    Api docs reference.
     
Thread Status:
Not open for further replies.

Share This Page