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

    Besoin d'aide pour les permissions


    Ripper76
     Share

    Recommended Posts

    Bonsoir,

    Je n'arrive pas a régler les permissions des joueurs sur bukkit. J'ai suivi des tutos et tout, mais rien a faire, ca ne fonctionne pas comme je veux. A ce que j'ai compris, il faut modifier un fichier .yml qui porte le nom de la map. Si c'est bien ca, serait-il possible que quelqu'un est la gentillesse de me faire ce fichier suivant mes besoin?

     

    Si quelqu'un se propose, je donnerais toutes les infos nécessaires.

     

    Merci d'avance!

    Link to comment
    Share on other sites

    J'ai a peu près réussi mais il y a encore des problèmes. Le groupe Admin avec tout les droits fonctionne, mais le groupe joueur a certain droits qu'il ne devrait pas avoir : /kill, /ban, /god , /spawnmob, /setspawn, et probablement d'autres que je n'ai pas testé.

     

    Comment faire pour retirer ces droits?

    Link to comment
    Share on other sites

    Essaye de mettre le droit en question mais avec un '-' devant.

     

    Exemple :

      permissions: [-essentials.god, -essentials.kill, -essentials.setspawn]
    

     

    Sinon il est possible qu'une erreur se soit glissé ou qu'un plugin soit rentré un conflit et active ses commandes.

    Link to comment
    Share on other sites

    J'ai désinstallé les plugins, je l'ai ai remis et j'ai recréer les groupes. Maintenant le groupe "joueur" n'a plus aucun droits. Je n'y comprends rien! J'ai écrit ca :

     

    Admin:

    default: false

    info: {prefix: '&8', suffix: '&8', build: true}

    inheritance: null

    permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd,

    essentials.rules, essentials.msg, essentials.helpop]

     

    Joueur:

    default: true

    info: {prefix: '&6', suffix: '&6', build: true}

    inheritance: null

    permissions: [essentials.mail, essentials.mail.send, essentials.home, essentials.sethome, essentials.ping,

    essentials.afk, essentials.rules, essentials.helpop, essentials.spawn, essentials.motd]

     

    Quelqu'un peut me dire ce qui ne va pas s'il vous plait?

    Link to comment
    Share on other sites

    # 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:
    
       Admin:
       default: false
       info: {prefix: '&8', suffix: '&8', build: true}
       inheritance: null
       permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd,
            essentials.rules, essentials.msg, essentials.helpop]
    
       Joueur:
       default: true
       info: {prefix: '&6', suffix: '&6', build: true}
       inheritance: null
       permissions: [essentials.mail, essentials.mail.send, essentials.home, essentials.sethome, essentials.ping, 
       essentials.afk, essentials.rules, essentials.helpop, essentials.spawn, essentials.motd] 
    
    
    
    
       prisonier:
       default: false
       info: {prefix: '&6', suffix: '&6', build: true}
       inheritance: null
       permissions: [essentials.afk, essentials.rules, essentials.helpop]            
    
    
    ##
    # 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:
       Ripper76:
           group: Admin  
       Wenkork:
           group: Joueur
       AlexCroft76:
           group: Joueur
       BlackHawkFR77:
           group: Joueur
       Delta:
           group: Joueur
       Spiner:
           group: Joueur
       MarcusFenix76:
           group: Joueur
       Nana:
           group: Joueur
       Cuizinier:
           group: Joueur      

     

    Ce fichier s'appelle Orion.yml et il est placé dans /games/minecraft/craftbukkit/plugins/Permissions/maps

    Link to comment
    Share on other sites

    Oui il s'appelle Orion, mais le placer dans /games/minecraft/craftbukkit/plugins/Permissions ne change rien. Et je viens de remarquer que, comme les autres, je ne peux ni construire ni detruire. En revanche j'ai accès a toute les commandes contrairement a eux qui n'en ont aucune.

    Link to comment
    Share on other sites

    Merci

     

    Edit : J'ai trouvé! Dans le fichier yml, il faut des espaces. J'explique : Chez moi, ca ne marchais pas car j'écrivais :

    Admin:
    default: false
    info: {prefix: '&8', suffix: '&8', build: true}
    inheritance: null
    permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd,
    essentials.rules, essentials.msg, essentials.helpop]

    Alors qu'il faut :

    Admin:
        default: false
        info: {prefix: '&8', suffix: '&8', build: true}
        inheritance: null
        permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd,
                      essentials.rules, essentials.msg, essentials.helpop]

    Edited by Ripper76
    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...