Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Command accessible for everyone

Comments in 'Plugin Development' started by MyNameIsTriXz, Dec 7, 2015.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    What was the word I should add in plugin.yml to get a command public accessible? I only know op yet...
  2. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    Code:
    default: true # Everyone can use it
    default: false # Nobody can use it
    default: op # Only OP can use it
    default: notop # Everyone can use it except OP
    
    And though you put
    Code:
    default: false # Nobody can use it
    
    players that has that command's permission like
    Code:
    permission: some.permission.node
    
    Will be able to run command and Opposite if not or player has been taken away that permission.
  3. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Thanks
  4. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    Never knew there was notop 0.o xD
    PocketKiller and Vaivez66 like this.

Share This Page

Advertisement