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

    Iconomy Permission


    tampps

    Recommended Posts

    Bonjour, je rencontre actuellement un soucis avec les permissions de Iconomy, seul les admins peuvent l'utiliser et les joueur dite "default" ne le peuvent pas.

     

    groups:

    Default:

    default: true

    info:

    prefix: '$4-wh-'

    suffix: '&8'

    build: true

    inheritance:

    permissions:

    - essentials.spawn

    - essentials.list

    - essentials.help

    - essentials.motd

    - essentials.rules

    - essentials.msg

    - essentials.helpop

    - iConomy.payment

    - 'foo.bar'

     

    Je ne sais que faire je suis perdu, j'ai suivi le wiki mais voila j'arrive pas.

    Link to comment
    Share on other sites

    Salut !

     

    Voila ton problème viens de l'alignement et de l'écriture de tes commandes :

     

    [Nomdugroupe]:

    default: True

    info:

    prefix: '$4-wh-'

    suffix: ''

    build: true

    inheritance:

    - Default

    permissions:

    - 'essentials.list'

    - 'essentials.spawn'

    - 'essentials.help'

    - 'essentials.motd'

    - 'essentials.rules'

    - 'essentials.msg'

    - 'essentials.helpop'

    - 'iConomy.payment'

     

    Il ne faut pas oublier les : '' entre chaque commandes et ne pas oublier de tout aligner comme il faut.

    Et surtout il faut que tu utilise le logiciel conseiller dans le wiki.

     

    Voila j'espère t'avoir aider, si tu as des questions ;).

    Link to comment
    Share on other sites

    Merci pour la réponse rapide, mais ça ne marche toujours pas,

     

    default: True
    info:
    prefix: '$4-wh-'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.list'
    - 'essentials.spawn'
    - 'essentials.help'
    - 'essentials.motd'
    - 'essentials.rules'
    - 'essentials.msg'
    - 'essentials.helpop'
    - 'iConomy.payment'
       Moderator:
           default: false
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
               - Default
           permissions:
               - 'bar.foo'
       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:
       TheNo1Yeti:
           group: Admins
           permissions:
       tampps:
           group: Admins:
           permissions:
       micilico:
           group: Admins
           permissions:
       Oomega:
           group: Admins
           permissions:
       pauolo:
           group: Admins
           permissions:
    
       glouboux:
           group: Default
           permissions:
               -iConomy.payment
       wazop:
           group: Default
           permissions:
               -iConomy.payment
       amaury115
           group: Default
           permissions:
               -iConomy.payment
       apocal29:
           group: Default
           permissions:
               -iConomy.payment
       Cpl_sigma:
           group: Default
           permissions:
               -iConomy.payment  
       cupcake22
           group: Default
           permissions:
               -iConomy.payment

    Edited by Adril
    Link to comment
    Share on other sites

    Guest Invité

    Bonjour ,

     

    Je ne sais pas si c'est juste un soucis de copier coller mais les alignements ne sont pas bon sur le premiers groupe.

    Link to comment
    Share on other sites

    Bonjour ,

     

    Je ne sais pas si c'est juste un soucis de copier coller mais les alignements ne sont pas bon sur le premiers groupe.

     

    Je patauge complétement la, je vois pas ou sont les soucis, je sais pas trop comment faire.. Si quelqu'un pourrais me montrer un exemple simple de permission par défault ?

    Link to comment
    Share on other sites

    Quand j'essaye d'envoyer de l'argent à quelqu'un j'ai se message qui arrive "player jeantrucmuche does not have account" et ensuite je rencontre toujours le même soucis qui est que personne ne peut utiliser le plugin, j'ai carrement copie coller le texte du wiki en modifiant des chose de cet manière :

     

    plugin:
       permissions:
           system: default
           copies: null
    groups:
        Habitant:
          default: true
          info:
              prefix: '&f'
              suffix: '&f'
              build: false
          inheritance:
          permissions:
          - essentials.spawn
          - essentials.list
          - essentials.help
          - essentials.motd
          - essentials.rules
          - essentials.msg
          - essentials.helpop
          - iConomy.payment
      K:
          default: false
          info:
              prefix: '&7'
              suffix: '&7'
              build: true
          inheritance:
          - G
          permissions:
    
      Modérator:
          default: false
          info:
              prefix: '&2'
              suffix: '&2'
              build: true
          inheritance:
          - P
          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
      Admin:
          default: false
          info:
              prefix: '&4'
              suffix: '&4'
              build: true
          inheritance:
          - M
          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:
        tampps:
           group: Admin
           permissions:
       micilico:
           group: Admin
       Oomega:
           group: Admin
       pauolo:
           group: Admin
       glouboux:
           group: Habitant
       wazop:
           group: Habitant
       amaury115
           group: Habitant
       apocal29:
           group: Habitant
       Cpl_sigma:
           group: Habitant
       cupcake22
           group: Habitant
    

    Et rien ne marche.

     

    Edit : Dans mon dosser Permissions avant j'avais de fichier .yml et la je me retrouve avec un seul qui est World.yml.

    Edited by tampps
    Oublie d'info
    Link to comment
    Share on other sites

    J'ai essayé d'utiliser mais je me retrouve nez a nez avec ça :

     

    ERROR:  while parsing a block mapping   in "<unicode string>", line 1, column 1:     plugin:     ^ expected <block end>, but found '<block mapping start>'   in "<unicode string>", line 22, column 4:        K:        ^

     

    Et je ne le cache pas, je comprend rien du tout...

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