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

Solved How to add fly permission in a certain world?

Discussion in 'Plugin Help' started by WinterBuild7074, Jun 5, 2017.

  1. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    How can I add the essentials.fly.use permission in a certain world except turning on enable-multiworld-perms?
    Maybe I can do something like this?
    Code:
    Builder:
      alias: bdr
      isDefault: false
      inheritance: []
      permissions:
      - blablabla
      worlds:
         Plots:
            - essentials.fly.use
         ContestPlots:
            - essentials.fly.use
    
    That means they can only use the
    /fly command in Plots and ContestPlots world. And if they teleport to a world were /fly command is not allowed, fly mode will automatically be turned off.

    I'm not sure how to to this, maybe you can help me.
     
  2. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I did it differently: I got WorldProtector and banned the /fly command in the worlds where flying is banned for everyone. In the worlds where /fly is not banned, the player can use the command he/she has permissions.
     
    NickTehUnicorn likes this.
  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.