groupmanager gives me error.

Discussion in 'Spigot Plugin Help' started by PikachuMinecraft, Jul 12, 2018.

  1. i just wrote this text in groupmanager groups.yml, and when i tryed it, it went strait to the broken groups.yml file, and my server got a error. even after it went to the broken groups.yml file (which i didnt move it to).
    what are the errors?
    YML:
    Code (YAML):
    groups:
      LeadAdmin
    :
        default
    : false
        permissions
    :
       - '*'
      Admin
    :
        default
    : false
        permissions
    :
       - '*'
      Moderatior
    :
        default
    : false
        permissions
    :
       - essentials.help
        - essentials.kill
        - essentials.fly
        - essentials.ban
        - essentials.unban
        - essentials.kick
        - heavyspleef.player.sign.*
        - heavyspleef.admin.sign.*
        - heavyspleef.player.*
        - heavyspleef.vip
        - cyom.commands.menu
        - cyom.commands.menu.script
        - essentials.afk
        - essentials.helpop
        - essentials.warp
        - essentials.sethome
        - essentials.home
        - essentials.setwarp
        - essentials.gamemode
        - essentials.gamemode.survival
        - essentials.gamemode.adventure
        - essentials.gamemode.spectator
        - essentials.gamemode.creative
        - essentials.godmode
        inheritance
    :
        info
    :
          prefix
    : '&2[Moderator] &a|| &2&l'
          build
    : true
          suffix
    : ''
     
      VIP
    :
        default
    : true
        permissions
    :
       - essentials.help
        - heavyspleef.player.sign.*
        - heavyspleef.player.*
        - cyom.commands.menu
        - essentials.afk
        - essentials.helpop
        - essentials.warp
        - essentials.sethome
        - essentials.home
        - essentials.fly
        - heavyspleef.vip
        - essentials.nick
        - essentials.setwarp
        - essentials.gamemode
        - essentials.gamemode.survival
        - essentials.gamemode.adventure
        - essentials.gamemode.spectator
        - essentials.godmode
        info
    :
          prefix
    : '&6[VIP] &a|| &6&l'
          build
    : true
          suffix
    : ''
     
      NewComer
    :
        default
    : true
        permissions
    :
       - essentials.help
        - heavyspleef.player.sign.*
        - heavyspleef.player.*
        - cyom.commands.menu
        - essentials.afk
        - essentials.helpop
        - essentials.warp
        - essentials.sethome
        - essentials.home
        info
    :
          prefix
    : '&a[NewComer] &a|| &a&l'
          build
    : true
          suffix
    : ''
     
  2. I see a lot of formatting mistakes. I went ahead and fixed the formatting mistakes.
    I also used the formatting of PermissionsEx groupmanager.
    To find all the mistakes I used this site: http://yaml-online-parser.appspot.com/

    To find all your errors you can just compare your yaml vs my yaml

    Code (YAML):

    groups
    :
      LeadAdmin
    :
        options
    :
          default
    : false
        permissions
    :
        - '*'
      Admin
    :
        options
    :
          default
    : false
        permissions
    :
        - '*'
      Moderatior
    :
        options
    :
          default
    : false
          prefix
    : '&2[Moderator] &a|| &2&l'
          build
    : true
          suffix
    : ''
        permissions
    :
        - essentials.help
        - essentials.kill
        - essentials.fly
        - essentials.ban
        - essentials.unban
        - essentials.kick
        - heavyspleef.player.sign.*
        - heavyspleef.admin.sign.*
        - heavyspleef.player.*
        - heavyspleef.vip
        - cyom.commands.menu
        - cyom.commands.menu.script
        - essentials.afk
        - essentials.helpop
        - essentials.warp
        - essentials.sethome
        - essentials.home
        - essentials.setwarp
        - essentials.gamemode
        - essentials.gamemode.survival
        - essentials.gamemode.adventure
        - essentials.gamemode.spectator
        - essentials.gamemode.creative
        - essentials.godmode
      VIP
    :
        options
    :
          prefix
    : '&6[VIP] &a|| &6&l'
          build
    : true
          suffix
    : ''
          default
    : true
        permissions
    :
        - essentials.help
        - heavyspleef.player.sign.*
        - heavyspleef.player.*
        - cyom.commands.menu
        - essentials.afk
        - essentials.helpop
        - essentials.warp
        - essentials.sethome
        - essentials.home
        - essentials.fly
        - heavyspleef.vip
        - essentials.nick
        - essentials.setwarp
        - essentials.gamemode
        - essentials.gamemode.survival
        - essentials.gamemode.adventure
        - essentials.gamemode.spectator
        - essentials.godmode
      NewComer
    :
        options
    :
          default
    : true
          prefix
    : '&a[NewComer] &a|| &a&l'
          build
    : true
          suffix
    : ''
        permissions
    :
        - essentials.help
        - heavyspleef.player.sign.*
        - heavyspleef.player.*
        - cyom.commands.menu
        - essentials.afk
        - essentials.helpop
        - essentials.warp
        - essentials.sethome
        - essentials.home
     
    If you copy and paste just make sure the formatting is still correct.
    Spigot code tags might mess some things up. and so can copy/pasting.
     
    #2 RamonRobben, Jul 12, 2018
    Last edited: Jul 12, 2018
    • Like Like x 1

  3. Thank you. it works, but... what do you mean by "permissionsex groupmanager"? those are 2 seperate plugins
     
    #3 PikachuMinecraft, Jul 12, 2018
    Last edited: Jul 12, 2018
  4. I advise you to use PEX, GroupManager gave me a lot of headaches.There is also another one that I do not have a complaint is called LuckyPerms
     
  5. It is the type of the plugin a groupmanager plugin.
    I suggest you use PermissionsEx or LuckyPerms

    If my answer solved your question give it a like and mark this thread as solved. Thanks.
     

Share This Page