Question PEX permissions.yml issues.

Discussion in 'Bukkit Help' started by Yriogen, Oct 17, 2018.

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

    Yriogen

    So whenever I launch my server, I get this as an error command and it causes me to not be able to use any of the pex ranks or promote myself.
    Code:
    17.10 08:01:05 [Server] WARN Server permissions file permissions.yml is not valid YAML: while parsing a block mapping
    Could someone look at my code and tell me what's wrong? Here's my permissions.yml file..


    Code:
    groups:
        Player:
          default: true
          permissions:
          - modifyworld.*
          - essentials.spawn
          - essentials.sethome
          - essentials.home
          - essentials.back
          - essentials.tpa
          - essentials.tpaccept
          - essentials.tpdeny
          - essentials.balance
          - essentials.balancetop
          - essentials.afk
          - essentials.afk.auto
          - essentials.pay
          - essentials.help
          - essentials.mail
          - essentials.mail.send
          - essentials.msg
          - essentials.warps.A
          - essentials.warp
          - esentials.warps.list
          - essentials.signs.use.buy
          - essentials.signs.use.sell
          - essentials.list
          - essentials.helpop
          - essentials.chat.shout
          - ultimate_economy.playershop
          - ultimate_economy.jobcenter
          - ultimate_economy.pay
          - ultimate_economy.info
          - ultimate_economy.fastshop
          prefix: '&2[&2Player&2]&2'
          options:
              rank: '600'
    
    
        Moderator:
          defualt: false
          prefix: '&6[Moderator]&r'
          permissions:
          - essentials.kick
          - essentials.socialspy
          - essentials.ban
          - essentials.jails
          - essentials.tempban
          - essentials.signs.use.buy
          - essentials.signs.use.sell
          - essentials.helpop
          - essentials.kick
          - essentials.tempban
          - essentials.tp
          - ultimate_economy.adminpay
          - ultimate_economy.adminshop
          #Recommended: Keep it so that mods can not un-ban, leave that to admins
          inheritance:
          - Player
          options:
              rank: '500'
    
    
        Admin:
          default: false
          prefix: '&6[Admin]&d'
          permissions:
          - modifyworld.*
          - essentials.spawn
          - essentials.sethome
          - essentials.home
          - essentials.tpa
          - essentials.tpaccept
          - essentials.tpdeny
          - essentials.balance
          - essentials.balancetop
          - essentials.afk
          - essentials.afk.auto
          - essentials.pay
          - essentials.help
          - essentials.mail
          - essentials.mail.send
          - essentials.msg
          - essentials.warps.Shop
          - essentials.warp
          - esentials.warps.list
          - essentials.signs.use.buy
          - essentials.signs.use.sell
          - essentials.list
          - essentials.helpop
          - essentials.mute
          - essentials.kick
          - essentials.tempban
          - essentials.ban
          - essentials.pardon
          - essentials.tp
          - essentials.god
          - essentials.fly
          - essentials.tphere
          - essentials.workbench
          - essentials.repair
          - essentials.heal
          - essentials.gamemode
          - essentials.nick
          - essentials.nick.color
          - essentials.nick.format
          - essentials.nick.magic
          - essentials.nick.others
          - essentials.msg.color
          - essentials.msg.format
          - essentials.msg.magic
          - essentials.msg.url
          - essentials.realname
          - essentials.whois
          - essentials.seen
          - essentials.recipe
          - essentials.back
          - essentials.clearinventory
          - essentials.banip
          - essentials.chat.color
          - essentials.chat.format
          - essentials.chat.magic
          - essentials.chat.question
          - essentials.chat.shout
          - essentials.chat.url
          - worldedit.*
          - cryweather.*
          - srpex.setrank.*
          inheritance:
          - Moderator
          options:
              rank: '100'
    
    
        Owner:
          default: false
          prefix: '&0[Owner]&9'
          permissions:
          - '*'
          inheritance:
          - Admin
          options:
              rank:'50'
    users:
      Yriogen:
        group:
          -Owner
    
     
  2. Online

    timtower Administrator Administrator Moderator

    @Yriogen Please post your full server log using https://pastebin.com
    Please post your permissions.yml using https://pastebin.com
    Log to see what is wrong, permissions.yml so that we have good line numbers.

    I blame indentation, all the groups (and what is in them) need to go to the left by 2 spaces
     
  3. Offline

    Yriogen

  4. Online

    timtower Administrator Administrator Moderator

    @Yriogen Your PEX is fine, but you have a permissions.yml sitting next to the server file, that one is broken.
     
  5. Offline

    Yriogen

    @timtower So remove all info from the permissions.yml by my server file and it'll be solved?
     
  6. Online

    timtower Administrator Administrator Moderator

    @Yriogen Make a backup of the file first just in case.
    But yes, that should solve it.
     
  7. Offline

    Yriogen

    @timtower https://pastebin.com/S2RkGQfj

    I removed all from the permissions file next to my server file and i still lack permissions to promote people, despite having given myself the roll as well as op. What else can I do?
     
  8. Online

    timtower Administrator Administrator Moderator

    @Yriogen OP doesn't work for PEX.
    Give yourself the correct permissions using the console. Then you should be able to perform the commands.
     
Thread Status:
Not open for further replies.

Share This Page