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

    Probleme permission pourtant bien configurer comme dans le verywiki !


    Flasher83

    Recommended Posts

    ##        
    
    # 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
    
    ##
    
    #   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:
    
    #
    
    #       - '*'
    
    ##
    
    #   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: ''
    
               suffix: ''
    
               build: false
    
           inheritance:
    
           permissions:
    
               - 'foo.bar'
    
       Moldu:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: false
    
           inheritance:
    
               - Default
    
           permissions:
    
               - 'bar.foo'
    
       Sorcier:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: true
    
           inheritance:
    
               - default
    
               - Moldu
    
           permissions:
    
               - essentials.give
    
               - essentials.itemspawn.exempt
    
               - essentials.give.item-all
    
               - essentials.give.item-<itemname>
    
               - essentials.give.item-<itemid>
    
               - essentials.info
    
               - essentials.msg
    
               - essentials.list
    
               - essentials.list.hiddenessentials.mail
    
               - essentials.mail.send
    
               - essentials.nick
    
               - essentials.nick.others
    
               - essentials.realname
    
               - essentials.suicide
               - essentials.tpa
    
               - essentials.home
    
               - essentials.home.others
    
               - essentials.tpaccept
    
               - essentials.tpdeny
               - essentials.help
    
       Professeur:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: true
    
           inheritance:
    
               - Moldu
    
               - Sorcier
    
               - default
    
           permissions:
    
               - essentials.kill
    
               - essentials.kick
    
               - essentials.kick.exempt
    
               - essentials.kick.notify
    
               - essentials.weather
    
               - essentials.jump
    
               - essentials.back
    
               - essentials.back.ondeath
    
               - essentials.tp
    
               - essentials.tpo
    
               - essentials.tphere
    
               - essentials.tpohere
    
       Haut-place:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: true
    
           inheritance:
    
               - default
    
           - Moldu
    
               - Sorcier
    
               - Professeur
    
           permissions:
    
               - '*'
    
    Ca c'est mon fichier group.yml et voici mon users.yml :
    users:
    
       Flasher83:
    
           groups:
    
           - Haut-place
    
           permissions:
    
       Xxcricri83xX:
    
           groups:
    
           - Haut-Place
    
           permissions:
    
       Onirath:
    
           groups:
    
           - Sorcier
    
           permissions:
    
       Bigouyoyo89:
    
           groups:
    
           - Sorcier
    
           permissions:

    Edited by Adril
    Link to comment
    Share on other sites

    Bah je t'explique je l'ai édité avec notepad++ apres le fichier groups.yml je l'ai copié la ou il falait avec filezila en remplacant le bon fichier au bon endroit et pareil pour users.yml sauf que quand j'ai voulu vérifier si ca marchait j'ai fait "afficher/editer" sur les deux fichier et la je vois que la presentation est pas bonne, tout est en ligne

    Link to comment
    Share on other sites

    ##        
    
    # 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
    
    ##
    
    #   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:
    
    #
    
    #       - '*'
    
    ##
    
    #   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: ''
    
               suffix: ''
    
               build: false
    
           inheritance:
    
           permissions:
    
               - 'foo.bar'
    
       Moldu:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: false
    
           inheritance:
    
               - Default
    
           permissions:
    
               - 'bar.foo'
    
       Sorcier:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: true
    
           inheritance:
    
               - default
    
               - Moldu
    
           permissions:
    
               - essentials.give
    
               - essentials.itemspawn.exempt
    
               - essentials.give.item-all
    
               - essentials.give.item-<itemname>
    
               - essentials.give.item-<itemid>
    
               - essentials.info
    
               - essentials.msg
    
               - essentials.list
    
               - essentials.list.hiddenessentials.mail
    
               - essentials.mail.send
    
               - essentials.nick
    
               - essentials.nick.others
    
               - essentials.realname
    
               - essentials.suicide
               - essentials.tpa
    
               - essentials.home
    
               - essentials.home.others
    
               - essentials.tpaccept
    
               - essentials.tpdeny
               - essentials.help
    
       Professeur:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: true
    
           inheritance:
    
               - Moldu
    
               - Sorcier
    
               - default
    
           permissions:
    
               - essentials.kill
    
               - essentials.kick
    
               - essentials.kick.exempt
    
               - essentials.kick.notify
    
               - essentials.weather
    
               - essentials.jump
    
               - essentials.back
    
               - essentials.back.ondeath
    
               - essentials.tp
    
               - essentials.tpo
    
               - essentials.tphere
    
               - essentials.tpohere
    
       Haut-place:
    
           default: false
    
           info:
    
               prefix: ''
    
               suffix: ''
    
               build: true
    
           inheritance:
    
               - default
    
           - Moldu
    
               - Sorcier
    
               - Professeur
    
           permissions:
    
               - '*'

     

    ---------- Post added at 15h38 ---------- Previous post was at 15h35 ----------

     

    c est pareil !

    Edited by Adril
    Link to comment
    Share on other sites

    Guest Invité

    Bonjour,

     

    il faut utiliser la balise code la prochaine fois quand tu copies colle un fichier de plus tu ne peux pas mettre plusieurs inheritance à mon avis.

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