permissions problem

Discussion in 'Bukkit Help' started by bulls3y3, Jun 21, 2011.

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

    bulls3y3

    Hey Forum,

    I'm new to this forum, so please don't judge me :)
    So the title says what i want: Help with permissions.
    I have the problem, that when i change my globalGroups.yml (properly in my opinion) everyone becomes member of the User group.
    the problem is, that (of course) i need admins.

    Here is globalGroups.yml "causing" the problem:

    Code:
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
           default: true
           info:
              prefix: '&b[Default]'
              suffix: ''
              build: false
           inheritance:
           permissions:
                - 'deathmessageplugin.sendmessage'
                - 'deathmessageplugin.getmessage'
                - 'admincmd.player.list'
                - 'essentials.helpop'
                - 'essentials.suicide'
                - 'essentials.spawn'
        User:
           default: false
           info:
              prefix: '&e[User]'
              suffix: ''
              build: true
           inheritance:
              - Default
           permissions:
                - 'commandSigns.use'
                - 'iConomy.access'
                - 'iConomy.bank.access'
                - 'iConomy.bank.deposit'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'lwc.protect'
                - 'simpleshop.buy'
                - 'simpleshop.sell'
                - 'falsebook.blocks.*'
                - 'tombstone.use'
                - 'tombstone.freechest'
                - 'tombstone.lwc'
                - 'tombstone.sign'
                - 'tombstone.freesign'
                - 'tombstone.cmd.tombfind'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.list'
        Moderator:
           default: false
           info:
              prefix: '&1[Mod]'
              suffix: ''
              build: true
           inheritance:
                - User
           permissions:
                - 'admincmd.time.set'
                - 'admincmd.time.day'
                - 'admincmd.tp.to'
                - 'admincmd.tp.location'
                - 'admincmd.tp.players'
                - 'admincmd.tp.from'
                - 'admincmd.player.list'
                - 'admincmd.player.loc'
                - 'admincmd.player.heal'
                - 'admincmd.player.kill'
                - 'admincmd.player.msg'
                - 'admincmd.mob.spawn'
                - 'bog.*'
                - 'commandSigns.create'
                - 'commandSigns.super'
                - 'commandSigns.super.cost'
                - 'commandSigns.super.elevated'
                - 'commandSigns.super.fakeuser'
                - 'commandSigns.super.restricted'
                - 'deathmessageplugin.sendmessage'
                - 'deathmessageplugin.getmessage'
                - 'essentials.heal'
                - 'essentials.time'
                - 'essentials.afk'
                - 'essentials.depth'
                - 'essentials.helpop'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.suicide'
                - 'essentials.ban'
                - 'essentials.burn'
                - 'essentials.ext'
                - 'essentials.kick'
                - 'essentials.kill'
                - 'essentials.ping'
                - 'essentials.tempban'
                - 'essentials.weather'
                - 'essentials.home.others'
                - 'essentials.top'
                - 'essentials.tp'
                - 'essentials.tpall'
                - 'essentials.
                - 'falsebook.anyic'
                - 'massband.use'
                - 'regios.createdelete'
                - 'regios.modify'
                - 'regios.expand'
                - 'regios.list'
                - 'regios.modifyowner'
                - 'regios.rename'
                - 'regios.protect'
                - 'regios.exception'
                - 'regios.customise-messages'
                - 'tombstone.use'
                - 'tombstone.freechest'
                - 'tombstone.large'
                - 'tombstone.lwc'
                - 'tombstone.sign'
                - 'tombstone.freesign'
                - 'zc.chickenswarm'
        Admins:
           default: false
           info:
              prefix: '&2[Admin]'
              suffix: ''
              build: true
           inheritance:
           permissions:
                - '*'

    I am sure, that i don't have any TAB or anything else wrong, because of notepad++.
    It shows nothing red, or anything.
    I get the same problem when i use the globalUsers.yml file instead.
    If you want/need, i post the working file too.

    Please help.
    bulls3y3
     
  2. Offline

    ViruSpreadeR

    your spacing is wrong...u need to use 4 spaces for tabs
     
  3. Offline

    bulls3y3

    i inserted just the permissions for the moderator group (that's what i want to be changed)in the working file, but it's not working. without these permissions it is...
     
  4. Offline

    ViruSpreadeR

    yeah...thats what im saying...every sub node should have 4 spaces, not three or five...rewrite all of them or add and delete some spaces on every node
     
  5. Offline

    bulls3y3

    but the working one is alright... so i copy and paste ONLY the nodes of Moderator group in the WORKING file. doesn't work. but the spaces are alright too...

    fixed it...
    there was a ' missing in one line...

    closed

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  6. Offline

    ViruSpreadeR

  7. Offline

    bulls3y3

    no i didn't. and: no there is no error i think. i don't really understand it, but it isn't necessary anymore, cause it works! i already tested it on the server. :p
     
Thread Status:
Not open for further replies.

Share This Page