Plugin Help Pex Help

Discussion in 'Plugin Help/Development/Requests' started by JamesGamez, Feb 4, 2018.

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

    JamesGamez

    So this is my YAML code
    Code:
    groups:
      non:
        options:
          default: true
          prefix: '&7[New]&f    '
        permissions:
        - modifyworld.*
        - essentials.msg
        - essentials.helpop
        - essentials.sethome
        - essentials.ignore
        - essentials.tpa
        - essentials.warp
      god:
          prefix:
        permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.warp
        - essentials.tpa
      godplus:
          prefix: '&c[&eGod&4&l+&c]&e    '
       permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.tpa
        - essentials.warp
      youtube:
          prefix: '&0[&cYou&fTube&0]&c    '
        permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.tpa
        - essentials.warp
      helper:
          prefix: '&d&l[&dHelper&d&l]&b    '
        permissions:
        - essentials.firework
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.kick
        - essentials.tpa
        - essentials.worlds.<worldname>
        - essentials.warp
        - essentials.ban.notify
        - essentials.mute.notify
        - essentials.mute.offline
      moderator:
          prefix: '&2&l[&2Moderator&2&l]&c    '
        permissions:
        - essentials.firework
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.kick
        - essentials.ban
        - essentials.ban.notify
        - essentials.ban.offline
        - essentials.banip
        - essentials.invsee
        - essentials.invsee.modify
        - essentials.lightning
        - essentials.lightning.others
        - essentials.mute
        - essentials.mute.notify
        - essentials.tempban
        - essentials.tempban.offline
        - essentials.tp
      admin:
           prefix: '&c&l[&2&lAdmin&c&l]&3    '   
        permissions:
        - minecraft.command.op
      owner:
          prefix: '&2&l[&4&lOwner&2&l]&c    '
        permissions:
        - minecraft.command.op
    schema-version: 1
    users:
      JamesGamez:
        group:
        - owner
    

    for some reason I keep getting errors on http://yaml-online-parser.appspot.com/ can someone please help?
     
    Last edited by a moderator: Feb 4, 2018
  2. Online

    timtower Ninja on the waves Moderator

    @JamesGamez You are missing the "options" for everything besides "non"
     
  3. Offline

    JamesGamez

    Code:
    groups:
      non:
        options:
          default: true
          prefix: '&7[New]&f    '
        permissions:
        - modifyworld.*
        - essentials.msg
        - essentials.helpop
        - essentials.sethome
        - essentials.ignore
        - essentials.tpa
        - essentials.warp
      god:
        options:    
          prefix: '&c[&eGod&c]&e
        permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.warp
        - essentials.tpa
      godplus:
        options:    
          prefix: '&c[&eGod&4&l+&c]&e    '
       permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.tpa
        - essentials.warp
      youtube:
        options:    
          prefix: '&0[&cYou&fTube&0]&c    '
        permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.tpa
        - essentials.warp
      helper:
        options:    
          prefix: '&d&l[&dHelper&d&l]&b    '
        permissions:
        - essentials.firework
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.kick
        - essentials.tpa
        - essentials.worlds.<worldname>
        - essentials.warp
        - essentials.ban.notify
        - essentials.mute.notify
        - essentials.mute.offline
      moderator:
        options:    
          prefix: '&2&l[&2Moderator&2&l]&c    '
        permissions:
        - essentials.firework
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.kick
        - essentials.ban
        - essentials.ban.notify
        - essentials.ban.offline
        - essentials.banip
        - essentials.invsee
        - essentials.invsee.modify
        - essentials.lightning
        - essentials.lightning.others
        - essentials.mute
        - essentials.mute.notify
        - essentials.tempban
        - essentials.tempban.offline
        - essentials.tp
      admin:
        options:  
           prefix: '&c&l[&2&lAdmin&c&l]&3    '  
        permissions:
        - minecraft.command.op
      owner:
        options:
          prefix: '&2&l[&4&lOwner&2&l]&c    '
        permissions:
        - minecraft.command.op
    schema-version: 1
    users:
      JamesGamez:
        group:
        - owner

    still doesn't work is there anything I did wrong?
     
    Last edited by a moderator: Feb 4, 2018
  4. Online

    timtower Ninja on the waves Moderator

  5. Offline

    JamesGamez

    Last edited by a moderator: Feb 4, 2018
  6. Offline

    xbpuk

    Hi there!


    I've gone ahead and fixed your configuration file for you and it appears you missed out 2 quotation marks (' ') on the God and also an indentation problem on line 27. It's best to check this with an online YAML validator before making a thread. (https://codebeautify.org/yaml-validator)

    Code:
    groups:
      non:
        options:
          default: true
          prefix: '&7[New]&f    '
        permissions:
        - modifyworld.*
        - essentials.msg
        - essentials.helpop
        - essentials.sethome
        - essentials.ignore
        - essentials.tpa
        - essentials.warp
      god:
        options:  
          prefix: '&c[&eGod&c]&e'
        permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.warp
        - essentials.tpa
      godplus:
        options:  
          prefix: '&c[&eGod&4&l+&c]&e    '
        permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.tpa
        - essentials.warp
      youtube:
        options:  
          prefix: '&0[&cYou&fTube&0]&c    '
        permissions:
        - essentials.firework
        - essentials.helpop
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.tpa
        - essentials.warp
      helper:
        options:  
          prefix: '&d&l[&dHelper&d&l]&b    '
        permissions:
        - essentials.firework
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.kick
        - essentials.tpa
        - essentials.worlds.<worldname>
        - essentials.warp
        - essentials.ban.notify
        - essentials.mute.notify
        - essentials.mute.offline
      moderator:
        options:  
          prefix: '&2&l[&2Moderator&2&l]&c    '
        permissions:
        - essentials.firework
        - essentials.ignore
        - essentials.list
        - essentials.nick
        - essentials.nick.format
        - essentials.nick.others
        - essentials.kick
        - essentials.ban
        - essentials.ban.notify
        - essentials.ban.offline
        - essentials.banip
        - essentials.invsee
        - essentials.invsee.modify
        - essentials.lightning
        - essentials.lightning.others
        - essentials.mute
        - essentials.mute.notify
        - essentials.tempban
        - essentials.tempban.offline
        - essentials.tp
      admin:
        options:
           prefix: '&c&l[&2&lAdmin&c&l]&3    '
        permissions:
        - minecraft.command.op
      owner:
        options:
          prefix: '&2&l[&4&lOwner&2&l]&c    '
        permissions:
        - minecraft.command.op
    schema-version: 1
    users:
      JamesGamez:
        group:
        - owner
    
     
Thread Status:
Not open for further replies.

Share This Page