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

    Plugin permissions


    Aerenz
     Share

    Recommended Posts

    Malgré avoir recherché sur le forum et avoir bien lu le wiki de ce plugin il ne fonctionne toujours pas.

     

    Voici mon code :

     

    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] 
     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]
     Administrateur:
       default: false
       info: [prefix: '&4', suffix: '&4', build: true]
       inheritance: [Moderateur]
       permissions: ['*']
    
    users:
       Aerenz:
           group: [Administrateur]
       Muze360:
           group: [Administrateur]
       Kiriin:
           group: [Moderateur]
       djminilektro:
           group: [Moderateur]
    

     

    Merci.

    Link to comment
    Share on other sites

    Bonjour,

    Il me semble que dans la dernière partie il n'y a pas besoin de crochets pour les groupes. Essaye comme ceci :

     

    users:
          Aerenz:
           group: Administrateur

     

    Tiens nous au courant ;).

    Edited by Rem'
    Link to comment
    Share on other sites

    Nous sommes Muze ( admin ) et moi même dans le fichier ops ! Donc la couleur sur le chat est par défaut et les droits aussi.

     

    Sinon voici mon code actuel :

    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] 
     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]
     Administrateur:
       default: false
       info: [prefix: '&4', suffix: '&4', build: true]
       inheritance: Moderateur
       permissions: ['*']
    
    users:
       Aerenz:
           group: Administrateur
       Muze360:
           group: Administrateur
       Kiriin:
           group: Moderateur
       djminilektro:
           group: Moderateur
    

    Link to comment
    Share on other sites

    Salut,

     

    Il y a avait quelques soucis dans le fichier qui l'ont corrompu.

     

    Ce correctif devrait fonctionner

     

    plugin:
     permissions:
       system: default 
    
    groups:
     Visiteur:
       default: true
       info: [b][color=Red]{[/color][/b]prefix: '&f', suffix: '&f', build: false[b][color=Red]}[/color][/b]
       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[color=Red][b]}[/b][/color]
       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[color=Red][b]}[/b][/color]
       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: '&4', suffix: '&4', build: true]
       inheritance:
       permissions: ['*']
    
    users:
       Aerenz:
           group: Administrateur
       Muze360:
           group: Administrateur
       Kiriin:
           group: Moderateur
       djminilektro:
           group: Moderateur

    La partie "Moderateur" à la ligne 20 ne comptait pas d'espace entre les 2 points de "permissions" et le crochet d'essentials.kit.tools

     

    permissions:[essentials.kit.tools
    permissions: [essentials.kit.tools
    Edited by Borisbe
    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...