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

    [Permissions] Block permission


    leeroy521
     Share

    Recommended Posts

    Bonjour,

     

    J'ai un problème avec mon fichier permissions. je ne comprend pas pourquoi les membres que je choisi en modo ou membres, ne reçoivent pas leurs droits.

     

    # 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.
    #   Does not work for the default world.
    #  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:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       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:
    #       - '-general.time'
    ##
    #   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: ''
               suffix: ''
               build: false
           inheritance:
           permissions:
              - 'essentials.spawn'
       Members:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
              - Default
           permissions:
               - 'essentials.motd'
               - 'essentials.help'
               - 'essentials.home'
               - 'essentials.sethome'
       Moderators:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Members
           permissions:
               - 'essentials.tpohere'    
               - 'essentials.tptoggle'
               - 'essentials.delwarp'
               - 'essentials.ban'
               - 'essentials.mute'
               - 'essentials.kick'
               - 'essentials.unban'
               - 'essentials.tree'
               - 'essentials.bigtree'
               - 'essentials.warp.list'
               - 'essentials.setwarp'
               - 'essentials.warp'
               - 'essentials.list'
               - 'essentials.tpahere'
               - 'essentials.tp'
               - 'essentials.msg'
               - 'essentials.depth'
               - 'essentials.getpos'
       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:
       Didi00703:
           group: Admins
           permissions:
       Norlf:
           group: Admins
           permissions:
       Mistrae:
           group: Admins
           permissions:
       Mafi91:
           group: Members
           permissions:
       Xb4tman06:
           group: Members
           permissions:
       Nefenoob:
           group: Members
           permissions:
       Krukapok:
           group: Members
           permissions:
       Yojinbo:
           group: Moderators
           permissions:
       Buzz215:
           group: Moderators
           permissions:
       lyrion33:
           group: Members
           permissions:
       guidrion:
           group: Members
           permissions:
       vinkiant:
           group: Members
           permissions:
       Nyhmm:
           groupe: Members
           permissions:
       Mystrale:
           groupe: Members
           permissions:

    Edited by leeroy521
    Link to comment
    Share on other sites

    Je ne comprend pas.. pourtant le fichier à l'air correct..

     

    Edit : Je n'ai aucun de ces plugins :

     

    EssentialsGroupBridge.jar 
    EssentialsGroupManager.jar 
    EssentialsHelp.jar 
    EssentialsTele.jar 
    EssentialsWarp.jar 
    EssentialsEco.jar 
    EssentialsBan.jar 
    EssentialsUpdate.jar  
    EssentialsGod.jar  
    EssentialsHome.jar

    Link to comment
    Share on other sites

    Je crois avoir trouvé l'erreur, essaie ça :

     

    plugin:
       permissions:
           system: default
           copies: 
    groups:
       Default:
           default: true
           info:
               prefix: ''
               suffix: ''
               build: false
           inheritance:
           permissions:
               - 'essentials.spawn'
       Members:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Default
           permissions:
               - 'essentials.motd'
               - 'essentials.help'
               - 'essentials.home'
               - 'essentials.sethome'
       Moderators:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Members
           permissions:
               - 'essentials.tpohere'    
               - 'essentials.tptoggle'
               - 'essentials.delwarp'
               - 'essentials.ban'
               - 'essentials.mute'
               - 'essentials.kick'
               - 'essentials.unban'
               - 'essentials.tree'
               - 'essentials.bigtree'
               - 'essentials.warp.list'
               - 'essentials.setwarp'
               - 'essentials.warp'
               - 'essentials.list'
               - 'essentials.tpahere'
               - 'essentials.tp'
               - 'essentials.msg'
               - 'essentials.depth'
               - 'essentials.getpos'
       Admins:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance: 
               - Moderators
           permissions:
               - '*'
    users:
       Didi00703:
           group: Admins
           permissions:
       Norlf:
           group: Admins
           permissions:
       Mistrae:
           group: Admins
           permissions:
       Mafi91:
           group: Members
           permissions:
       Xb4tman06:
           group: Members
           permissions:
       Nefenoob:
           group: Members
           permissions:
       Krukapok:
           group: Members
           permissions:
       Yojinbo:
           group: Moderators
           permissions:
       Buzz215:
           group: Moderators
           permissions:
       lyrion33:
           group: Members
           permissions:
       guidrion:
           group: Members
           permissions:
       vinkiant:
           group: Members
           permissions:
       Nyhmm:
           groupe: Members
           permissions:
       Mystrale:
           groupe: Members
           permissions:

     

    Cela m'est déjà arrivée, et j'ai résolu le problème lorsque j'ai remarqué que j'avais oublié un espace... Un truc à la c**, si je puis me permettre. Certains langages sont chiants quand même x)

    Edited by Vault
    correction du code
    Link to comment
    Share on other sites

    Contente d'avoir pu t'aider ;) Je suis aussi passée par là donc je peux comprendre ta galère. En fait, tu as oublié un espace à "- Default" de inheritance et un espace à "- Members" de inheritance. De plus, tu as oublié de mettre "- Moderators" à inheritance des admins. Voilà ;)

    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.

     Share

    ×
    ×
    • Create New...