Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    Porblème avec permissions 2


    iliesdu91

    Recommended Posts

    Bonjour,

     

    Je vous fait part de mon probleme très bizarre et enervant, ce n'est pas ma premiere utilisation de permission pourtant...

     

    Si je modifie legerement le fichier config de permissions 2(cad en incluant les pseudos des personnes du serv et desactivé le build pour le groupe defaut) et bien tout marche nickel, par contre, si je change le titre des groupe, que je rajoute des permissions et des inheritances, là ca ne marche pas ou pas correctement(du genre, je peux juste activé le mode god et casser et detruire c'est tout alors que je suis admin et que je me donne toutes les permissions avec '*')

     

    Voilà la configuration :

     

    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the 
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
       permissions:
           system: default
           copies: 
    
    ##        
    # 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:
       Visiteurs:
           default: true
           info:
               prefix: ''
               suffix: ''
               build: false
           inheritance:
           permissions:
               - 'essentials.rules'
               - 'essentials.suicide'
      Voyageurs:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance: 
               - Visiteurs
           permissions:
               - 'iConomyChestShop.shop.create'
               - 'iConomyChestShop.shop.buy'
               - 'iConomyChestShop.shop.sell'
               - 'iConomyChestShop.command.iteminfo'
               - 'monsterhunt.usercmd.hunt'
               - 'monsterhunt.usercmd.huntscore'
               - 'monsterhunt.usercmd.huntstatus'
               - 'factions.participate'
               - 'factions.manageSafeZone'    
               - 'essentials.getpos' 
               - 'essentials.msg'
               - 'essentials.afk'
               - 'essentials.me'
               - 'essentials.list'
               - 'essentials.mail.send'
               - 'iConomy.payment'
               - 'iConomy.access'
               - 'iConomy.rank'
               - 'iConomy.list'
       Habitants:
           default: false
           info:
               prefix:
               suffix:
               build: true
           inheritance:
               - Visiteurs
               - Voyageurs
           permissions:
               - 'factions.create'   
               - 'essentials.sethome'
               - 'essentials.home'
       Moderateur:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Visiteurs
               - Voyageurs
               - Habitants
           permissions:
               - 'essentials.ban'
               - 'essentials.banip'
               - 'essentials.mute'
               - 'essentials.kick'
               - 'essentials.unban'
               - 'essentials.unbanip'
               - 'essentials.give'
               - 'essentials.item'
       Admins:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
           permissions:
               - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
    
      ilies91:
           group: Admins
           permissions:
    
       llyodleboss:
           group: Admins
           permissions:
    
       bigaut:
           group: Admins
           permissions:
    
       jerem240495:
           group: Admins
           permissions:
    
       baja91:
           group: Visiteurs
           permissions:
    
       MaestroXXL:
           group: Visiteurs
    
       iEatNoobs4Dinner:
           group: Visiteurs
           permissions:
    
       louloumulou91250:
           group: Admins
           permissions: 

     

     

    Voilà...pourtant tout est nickel d'apres moi

    Edited by Adril
    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...