Problem with Permission

Discussion in 'Bukkit Help' started by SpeedKeks, Sep 26, 2011.

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

    SpeedKeks

    Hello , i have Problems with Permission from Bukkit:

    erver permissions file permissions.yml is not valid YAML: while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 9, column 1:


    Code:
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '[&8Guest&f] '
                suffix: ''
                build: false
                rank: 1
            Member:
            default: false
            info:
             prefix: '[&6Member&f] '
                suffix: ''
                build: true
                rank: 2
            inheritance:
            - Default
            permissions:
            - 'modifyworld.*'
            - 'choptree.chop'
            - 'sitm.users.join'
            - 'commandbook.say.me'
            - 'iConomyChestShop.shop.create'
            - 'iConomyChestShop.shop.buy'
            - 'iConomyChestShop.shop.sell'
            - 'commandbook.whereami'
            - 'commandbook.clear'
            - 'commandbook.motd'
            - 'commandbook.rules'
            - 'commandbook.time.check'
            - 'commandbook.call'
            - 'commandbook.return'
            - 'bedrespawn.respawn'
            - 'lockette.user.create.door'
            - 'lockette.user.create.chest'
            - 'mobbounty.collect'
            - 'iConomyDeath.use'
            - 'iConomy.access'
            - 'iConomy.payment'
            - 'commandbook.msg'
            - 'commandbook.spawn'
            - 'bedrespawn.set'
            - 'commandbook.online'
            - 'logblock.toolblock'
            - 'logblock.me'
         - 'CAuth.register'
         - 'CAuth.login'
            - 'lwc.protect'
            - 'fight.user'
        Donator:
            default: false
            info:
                prefix: '[&cModerator&f]'
                suffix: ''
                build: true
                rank: 3
            inheritance:
            - Member
            permissions: []
        VIP:
            default: false
            info:
                prefix: '[&3VIP&f] '
                suffix: ''
                build: true
                rank: 4
            inheritance:
            - Donator
            permissions: []
        Sponcer:
            default: false
            info:
                prefix: '[&4Sponcer&f] '
                suffix: ''
                build: true
                rank: 5
            inheritance:
            - VIP
            permissions:
            - commandbook.give
        Tempmod:
            default: false
            info:
                prefix: '[&cForever_Alone&f] '
                suffix: ''
                build: true
                rank: 6
            inheritance:
            - Default
            permissions: []
        Moderator:
            default: false
            info:
                prefix: '[&cModerator&f] '
                suffix: ''
                build: true
                rank: 7
            inheritance:
            - Tempmod
            permissions:
            - commandbook.spawnmob
            - commandbook.broadcast
            - commandbook.mute
            - commandbook.clear
            - commandbook.clear.other
            - commandbook.slap
            - commandbook.slap.other
            - commandbook.rocket
            - commandbook.rocket.other
            - commandbook.barrage
            - commandbook.barrage.other
            - commandbook.barrage
            - commandbook.barrage.other
            - commandbook.barrage
            - commandbook.barrage.other
            - commandbook.thor
            - commandbook.whois
            - commandbook.bans.ban
            - commandbook.bans.unban
            - commandbook.bans.isbanned
            - helpmeadvanced.admin
        Admin:
            default: false
            info:
                prefix: '[&cStaff Admin&f] '
                suffix: ''
                build: true
                rank: 8
            inheritance:
            - Moderator
            permissions:
            - commandbook.more
            - commandbook.more.infinite
            - commandbook.weather
            - commandbook.weather.thunder
            - commandbook.thor.other
            - commandbook.debug.info
            - commandbook.reload
            - commandbook.bans.load
            - commandbook.bans.save
         - lazyroad.build
            - CAuth.cauth.reset
            - 'CAuth.cauth.remove
            - CAuth.cauth.reload
         - lwc.mod
         - lwc.admin
         - fight.admin
             
        Owner:
            default: false
            info:
                prefix: '[&cOwner&f] '
                suffix: ''
                build: true
                rank: 9
            inheritance:
            - Admin
            permissions:
            - '*'
    users:
        Manuel1995:
            group: Owner
            info:
                prefix: ''
                suffix: ''
                build: true
                interact: true
        airbusa380x:
            group: Owner
            info:
                prefix: ''
                suffix: ''
                build: true
                interact: true
    
    
     
  2. Offline

    Darq

    So, what Permission system are you using? ...
     
  3. Offline

    The_Weaver

    I have a problem with my permission too it always says:
    You do not have permission to do that.
    But i put my self in permission.yml
     
  4. Offline

    SpeedKeks

    I use Linux
     
  5. Offline

    Darq

    What PERMISSION System are you using? Are you actually throwing your permissions into the permissions.yml in the root of your server folder? Or are you using PermissionsEX, or something alike.
     
  6. Offline

    5pyPig

    You are using strange characters around your permissions nodes. for example:
    - 'commandbook.time.check'

    it should read:
    - commandbook.time.check

    Also check and make sure you aren't using TAB to indent them. It needs to be spaces.
     
  7. Offline

    SpeedKeks

    I Use a Permission System from root server folder
     
  8. Offline

    Darq

    The permissions.yml in the root of your server folder is simply for defining custom permissions. You can read what it's for here on the Permissions FAQ page.

    In order to actually assign permissions to other players, you'll need a plugin like PermissionsEX, PermissionsBukkit, or bPermissions

    @5pyPig in any YML document, single quotes ('example') are used to define strings. They are not actually read, and you can use them in defining permissions, it will still work.
     
  9. Offline

    Sh8kezula

    Your issue is probably that you are using tabs (the tab button) when writing your .yml file.

    When you do this it breaks your yml file 100% of the time because yml only understands the space key.

    I suggest (i know this sucks) re-writing your file and NOT using the tab key.
     
  10. Offline

    Darq

    Actually went through the file, fixed all errors, it passes now.
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '[&8Guest&f] '
                suffix:
                build: false
                rank: 1
            Member:
            default: false
            info:
                prefix: '[&6Member&f] '
                suffix:
                build: true
                rank: 2
            inheritance:
            - Default
            permissions:
            - modifyworld.*
            - choptree.chop
            - sitm.users.join
            - commandbook.say.me
            - iConomyChestShop.shop.create
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - commandbook.whereami
            - commandbook.clear
            - commandbook.motd
            - commandbook.rules
            - commandbook.time.check
            - commandbook.call
            - commandbook.return
            - bedrespawn.respawn
            - lockette.user.create.door
            - lockette.user.create.chest
            - mobbounty.collect
            - iConomyDeath.use
            - iConomy.access
            - iConomy.payment
            - commandbook.msg
            - commandbook.spawn
            - bedrespawn.set
            - commandbook.online
            - logblock.toolblock
            - logblock.me
            - CAuth.register
            - CAuth.login
            - lwc.protect
            - fight.user
        Donator:
            default: false
            info:
                prefix: '[&cModerator&f] '
                suffix:
                build: true
                rank: 3
            inheritance:
            - Member
            permissions: []
        VIP:
            default: false
            info:
                prefix: '[&3VIP&f] '
                suffix:
                build: true
                rank: 4
            inheritance:
            - Donator
            permissions: []
        Sponcer:
            default: false
            info:
                prefix: '[&4Sponcer&f] '
                suffix:
                build: true
                rank: 5
            inheritance:
            - VIP
            permissions:
            - commandbook.give
        Tempmod:
            default: false
            info:
                prefix: '[&cForever_Alone&f] '
                suffix:
                build: true
                rank: 6
            inheritance:
            - Default
            permissions: []
        Moderator:
            default: false
            info:
                prefix: '[&cModerator&f] '
                suffix:
                build: true
                rank: 7
            inheritance:
            - Tempmod
            permissions:
            - commandbook.spawnmob
            - commandbook.broadcast
            - commandbook.mute
            - commandbook.clear
            - commandbook.clear.other
            - commandbook.slap
            - commandbook.slap.other
            - commandbook.rocket
            - commandbook.rocket.other
            - commandbook.barrage
            - commandbook.barrage.other
            - commandbook.thor
            - commandbook.whois
            - commandbook.bans.ban
            - commandbook.bans.unban
            - commandbook.bans.isbanned
            - helpmeadvanced.admin
        Admin:
            default: false
            info:
                prefix: '[&cStaff Admin&f] '
                suffix:
                build: true
                rank: 8
            inheritance:
            - Moderator
            permissions:
            - commandbook.more
            - commandbook.more.infinite
            - commandbook.weather
            - commandbook.weather.thunder
            - commandbook.thor.other
            - commandbook.debug.info
            - commandbook.reload
            - commandbook.bans.load
            - commandbook.bans.save
            - lazyroad.build
            - CAuth.cauth.reset
            - CAuth.cauth.remove
            - CAuth.cauth.reload
            - lwc.mod
            - lwc.admin
            - fight.admin
        Owner:
            default: false
            info:
                suffix:
                build: true
                rank: 9
            inheritance:
            - Admin
            permissions:
            - '*'
    users:
        Manuel1995:
            group: Owner
            info:
                prefix:
                suffix:
                build: true
                interact: true
        airbusa380x:
            group: Owner
            info:
                prefix:
                suffix:
                build: true
                interact: true
     
    SpeedKeks and Sh8kezula like this.
  11. Offline

    SpeedKeks

    Give one Command to make me Admin 4 Permission on console?
     
  12. Offline

    Darq

    'op SpeedKeks'
     
  13. Offline

    SpeedKeks

    No, he say me i dont have Permission.
     
  14. Offline

    Darq

    You do it FROM the console.
     
  15. Offline

    yttriuszzerbus

    "Member" is indented too far perhaps?
     
  16. Offline

    SpeedKeks

    Thies not my Problem. My Problem is i dont cant use one COmmand. He say me i dont have Permission i Quest how can make mee admin via console. I have my put in :X

    Sorry 4 CrossPosting, i use a Standart Permission from bukkit ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
Thread Status:
Not open for further replies.

Share This Page