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

    [Help] Permissions


    Krapinou
     Share

    Recommended Posts

    Bonsoir.

     

    J'ai vraiment besoin de votre aide, cela fait des semaines que je me bats avec Permissions mais ce soir il a gagné.

    J'ai remarqué que mon système de visiteur/citoyen ne marche pas. Et en installant manuellement MagicCarpet je n'ai pas les droits or magiccarpet.mc est bien inscrit dans les modérateurs et je suis administrateur.

     

    Mon fichier s'appel bien world.yml comme mon monde.

    je suis bien ops ( j'écris en rouge sur Essentials)

     

    Voici le code :

     

    # 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: '&f', suffix: '&f', build: false]
       inheritance: null
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
             essentials.rules, essentials.msg, essentials.helpop]
     Citoyen:
       default: false
       info: [prefix: '&7', suffix: '&7', build: true]
       inheritance: Visiteur
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
             essentials.rules, essentials.msg, essentials.helpop, iConomy.payment, iConomy.rank] 
     Moderateur:
       default: false
       info: [prefix: '&1', suffix: '&1', 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, magiccarpet.mc, essentials.god, iConomy.payment, iConomy.rank, iConomy.list, iConomy.admin.grant, iConomy.admin.stats]
     Administrateur:
       default: false
       info: [prefix: '&4', suffix: '&4', 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:
    Wal2:
    	group: Moderateur
       Soulakwet:
           group: Citoyen
       xPierrex54:
           group: Citoyen
       Toom54:
           group: Citoyen
       Krapinou:
           group: Administrateur
    P4uk:
    	group: Administrateur

     

     

    Merci d'avance

    Link to comment
    Share on other sites

    Salut,

     

    Essaye avec ce correctif:

     

    # 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: [color=Red][b]{[/b][/color]prefix: '&f', suffix: '&f', build: false[color=Red][b]}[/b][/color]
       inheritance: null
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
             essentials.rules, essentials.msg, essentials.helpop]
     Citoyen:
       default: false
       info: [color=Red][b]{[/b][/color]prefix: '&7', suffix: '&7', build: true[b][color=Red]}[/color][/b]
       inheritance: Visiteur
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, 
             essentials.rules, essentials.msg, essentials.helpop, iConomy.payment, iConomy.rank] 
     Moderateur:
       default: false
       info: [color=Red][b]{[/b][/color]prefix: '&1', suffix: '&1', build: true[b][color=Red]}[/color][/b]
       inheritance: Citoyen
       permissions:[essentials.kit.tools, essentials.nick, essentials.time, essentials.kick, 
             essentials.ban, essentials.unban, essentials.warp, essentials.warplist, essentials.tp, 
             essentials.tphere, magiccarpet.mc, essentials.god, iConomy.payment, iConomy.rank, iConomy.list, iConomy.admin.grant, iConomy.admin.stats]
     Administrateur:
       default: false
       info: [color=Red][b]{[/b][/color]prefix: '&4', suffix: '&4', build: true[b][color=Red]}[/color][/b]
       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:
       Wal2:
           group: Moderateur
       Soulakwet:
           group: Citoyen
       xPierrex54:
           group: Citoyen
       Toom54:
           group: Citoyen
       Krapinou:
           group: Administrateur
       P4uk:
           group: Administrateur

    Il y avait 2 tabulations dans ton bloc users.

    Link to comment
    Share on other sites

    Bonsoir,

     

    Borisbe, je te remercie tu as apporté grandement au serveur.

    Cependant les nouveaux visiteurs peuvent quand même construire alors qu'il est marqué " false"

    Je pense donc qu'il y a des problèmes avec Permissions, Essentialsmanager

     

    Est ce vrai ?

     

    Merci

    Link to comment
    Share on other sites

    Voila,

     

    J'ai toujours un soucis

     

    Lukanibal est citoyen, il possède le droit d'achat. Mais pourtant cela ne fonctionne pas.

     

    J'ai vraiment besoin de votre aide.

     

    Merci

     

    plugin:
       permissions: {system: default, copies: }
    groups:
     Visiteur:
       default: true
       info:
           prefix: '&f'
           suffix: '&f'
           build: false
       inheritance: null
       permissions:
           - 'essentials.spawn'
           - 'essentials.list'
           - 'essentials.help'
           - 'essentials.motd' 
           - 'essentials.rules'
           - 'essentials.msg'
           - 'essentials.helpop'
     Citoyen:
       default: false
       info:
           prefix: '&7'
           suffix: '&7'
           build: true
       inheritance: Visiteur
       permissions: 
           - 'essentials.spawn'
           - 'essentials.list'
           - 'essentials.help'
           - 'essentials.motd'
           - 'essentials.rules'
           - 'essentials.msg'
           - 'essentials.helpop'
           - 'iConomy.payment'
           - 'iConomy.rank'
           - 'iConomyChestShop.shop.create'
           - 'iConomyChestShop.shop.buy'
           - 'iConomyChestShop.shop.sell'
     Moderateur:
       default: false
       info: 
           prefix: '&1'
           suffix: '&1'
           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'
           - 'iConomyChestShop.shop.create'
           - 'iConomyChestShop.shop.buy'
           - 'iConomyChestShop.shop.sell'
     Administrateur:
       default: false
       info: 
           prefix: '&4'
           suffix: '&4'
           build: true
       inheritance: Moderateur
       permissions:
           - 'iConomyChestShop.shop.create'
           - 'iConomyChestShop.shop.buy'
           - 'iConomyChestShop.shop.sell'
           - 'iConomyChestShop.shop.admin - admin'
           - 'iConomyChestShop.command.iteminfo'
           - '*'
    
    users:
       Draclest:
           group: Citoyen
       Lukanibal:
           group: Citoyen
       Wal2:
           group: Moderateur
       Soulakwet:
           group: Citoyen
       xPierrex54:
           group: Citoyen
       Toom54:
           group: Citoyen
       Krapinou:
           group: Administrateur
       P4uk:
           group: Administrateur

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