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

    [Permissions] Ne s'applique pas


    Freyr
     Share

    Recommended Posts

    Voici mon fichier de permissions :

    # 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:
       Default:
           default: true
           info:
               prefix: §7
               suffix: §7
               build: true
           inheritance:
           permissions:
               - 'foo.bar'
               - 'essentials.home'
               - 'essentials.sethome'
               - 'essentials.warp'
               - 'essentials.spawn'
               - 'essentials.msg'
               - 'essentials.afk'
               - 'essentials.rules'
               - 'essentials.motd'
               - 'essentials.me'
               - 'essentials.list'
               - 'essentials.mail'
               - 'essentials.mail.send'
               - 'essentials.helpop'
               - 'essentials.help'
               - 'essentials.sell'
               - 'essentials.balance'
               - 'essentials.worth'
               - 'essentials.pay'
               - 'essentials.depth'
               - 'essentials.getpos'
               - 'essentials.compass'
               - 'essentials.pay'
               - 'essentials.time'
       Moderator:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Default
               - VIP
           permissions:
               - 'bar.foo'
               - 'essentials.heal'
               - 'essentials.give'
               - 'essentials.tp'
               - 'essentials.tpo'
               - 'essentials.tphere'
               - 'essentials.tpohere'
               - 'essentials.tppos'
               - 'essentials.kick'
               - 'essentials.item'
               - 'essentials.time'
       VIP :
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Default
           permissions:
               - 'essentials.tpa'
               - 'essentials.tpaccept'
               - 'essentials.tpdeny'
               - 'essentials.tptoggle'
               - 'essentials.tpahere'
               - 'essentials.item'
               - 'essentials.heal'
               - 'essentials.jump'
       Admins:
           default: false
           info:
               prefix: §4
               suffix: §4
               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:
       freyrz:
           group: Admins
           permissions:
               - '*'
       Aironne:
           group: Moderator
           permissions:
               - 'herp.derp'
       michalack:
           group: Moderator
           permissions:
               - 'herp.derp'
       manutaricolu035:
           group: Default
           permissions:

     

    Pouriez vous me dire si il y a une erreur ou si je doit corrigé quelque chose

     

    Voila ce que je souhaite

    Les modérateur on tout les droit de tp et de give avec un pseudo de couleur

    les defaut juste construire et cassé

     

    Autre chose je ne sais pas si je doit renommé le fichier .yml par quelque chose et où le placé !

     

    Merci d'avance

    Link to comment
    Share on other sites

    # 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:
       Default:
           default: true
           info:
               prefix: '&7'
               suffix: '&7'
               build: true
           inheritance:
           permissions:
               - 'foo.bar'
               - 'essentials.home'
               - 'essentials.sethome'
               - 'essentials.warp'
               - 'essentials.spawn'
               - 'essentials.msg'
               - 'essentials.afk'
               - 'essentials.rules'
               - 'essentials.motd'
               - 'essentials.me'
               - 'essentials.list'
               - 'essentials.mail'
               - 'essentials.mail.send'
               - 'essentials.helpop'
               - 'essentials.help'
               - 'essentials.sell'
               - 'essentials.balance'
               - 'essentials.worth'
               - 'essentials.pay'
               - 'essentials.depth'
               - 'essentials.getpos'
               - 'essentials.compass'
               - 'essentials.pay'
               - 'essentials.time'
       Moderator:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Default
               - VIP
           permissions:
               - 'bar.foo'
               - 'essentials.heal'
               - 'essentials.give'
               - 'essentials.tp'
               - 'essentials.tpo'
               - 'essentials.tphere'
               - 'essentials.tpohere'
               - 'essentials.tppos'
               - 'essentials.kick'
               - 'essentials.item'
               - 'essentials.time'
       VIP:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Default
           permissions:
               - 'essentials.tpa'
               - 'essentials.tpaccept'
               - 'essentials.tpdeny'
               - 'essentials.tptoggle'
               - 'essentials.tpahere'
               - 'essentials.item'
               - 'essentials.heal'
               - 'essentials.jump'
       Admins:
           default: false
           info:
               prefix: '&4'
               suffix: '&4'
               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:
       freyrz:
           group: Admins
       Aironne:
           group: Moderator
       michalack:
           group: Moderator
    

     

    T'avais laissé quelques espaces :roll:

    (J'espere que c'est ça , essayes & dis moi ^^)

    Link to comment
    Share on other sites

    # 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: 
    
    groups:
       Default:
           default: true
           info:
               prefix: '&8'
               suffix: '&8'
               build: false
           inheritance:
           permissions:
               - 'foo.bar'
       Moderateur:
           default:
           info:
               prefix: '&6'
               suffix: '&6'
               build: true
           inheritance:
               - Default
           permissions:
               - 'bar.foo'
       Admins:
           default: false
           info:
               prefix: '&c'
               suffix: '&c'
               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:
       Freyr:
           group: Admins

    Test ça , le fichier doit être dans :

    Crafbukkit/plugin/permission/nomdetonmonde.yml

    (Attention avec ou sans majuscule j'crois que ça change)

    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...