Broken config file text? #260


  • Defect
  • Replied
Open
Assigned to spacemaniac
  • _ForgeUser8357350 created this issue May 26, 2013

    What steps will reproduce the problem?
    1.Copying this (see pastebin) into an empty config file (plugins -> PermissionsBukkit -> config.yml)
    2.loading the server
    3.Trying to move anyone from any group to another.

    What is the expected output? What do you see instead?
    I expect to log in with my character Magicandle as an Admin, but instead get put to the "default group" (which doesn't have any of the permissions of my default listed group)

    instead the entire config file gets wiped and I'm left with just the users part of the config telling me Magicandle character is in the Admin (or whatever group I moved it to) group.

    What version of the product are you using?
    The latest.

    Do you have an error log of what happened?
    No log is produced (To my knowledge)

    Please provide any additional information below.
    Here is a pastebin of my config file (from back up)
    http://pastebin.com/VZM5ayGe

    Thank you.

  • _ForgeUser8357350 added the tags New Defect May 26, 2013
  • SpaceManiac posted a comment May 26, 2013

    Hey there. Try changing "Users" to "users" (lowercase) and let me know if that prevents config wiping. I'll investigate a way to prevent case errors from causing weird config wipes. Secondly, there is no "default: true" specifier in PermissionsBukkit - just name the group "default". This shouldn't affect any other plugins such as chat managers.

  • SpaceManiac removed a tag New May 26, 2013
  • SpaceManiac added a tag Waiting May 26, 2013
  • _ForgeUser8357350 posted a comment May 27, 2013

    @SpaceManiac: Go

    http://pastebin.com/uvWxhXZ3

    Updated pastebin: still not working.

    Thank you for your reply, sorry to be a nuisance.

  • _ForgeUser8357350 removed a tag Waiting May 27, 2013
  • _ForgeUser8357350 added a tag Replied May 27, 2013
  • SpaceManiac posted a comment May 27, 2013

    <<reply 1520155="">>

    • On line 116, you are missing a ':' after 'permissions'
    • For your user, it should be 'groups: ' newline, indented ' - Admin' instead of 'group:'
    • The 'info' blocks on the groups do nothing and are safe to remove.
  • _ForgeUser8357350 posted a comment May 28, 2013

    @SpaceManiac: Go

    Thank you. Fortunately my config doesn't wipe now - However the default group doesn't have any permissions. Is this because of the essentials.* node being set to false? I assumed having the other essentials permissions nodes set to true beneath it overwrites that false node.

    Is it a problem that opening the config file in Notepad+ + reduces all the indentations by half? 4 spaces become 2 spaces, 8 spaces become 4, etc.

    Thank you for your time.


    Edited May 28, 2013

To post a comment, please login or register a new account.