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

    [help] Mon plugin Perimission


    Krapinou
     Share

    Recommended Posts

    Bonsoir,

     

    je viens faire appel a vous car Le plugin Permissions est indomptable pour moi.

    Je voulais créé un système où les personnes se connectant n'est pas le droit de construire mais cela ne fonctionne pas.

    Et quand j'écris " /modgrp machin citoyen " La commande n'existe pas.

    S'il vous plait aidez moi :cry:

     

    Merci

    voici Mon fichier world.yml

     

    # 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:
    Visiteur:
       default: true
           info:
           prefix: '&7'
           suffix: '&7'
       build: false
       inheritance: null
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
    essentials.rules, essentials.msg, essentials.helpop, iConomy.payment, iConomy.rank]
       Citoyen:
       default: false
           info:
           prefix: '&8'
           suffix: '&8'
       build: true
       inheritance: Visiteur
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
    essentials.rules, essentials.msg, essentials.helpop, iConomy.payment, iConomy.rank, worldedit] 
       Moderateur:
       default: false
           info:
           prefix: '&9'
           suffix: '&9'
       build: true
       inheritance: Citoyen
       permissions:[essentials.kit.tools, essentials.nick, essentials.time, essentials.kick, 
    essentials.ban, essentials.unban, essentials.warp, essentials.warplist, essentials.tp, 
    essentials.tphere, essentials.god, iConomy.payment, iConomy.rank, iConomy.list, iConomy.admin.grant, iConomy.admin.stats]
       Administrateur:
       default: false
           info:
           prefix:
           suffix:
       build: true
       inheritance: Moderateur
       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:
       Soulakwet:
           group: Citoyen
       xPierrex54:
           group: Citoyen
       Toom54:
           group: Citoyen
       Krapinou:
           group: Administrateur     

    Link to comment
    Share on other sites

    Essayez avec celui là :

    # 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:
    Visiteur:
       default: true
           info:
           prefix: '&7'
           suffix: '&7'
       build: false
       inheritance: null
       permissions: 
               - 'foo.bar'
               - 'essentials.spawn '
               - 'essentials.list'
               - 'essentials.help'
               - 'essentials.motd'
               - 'essentials.rules'
               - 'essentials.msg'
               - 'essentials.helpop'
               - 'iConomy.payment'
               - 'iConomy.rank'
       Citoyen:
       default: false
           info:
           prefix: '&8'
           suffix: '&8'
       build: true
       inheritance: Visiteur
       permissions: 
               - 'bar.foo'
               - 'essentials.spawn'
               - 'essentials.list'
               - 'essentials.help'
               - 'essentials.motd'
               - 'essentials.rules'
               - 'essentials.msg'
               - 'essentials.helpop'
               - 'iConomy.payment'
               - 'iConomy.rank'
               - 'worldedit'
       Moderateur:
       default: false
           info:
           prefix: '&9'
           suffix: '&9'
       build: true
       inheritance: Citoyen
       permissions:
               - 'essentials.kit.tools'
               - 'essentials.nick'
               - 'essentials.time'
               - 'essentials.kick' 
               - 'essentials.ban'
               - 'essentials.unban'
               - 'essentials.warp'
               - 'essentials.warplist'
               - 'essentials.tp'
               - 'essentials.tphere'
               - 'essentials.god'
               - 'iConomy.payment'
               - 'iConomy.rank'
               - 'iConomy.list'
               - 'iConomy.admin.grant'
               - 'iConomy.admin.stats'
       Administrateur:
       default: false
           info:
           prefix:
           suffix:
       build: true
       inheritance: Moderateur
       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:
       Soulakwet:
           group: Citoyen
           permissions:
       xPierrex54:
           group: Citoyen
           permissions:
       Toom54:
           group: Citoyen
           permissions:
       Krapinou:
           group: Administrateur
           permissions:

    Link to comment
    Share on other sites

    Celui-ci fonctionnera mieux :

     

    plugin:
     permissions:
       system: default
       copies: 
    
    groups:
     Visiteur:
       default: true
       info: [prefix: '&7', suffix: '&7', build: false]
       inheritance: null
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
             essentials.rules, essentials.msg, essentials.helpop, iConomy.payment, iConomy.rank]
     Citoyen:
       default: false
       info: [prefix: '&8', suffix: '&8', build: true]
       inheritance: [Visiteur]
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
             essentials.rules, essentials.msg, essentials.helpop, iConomy.payment, iConomy.rank, worldedit] 
     Moderateur:
       default: false
       info: [prefix: '&9', suffix: '&9', build: true]
       inheritance: [Citoyen]
       permissions:[essentials.kit.tools, essentials.nick, essentials.time, essentials.kick, 
             essentials.ban, essentials.unban, essentials.warp, essentials.warplist, essentials.tp, 
             essentials.tphere, essentials.god, iConomy.payment, iConomy.rank, iConomy.list, iConomy.admin.grant, iConomy.admin.stats]
     Administrateur:
       default: false
       info: [prefix: '', suffix: '', build: true]
       inheritance: [Moderateur]
       permissions: ['*']
    
    users:
       Soulakwet:
           group: [Citoyen]
       xPierrex54:
           group: [Citoyen]
       Toom54:
           group: [Citoyen]
       Krapinou:
           group: [Administrateur]
    

    Edited by lith
    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...