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

    Soucis permission (passage 2.x > 3).


    Gorvie

    Recommended Posts

    Bonsoir, j'ai décidé avec la nouvelle version de permission, de revoir totalement mon architecture des groupes.

    J'ai donc entamé de tout changé pour obtenir quelque chose qui ne fonctionne semble-t'il pas.

     

    Je ne sais pas si c'est Hero-Chat qui ne montre pas les préfix/suffix (configuration de base), ou s'il n'est pas possible de faire ce que je souhaite.

     

    Sinon, voici les différent fichier :

     

    Le fichier permission 2.x

    plugin:    permissions:
           system: default
           copies:
    groups:
       Visiteur:
           default: true
           info:
               prefix: '&f'
               suffix: '&f'
               build: false
               rank: 0
           inheritance:
           permissions:
           - essentials.motd
           - essentials.list
           - essentials.helpop
           - essentials.suicide
       Villageois:
           default: false
           info:
               prefix: '&2'
               suffix: '&2'
               build: true
               rank: 1
           inheritance:
           - Visiteur
           permissions:
           - essentials.spawn
           - essentials.me
           - essentials.signs.free.use
           - essentials.getpos
           - essentials.compass
           - essentials.msg
           - iConomy.payment
           - iConomy.rank
           - iConomy.list
           - iConomyChestShop.shop.buy
           - iConomyChestShop.shop.sell
           - iConomyChestShop.command.iteminfo
           - jobs.join.*
           - jobs.world.*
           - essentials.mail
           - essentials.mail.send
       Citoyen:
           default: false
           info:
               prefix: '&f'
               suffix: '&f'
               build: true
               rank: 2
           inheritance: Villageois
           permissions:
       Marchand:
           default: false
           info:
               prefix: '&6'
               suffix: '&6'
               build: true
               rank: 3
           inheritance:
           - Villageois
           permissions:
           - iConomyChestShop.shop.create
       Noble:
           default: false
           info:
               prefix: '&9'
               suffix: '&9'
               build: true
               rank: 4
           inheritance:
           - Villageois
           permissions:
           - essentials.signs.heal.use
           - essentials.home
           - essentials.sethome
       Conseiller:
           default: false
           info:
               prefix: '&5'
               suffix: '&5'
               build: true
               rank: 5
           inheritance:
           - Noble
           permissions:
       Gouverneur:
           default: false
           info:
               prefix: '&c'
               suffix: '&c'
               build: true
               rank: 7
           inheritance:
           - Conseiller
           permissions:
           - essentials.helpop.receive
           - bb.admin.*
           - permissions.group
           - EasyTP.to
           - EasyTP.from
           - lockette.user.create.*
           - lockette.admin.create.*
           - lockette.admin.snoop
           - iConomyChestShop.shop.admin
           - essentials.kill
           - essentials.ban
           - essentials.unban
           - essentials.mute
           - essentials.heal
       Empereur:
           default: false
           info:
               prefix: '&4'
               suffix: '&4'
               build: true
               rank: 8
           inheritance:
           - Gouverneur
           permissions:
           - '*'
       Seigneur:
           default: false
           info:
               prefix: '&8'
               suffix: '&8'
               build: true
               rank: 6
           inheritance:
           permissions:
           - essentials.mail
           - essentials.mail.send
           - essentials.spawn
           - essentials.me
           - essentials.signs.free.use
           - essentials.getpos
           - essentials.compass
           - essentials.msg
           - essentials.motd
           - essentials.list
           - essentials.helpop
           - essentials.suicide
           - iConomy.payment
           - iConomy.rank
           - iConomy.list
           - iConomyChestShop.shop.buy
           - iConomyChestShop.shop.sell
           - iConomyChestShop.command.iteminfo
           - jobs.join.*
           - jobs.world.*
    users:
       Gorvie:
           group: Empereur
           permissions:
           - '*'
       youba78:
           group: Villageois
       splendide:
           group: Villageois
       max1405:
           group: Villageois
       steevmau:
           group: Empereur
           permissions:
           - '*'
       josh710:
           group: Conseiller
       hutgin:
           group: Gouverneur
       btravis182:
           group: Gouverneur
       fabange80:
           group: Villageois
       ermes:
           group: Villageois
       cortomalteseOPT:
           group: Marchand
       delnoch64:
           group: Noble
           permissions:
           - iConomyChestShop.shop.create
       lemilaner:
           group: Villageois
       fyhren:
           group: Villageois
       atael:
           group: Noble
       burytski:
           group: Villageois
       zebavure:
           group: Gouverneur
       Xianeven:
           group: Villageois
       Daex_:
           group: Gouverneur
       Ludicar753:
           group: Villageois
       SpYrYte:
           group: Villageois
       jujimart:
           group: Villageois
       perejuch:
           group: Villageois
       kikidu278:
           group: Villageois
       vaneuromm:
           group: Villageois
       Nebrilia:
           group: Seigneur
           permissions:
           - essentials.signs.heal.use
           - essentials.home
           - essentials.sethome
       Blouh:
           group: Villageois
       Shqrk:
           group: Marchand
       djminilektro:
           group: Villageois
       Asw3l:
           group: Villageois
       Craa4k:
           group: Marchand
           permissions:
           - essentials.signs.heal.use
           - essentials.home
           - essentials.sethome
       Ullrick77:
           group: Villageois
       QueenRocky:
           group: Villageois
       Wiryc:
           group: Villageois
       benjidu13:
           group: Villageois
       Sv4rog:
           group: Marchand
       morfeure:
           group: Villageois
       RaiDeNx59:
           group: Villageois
       hed62:
           group: Villageois
       tomthebest:
           group: Villageois
       Dekmarty:
           group: Villageois
       zardon64:
           group: Villageois
       ghozt_el:
           group: Villageois
       PaTriii:
           group: Villageois
       bapakik:
           group: Noble
       newsus:
           group: Villageois
       Painkiller60:
           group: Villageois
    
    
    

     

    Les autres en version 3.

     

    ##        # 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:
       Visiteur:
           default: true
           info:
               prefix: '§f'
               suffix: '§f'
               build: false
           inheritance:
           permissions:
           - essentials.motd
           - essentials.list
           - essentials.helpop
           - essentials.suicide
       Nantien:
           default: false
           info:
               prefix: '§3'
               suffix: '§3'
               build: true
           inheritance:
               - Visiteur
           permissions:
           - essentials.spawn
           - essentials.me
           - essentials.signs.free.use
           - essentials.getpos
           - essentials.compass
           - essentials.msg
           - iConomy.payment
           - iConomy.rank
           - iConomy.list
           - iConomyChestShop.shop.buy
           - iConomyChestShop.shop.sell
           - iConomyChestShop.command.iteminfo
           - jobs.join.*
           - jobs.world.*
           - essentials.mail
           - essentials.mail.send
       Kyreen:
           default: false
           info:
               prefix: '§a'
               suffix: '§a'
               build: true
           inheritance:
               - Visiteur
           permissions:
           - essentials.spawn
           - essentials.me
           - essentials.signs.free.use
           - essentials.getpos
           - essentials.compass
           - essentials.msg
           - iConomy.payment
           - iConomy.rank
           - iConomy.list
           - iConomyChestShop.shop.buy
           - iConomyChestShop.shop.sell
           - iConomyChestShop.command.iteminfo
           - jobs.join.*
           - jobs.world.*
           - essentials.mail
           - essentials.mail.send
       Neutre:
           default: false
           info:
               prefix: '§8'
               suffix: '§8'
               build: true
           inheritance:
               - Visiteur
           permissions:
           - essentials.spawn
           - essentials.me
           - essentials.signs.free.use
           - essentials.getpos
           - essentials.compass
           - essentials.msg
           - iConomy.payment
           - iConomy.rank
           - iConomy.list
           - iConomyChestShop.shop.buy
           - iConomyChestShop.shop.sell
           - iConomyChestShop.command.iteminfo
           - jobs.join.*
           - jobs.world.*
           - essentials.mail
           - essentials.mail.send
       Marchand:
           default: false
           info:
               prefix: '§6'
               suffix: '§6'
               build: true
           inheritance:
           - Neutre
           permissions:
           - iConomyChestShop.shop.create
       Noble:
           default: false
           info:
               prefix: '§9'
               suffix: '§9'
               build: true
           inheritance:
           - Neutre
           permissions:
           - essentials.signs.heal.use
           - essentials.home
           - essentials.sethome
       Conseiller:
           default: false
           info:
               prefix: '§5'
               suffix: '§5'
               build: true
           inheritance:
           - Noble
           permissions:
       Gouverneur:
           default: false
           info:
               prefix: '§c'
               suffix: '§c'
               build: true
           inheritance:
           - Conseiller
           permissions:
           - essentials.helpop.receive
           - bb.admin.*
           - permissions.group
           - EasyTP.to
           - EasyTP.from
           - lockette.user.create.*
           - lockette.admin.create.*
           - lockette.admin.snoop
           - iConomyChestShop.shop.admin
           - essentials.kill
           - essentials.ban
           - essentials.unban
           - essentials.mute
           - essentials.heal
       Empereur:
           default: false
           info:
               prefix: '§4'
               suffix: '§4'
               build: true
           inheritance:
           - Gouverneur
           permissions:
           - '*'
       Seigneur:
           default: false
           info:
               prefix: '§8'
               suffix: '§8'
               build: true
           inheritance:
               - Neutre
           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 have a prefix and suffix of their own.
    ##
    users:
       Gorvie:
           permissions:
           - '*'
           groups: 
               - Nantien
               - Empereur
       splendide:
           groups:
               - Neutre
       max1405:
           groups:
               - Neutre
       steevmau:
           permissions:
           - '*'
           groups: 
               - Kyreen
               - Empereur
       hutgin:
           groups:
               - Conseiller
       btravis182:
           groups:
               - Neutre
               - Gouverneur
       ermes:
           groups:
               - Neutre
       cortomalteseOPT:
           groups:
               - Neutre
               - Marchand
       delnoch64:
           permissions:
           - iConomyChestShop.shop.create
           groups:
               - Neutre
               - Noble
       lemilaner:
           groups:
               - Neutre
       fyhren:
           groups:
               - Neutre
       atael:
           groups:
               - Neutre
               - Noble
       burytski:
           groups:
               - Neutre
       zebavure:
           groups:
               - Neutre
               - Gouverneur
       Xianeven:
           groups:
               - Neutre
       Daex_:
           groups:
               - Kyreen
               - Gouverneur
       Ludicar753:
           groups:
               - Neutre
       SpYrYte:
           groups:
               - Neutre
       jujimart:
           groups:
               - Neutre
       perejuch:
           groups:
               - Neutre
       kikidu278:
           groups:
               - Neutre
       vaneuromm:
           groups:
               - Neutre
       Nebrilia:
           permissions:
           - essentials.signs.heal.use
           - essentials.home
           - essentials.sethome
           groups:
               - Neutre
               - Noble
       Blouh:
           groups:
               - Neutre
       Shqrk:
           groups:
               - Neutre
               - Marchand
       djminilektro:
           groups:
               - Neutre
       Asw3l:
           groups:
               - Neutre
       Craa4k:
           permissions:
           - essentials.signs.heal.use
           - essentials.home
           - essentials.sethome
           groups:
               - Nantien
               - Marchand
       Ullrick77:
           groups:
               - Neutre
       QueenRocky:
           groups:
               - Neutre
       Wiryc:
           groups:
               - Neutre
       benjidu13:
           groups:
               - Neutre
       Sv4rog:
           groups:
               - Nantien
               - Marchand
       morfeure:
           groups:
               - Neutre
       RaiDeNx59:
           groups:
               - Neutre
       hed62:
           groups:
               - Neutre
       tomthebest:
           groups:
               - Neutre
       Dekmarty:
           groups:
               - Neutre
       zardon64:
           groups:
               - Neutre
       ghozt_el:
           groups:
               - Neutre
       PaTriii:
           groups:
               - Neutre
       bapakik:
           groups:
               - Neutre
               - Noble
       newsus:
           groups:
               - Neutre
       Painkiller60:
           groups:
               - Neutre
    
    
    

     

     

    Merci d'avance.

    Link to comment
    Share on other sites

    Il te manque quelque chose dans tes permissions au niveau des prefix suffix, je te monte une partie de mes permissions :

     

    groups:
       Visiteur:
           default: true
           info:
               prefix: '&8{Visiteur}'
               suffix: '&8'
               build: false
               rank: 1
           inheritance:
           permissions:
           - foo.bar
           - commandbook.motd
           - commandbook.rules
           - commandbook.msg

     

     

    En espérant t'avoir aidé ;)

    Link to comment
    Share on other sites

    Guest Invité

    Bonjour ,

     

    @MarechalSummers : Cela revient au même.

     

    §4 et &4 ce n'est pas du tout la même chose, le "§" crée une erreur dans le fichier de Permissions j'ai déjà eu plusieurs fois le cas il rend le fichier invalide et les Permissions ne marche pas.

    Link to comment
    Share on other sites

    Guest Invité

    Moi j'ai déjà eu le soucis sur mon serveur et c'était bien ce fameux "§" qui posait problème avec un "&" tout marche nickel !

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