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

    Problème permissions admins


    PetitSnickers
     Share

    Recommended Posts

    Salut,

    Alors voilà j'ai un soucis, j'ai toutes les commandes /kick etc. mais certaines commande ne fonctionne pas comme /tp /tphere /plugin list ...

    J'ai re-installé le serveur, les plugins installés sont: iChat, Permissions, Essantials. Et personne peut build ni même moi étant admin.

    Packtass= moi

    # Supports "Default" and "GroupUsers"
    plugin:
       permissions:
           system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   The asterisk must be placed inside double quotes to prevent errors.
    #   like so:
    #
    #       - 'com.permission.nijiko.*'
    #
    #   Otherwise errors will happen!
    ##
    groups:
       Default:
           default: true
           Info: build: true
           permissions:
              - 'essentials.spawn'
              - 'essentials.list'
              - 'essentials.msg'
              - 'essentials.help'
              - 'essentials.helpop'
              - 'iConomy.payment'
              - 'elevators.builder'
              - 'elevators.advancedbuilder'
              - 'elevators.operator'
              - 'iConomy.access'
              - 'iConomy.rank'
              - 'iConomy.list'
              - 'myhome.home.basic.set'
              - 'myhome.home.basic.home'
              - 'myhome.home.basic.delete'
              - 'essentials.motd'
              - 'localshops.buysell'
              - 'localshops.manage'
              - 'localshops.manage.owner'
              - 'localshops.create'
              - 'localshops.create.free'
              - 'localshops.destroy'
              - 'localshops.reload'
    
    
       Moderators:
           default: false
           inheritance: Default,
           permissions:
              - 'essentials.tp'
              - 'essentials.tphere'
              - 'essentials.kick'
              - 'magiccarpet.mc'
              - 'essentials.spawn'
       Admins:
           default: false
           inheritance: Default,Moderators,
           permissions:
              - '*'
    
    users:
       Packtass:
           group: Admins
           permissions:
       Natsoa:
           group: Moderators
           permissions:
       outdoordog:
           group: Moderators
           permissions:
    

    Merci d'avance pour votre aide. :)

    Link to comment
    Share on other sites

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

     

    extrait de REMPLACE_ME.yml fichier de base de configuration de permissions

     

    Si tu ne comprends pas l'anglais ça veut dire pas d'héritage de permissions si on utilise la permission '*'.

    Je pense que tu as ta réponse non ?

    Link to comment
    Share on other sites

    Salut,

    Allez dans le dossier plugins, puis dans permissions, vous verrez un fichier .yml, vous le renommez avec le nom de votre monde, exemple si mon monde s'appelle Worl1, je le renomme World1.yml !

    Voilà voilou je pense que ça marchera déjà un peu mieux ;-) !

    Link to comment
    Share on other sites

    J'te passe le mien, essayer pour voir, vu qu'il marche parfaitement sur mon serveur ;-) :

    # 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
    plugin:
       permissions:
           system: default
           copies: 
    
    # 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:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
       Default:
           default: true
           info:
               prefix: ''
               suffix: ''
               build: false
           inheritance:
           permissions:
               - 'foo.bar'
       Moderateurs:
           default: false
           info:
               prefix: '[&bModo&f]&2'
               suffix: ''
               build: true
           inheritance:
               - Default
           permissions:
               - 'bar.foo'
               - 'iConomy.payment'
               - 'iConomy.access'
               - 'iConomy.rank'
               - 'iConomy.list'
               - 'myhome.home.basic.*'
               - 'lwc.protect'
               - 'lwc.mod'
               - 'lwc.blockinventory'
       Administrateurs:
           default: false
           info:
               prefix: '[&bAdmin&f]&4'
               suffix: '&f'
               build: true
           inheritance:
           permissions:
               - '*'
               - 'iConomy.admin.grant'
               - 'iConomy.admin.set'
               - 'iConomy.admin.stats'
               - 'iConomy.admin.reset'
               - 'iConomy.admin.account.create'
               - 'iConomy.admin.account.remove'
               - 'lwc.admin'
    
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Default 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
    ##
       Nom du joueur:
           group: Administrateurs
           permissions:
       Nom du joueur 2:
           group: Moderateurs
           permissions:
    

    Edited by Waoufeur
    Link to comment
    Share on other sites

    Tenez, je l'ai modifié pour vos mods :

    # 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
    plugin:
       permissions:
           system: default
           copies: 
    
    # 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:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
       Default:
           default: true
           info:
               prefix: ''
               suffix: ''
               build: true
           inheritance:
           permissions:
               - 'foo.bar'
               - 'essentials.spawn'
               - 'essentials.list'
               - 'essentials.msg'
               - 'essentials.help'
               - 'essentials.helpop'
               - 'iConomy.payment'
               - 'elevators.builder'
               - 'elevators.advancedbuilder'
               - 'elevators.operator'
               - 'iConomy.access'
               - 'iConomy.rank'
               - 'iConomy.list'
               - 'myhome.home.basic.set'
               - 'myhome.home.basic.home'
               - 'myhome.home.basic.delete'
               - 'essentials.motd'
               - 'localshops.buysell'
               - 'localshops.manage'
               - 'localshops.manage.owner'
               - 'localshops.create'
               - 'localshops.create.free'
               - 'localshops.destroy'
               - 'localshops.reload'
       Moderateurs:
           default: false
           info:
               prefix: '[&bModo&f]&2'
               suffix: ''
               build: true
           inheritance:
               - Default
           permissions:
               - 'bar.foo'
               - 'essentials.tp'
               - 'essentials.tphere'
               - 'essentials.kick'
               - 'magiccarpet.mc'
               - 'essentials.spawn'
       Administrateurs:
           default: false
           info:
               prefix: '[&bAdmin&f]&4'
               suffix: '&f'
               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 Default 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:
       Packtass:
           group: Administrateurs
           permissions:
       Natsoa:
           group: Moderateurs
           permissions:
       outdoordog:
           group: Moderateurs
           permissions:
    

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