READ IT.

Discussion in 'Spigot Plugin Help' started by GameplayGP, Jul 9, 2018.

  1. When i made my own permissionex : (Permission.yml) When i did this.
    I finnaly finished.
    then i will give you what i did
    groups:
    member:
    default: true
    options:
    default: true
    prefix: '&e[Member]&f '
    permissions:
    - essentials.tpahere
    - essentials.warps.*
    - essentials.chat.color
    - essentials.chat.format
    - essentials.chat.url
    - essentials.signs.use.balance
    - essentials.signs.use.buy
    - essentials.signs.use.disposal
    - essentials.signs.use.enchant
    - essentials.signs.use.free
    - essentials.signs.use.gamemode
    - essentials.signs.use.heal
    - essentials.signs.use.info
    - essentials.signs.use.kit
    - essentials.signs.use.mail
    - essentials.signs.use.protection
    - essentials.signs.use.repair
    - essentials.signs.use.sell
    - essentials.signs.use.spawnmob
    - essentials.signs.use.time
    - essentials.signs.use.trade
    - essentials.signs.use.weather
    - essentials.build
    - essentials.tpdeny
    - essentials.tpaccept
    - essentials.tpa
    - essentials.spawn
    - essentials.msg.color
    - essentials.msg.format
    - essentials.msg.url
    - essentials.sell
    - essentials.pay.multiple
    - essentials.pay
    - essentials.balancetop
    - essentials.balance.others
    - essentials.balance
    - essentials.rules
    - essentials.recipe
    vip:
    options:
    prefix: '&4[VIP]&f '
    permissions:
    - essentials.fly
    - essentials.kick
    - essentials.seen
    - essentials.seen.extra
    - essentials.seen.banreason
    - essentials.nick
    - essentials.nick.color
    - essentials.nick.format
    - essentials.nick.magic
    extreme:
    options:
    prefix: '&6[Extreme]&6 '
    permissions:
    - essentials.gamemode
    - essentials.suicide
    mod:
    options:
    prefix: '&e[MOD]&e '
    permissions:
    - '*'
    mod:
    options:
    prefix: '&2[Owner]&2 '
    permissions:
    - '*'
    schema-version: 1
    Please Tell me if there is any plugin needed. I TRIED MY BEST :(
     
  2. Any one can help?
     
  3. Your question is very unclear. What is the problem?
     
  4. Strahan

    Benefactor

    Yea, I don't see a question in there. I do see two things I'd not do. Giving mod the global wildcard? Hell no. Mods don't need that kind of power. I'd also not use it for admins (or any rank). It's lazy and can cause issues with certain plugins; you are better off defining explicit permissions or at least using the wildcard at the plugin level (i.e. not * but essentials.* for example)
     
    • Agree Agree x 2
  5. I think you are looking for feedback to improve your permissions? And you probably are getting some problems.
    At first just make sure you don't use wildcard for anyone other than the Owners just like @Strahan explained.

    Now If I were you I would also make sure to Inherit the permissions from the previous ranks in the higher ones.
    Otherwise those ranks don't have anything except the permissions that they were given.
     
    #5 RamonRobben, Jul 9, 2018
    Last edited: Jul 9, 2018
    • Friendly Friendly x 1
  6. JanTuck

    Supporter

    I read this, what now?
     
  7. Optic_Fusion1

    Resource Staff

    You go back to doing what you were doing beore reading this since it just said to read it :)
     
  8. JanTuck

    Supporter

    I see, thank sir, ( totally not a reference to something else )
     
  9. Uhhhh. The Quistion is............................................ PermissionsEX ranks doesn't work. can anyone fix it?
     
  10. You need to use indentations.
    You also have to include or Inherit ranks from the previous rank so that the VIP rank also has Member permissions. So that you don't have to type all those permissions again. I've gone ahead and fix all the indentation mistakes you made. and also inherited all ranks.

    Also if you are working on config try using this http://yaml-online-parser.appspot.com/ to check if you are using indentation correctly.

    Code (Text):

    groups:
      member:
        options:
          default: true
          prefix: '&e[Member]&f '
        permissions:
        - essentials.tpahere
        - essentials.warps.*
        - essentials.chat.color
        - essentials.chat.format
        - essentials.chat.url
        - essentials.signs.use.balance
        - essentials.signs.use.buy
        - essentials.signs.use.disposal
        - essentials.signs.use.enchant
        - essentials.signs.use.free
        - essentials.signs.use.gamemode
        - essentials.signs.use.heal
        - essentials.signs.use.info
        - essentials.signs.use.kit
        - essentials.signs.use.mail
        - essentials.signs.use.protection
        - essentials.signs.use.repair
        - essentials.signs.use.sell
        - essentials.signs.use.spawnmob
        - essentials.signs.use.time
        - essentials.signs.use.trade
        - essentials.signs.use.weather
        - essentials.build
        - essentials.tpdeny
        - essentials.tpaccept
        - essentials.tpa
        - essentials.spawn
        - essentials.msg.color
        - essentials.msg.format
        - essentials.msg.url
        - essentials.sell
        - essentials.pay.multiple
        - essentials.pay
        - essentials.balancetop
        - essentials.balance.others
        - essentials.balance
        - essentials.rules
        - essentials.recipe
      vip:
        inheritance:
        - member
        options:
          prefix: '&4[VIP]&f '
        permissions:
        - essentials.fly
        - essentials.kick
        - essentials.seen
        - essentials.seen.extra
        - essentials.seen.banreason
        - essentials.nick
        - essentials.nick.color
        - essentials.nick.format
        - essentials.nick.magic
      extreme:
        inheritance:
        - vip
        options:
          prefix: '&6[Extreme]&6 '
        permissions:
        - essentials.gamemode
        - essentials.suicide
      mod:
        inheritance:
        - member
        options:
          prefix: '&e[MOD]&e '
        permissions:
        - '*'
      owner:
        options:
          prefix: '&2[Owner]&2 '
        permissions:
        - '*'
     
     
    • Like Like x 1