Plugin [NON RESOLU] Permission Build et Chat

  • Auteur de la discussion Auteur de la discussion Niz
  • Date de début Date de début

Niz

l | l | l | l | l
18 Août 2013
1 070
1
639
267
Bonjour.
Après avoir longuement chercher je trouve pas la résolution de mon problème;
Comment donner la permission Build et Chat ?
J'utilise Group Manager et voici ma configuration:
config.yml
Code:
settings:
  config:
    # With this enabled anyone set as op has full permissions when managing GroupManager
    # The user will be able to promote players to the same group or even above.
    opOverrides: true
    
    # Default setting for 'mantoglevalidate'
    # true will cause GroupManager to attempt name matching by default.
    validate_toggle: true
    
  data:
    save:
      # How often GroupManager will save it's data back to groups and users.yml
      minutes: 10
      # Number of hours to retain backups (plugins/GroupManager/backup)
      hours: 24
      
  logging:
    # level of detail GroupManager will use when logging.
    # Acceptable entries are - ALL,CONFIG,FINE,FINER,FINEST,INFO,OFF,SEVERE,WARNING
    level: INFO
    
  mirrors:
        # Worlds listed here have their settings mirrored in their children.
        # The first element 'world' is the main worlds name
        # subsequent elements 'world_nether' and 'world_the_end' are worlds which will use
        # the same user/groups files as the parent.
        # Each child world can be configured to mirror the 'groups', 'users' or both files from it's parent.
        world:
          world_nether:
          - users
          - groups
          world_the_end:
          - users
          - groups
          Quake:
          - users
          - groups
    #  world2:      (World2 would have it's own set of user and groups files)
    #    world3:
    #    - users    (World3 would use the users.yml from world2, but it's own groups.yml)
    #    world4:
    #    - groups   (World4 would use the groups.yml from world2, but it's own users.yml)
    #  world5:
    #    - world6   (this would cause world6 to mirror both files from world5)

globalgroups:
Code:
# These groups only contain permission nodes.
#
# **** You can NOT add anything other than permission nodes ****
# **** This is NOT where you set up the groups which you give to users! ****
# **** goto groupmanager/worlds/worldname/groups.yml if you want to set the actual groups! ****
#
# These collections are to be inherited in your different worlds groups.yml's
# They can also be added as one of a users subgroups, but NOT as a primary group.
# These collections are available to ALL group and user yml's.
#
# Add to and customize these groups to fit your needs.

groups:

# Permission nodes for GroupManager
# by ElgarL, snowleo, continued from gabrielcouto's original
# http://dev.bukkit.org/server-mods/essentials/

  g:groupmanager_default:
    permissions:
    - groupmanager.notify.self

  g:groupmanager_moderator:
    permissions:
    - groupmanager.listgroups
    - groupmanager.mandemote
    - groupmanager.manpromote
    - groupmanager.manselect
    - groupmanager.manuadd
    - groupmanager.manudel
    - groupmanager.manwhois
    - groupmanager.notify.other

  g:groupmanager_admin:
    permissions:
    - groupmanager.mantogglevalidate
    - groupmanager.mansave
    - groupmanager.mangcheckp
    - groupmanager.manglistp
    - groupmanager.manucheckp
    - groupmanager.manulistp

# Permission nodes for CraftBukkit
# by many devs and contributors
# http://dl.bukkit.org/

  g:bukkit_default:
    permissions:
    - bukkit.broadcast.user
    - -bukkit.command.plugins

  g:bukkit_moderator:
    permissions:
    - bukkit.command.ban
    - bukkit.command.ban.ip
    - bukkit.command.ban.player
    - bukkit.command.gamemode
    - bukkit.command.kick
    - bukkit.command.unban
    - bukkit.command.unban.ip
    - bukkit.command.unban.player

  g:bukkit_admin:
    permissions:
    - bukkit.broadcast
    - bukkit.broadcast.admin
    - bukkit.command.give
    - bukkit.command.help
    - bukkit.command.kill
    - bukkit.command.list
    - bukkit.command.me
    - -bukkit.command.op
    - -bukkit.command.op.give
    - -bukkit.command.op.take
    - bukkit.command.plugins
    - bukkit.command.reload
    - bukkit.command.save
    - bukkit.command.save.disable
    - bukkit.command.save.enable
    - bukkit.command.save.perform
    - bukkit.command.say
    - bukkit.command.stop
    - bukkit.command.teleport
    - bukkit.command.tell
    - bukkit.command.time
    - bukkit.command.time.add
    - bukkit.command.time.set
    - bukkit.command.version
    - bukkit.command.whitelist
    - bukkit.command.whitelist.add
    - bukkit.command.whitelist.disable
    - bukkit.command.whitelist.enable
    - bukkit.command.whitelist.list
    - bukkit.command.whitelist.reload
    - bukkit.command.whitelist.remove

# Permission nodes for Essentials
# by ementalo, snowleo, and KHobbits
# http://dev.bukkit.org/server-mods/essentials/

  g:essentials_default:
    permissions:
    - essentials.help
    - essentials.helpop
    - essentials.list
    - essentials.motd
    - essentials.rules
    - essentials.spawn

  g:essentials_builder:
    permissions:
    - essentials.afk
    - essentials.back
    - essentials.back.ondeath
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.chat.color
    - essentials.chat.format
    - essentials.chat.shout
    - essentials.chat.question
    - essentials.compass
    - essentials.delhome
    - essentials.depth
    - essentials.exp
    - essentials.getpos
    - essentials.hat
    - essentials.home
    - essentials.ignore
    - essentials.itemdb
    - essentials.kit
    - essentials.kits.tools
    - essentials.mail
    - essentials.mail.send
    - essentials.me
    - essentials.msg
    - essentials.msg.color
    - essentials.msg.format
    - essentials.nick
    - essentials.pay
    - essentials.ping
    - essentials.powertool
    - essentials.powertooltoggle
    - essentials.protect
    - essentials.seen
    - essentials.sethome
    - essentials.sethome.multiple
    - essentials.signs.use.*
    - essentials.signs.create.disposal
    - essentials.signs.create.mail
    - essentials.signs.create.protection
    - essentials.signs.create.trade
    - essentials.signs.break.disposal
    - essentials.signs.break.mail
    - essentials.signs.break.protection
    - essentials.signs.break.trade
    - essentials.suicide
    - essentials.time
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.warp
    - essentials.warp.list
    - essentials.worth

  g:essentials_moderator:
    permissions:
    - -essentials.spawner.enderdragon
    - essentials.afk.kickexempt
    - essentials.ban
    - essentials.ban.notify
    - essentials.banip
    - essentials.broadcast
    - essentials.chat.url
    - essentials.chat.magic
    - essentials.clearinventory
    - essentials.delwarp
    - essentials.eco.loan
    - essentials.exp.others
    - essentials.ext
    - essentials.fly
    - essentials.getpos
    - essentials.getpos.others
    - essentials.helpop.recieve
    - essentials.home.others
    - essentials.invsee
    - essentials.jails
    - essentials.jump
    - essentials.kick
    - essentials.kick.notify
    - essentials.kill
    - essentials.kits.*
    - essentials.msg.magic
    - essentials.mute
    - essentials.nick.color
    - essentials.nick.others
    - essentials.realname
    - essentials.seen.banreason
    - essentials.seen.extra
    - essentials.setwarp
    - essentials.signs.create.*
    - essentials.signs.break.*
    - essentials.spawner
    - essentials.spawner.*
    - essentials.thunder
    - essentials.time
    - essentials.time.set
    - essentials.protect.alerts
    - essentials.protect.admin
    - essentials.protect.ownerinfo
    - essentials.ptime
    - essentials.ptime.others
    - essentials.togglejail
    - essentials.top
    - essentials.tp
    - essentials.tp.others
    - essentials.tphere
    - essentials.tppos
    - essentials.tptoggle
    - essentials.unban
    - essentials.unbanip
    - essentials.vanish
    - essentials.warps.*
    - essentials.weather
    - essentials.whois
    - essentials.workbench
    - essentials.world
    - essentials.worlds.*

  g:essentials_admin:
    permissions:
    - -essentials.backup
    - -essentials.essentials
    - -essentials.setspawn
    - -essentials.reloadall
    - -essentials.plugin
    - essentials.*

# Permission nodes for Towny by ElgarL
# http://dev.bukkit.org/server-mods/towny-advanced/

  g:towny_default:
    permissions:
    - towny.chat.general
    - towny.chat.local

  g:towny_builder:
    permissions:
    - towny.town.*
    - towny.nation.*
    - towny.chat.town
    - towny.chat.nation
    - towny.wild.build.6
    - towny.wild.destroy.6
    - towny.wild.destroy.14
    - towny.wild.destroy.15
    - towny.wild.destroy.16
    - towny.wild.build.17
    - towny.wild.destroy.17
    - towny.wild.destroy.18
    - towny.wild.destroy.21
    - towny.wild.destroy.31
    - towny.wild.destroy.37
    - towny.wild.destroy.38
    - towny.wild.destroy.39
    - towny.wild.destroy.40
    - towny.wild.destroy.50
    - towny.wild.destroy.56
    - towny.wild.destroy.73
    - towny.wild.destroy.74
    - towny.wild.destroy.78
    - towny.wild.destroy.81
    - towny.wild.destroy.82
    - towny.wild.destroy.83
    - towny.wild.destroy.86
    - towny.wild.destroy.103
    - towny.wild.destroy.106
    - towny.wild.destroy.111
    - towny.wild.destroy.115

  g:towny_moderator:
    permissions:
    - towny.chat.mod
    - towny.wild.switch.64
    - towny.wild.build.83
    - towny.wild.build.86
    - towny.wild.build.103
    - towny.wild.build.111
    - towny.wild.build.115

  g:towny_admin:
    permissions:
    - towny.admin
    - -towny.wild.destroy.119
    - -towny.wild.destroy.120
    - towny.chat.admin

# Permission nodes for VanishNoPacket by mbaxter
# http://dev.bukkit.org/server-mods/vanish/

  g:vanish_moderator:
    permissions:
    - -vanish.*
    - vanish.vanish
    - vanish.smokin
    - vanish.nofollow
    - vanish.nopickup
    - vanish.preventincomingdamage
    - vanish.hooks.dynmap.alwayshidden
    - vanish.hooks.essentials.hide

  g:vanish_admin:
    permissions:
    - vanish.silentjoin
    - vanish.silentquit
    - vanish.silentchests

Configuration groups du monde "world" (c'est le seul)
Code:
# Group inheritance
#
# Any inherited groups prefixed with a g: are global groups
# and are inherited from the GlobalGroups.yml.
#
# Groups without the g: prefix are groups local to this world
# and are defined in the this groups.yml file.
#
# Local group inheritances define your promotion tree when using 'manpromote/mandemote'

groups:
  vip:
    default: false
    permissions:
    - -essentials.kit.King
    - essentials.kit.vip
    - essentials.sethome.multiple.*
    inheritance:
    - king
    info:
      prefix: '&b&l[VIP] &f'
      build: true
      suffix: ''
  Modo:
    default: false
    permissions:
    - -essentials.gamemode
    - -essentials.gamemode.*
    - -essentials.give.*
    - -essentials.give
    - -essentials.item
    - -essentials.item.*
    - '*'
    inheritance:
    - partenaire
    info:
      prefix: '&c[Modo] &f'
      build: true
      suffix: ''
  Seigneur:
    default: false
    permissions:
    - -essentials.kit.Chevalier
    - -essentials.kit.Guerrier
    - -essentials.kit.Paysan
    - essentials.kit.Seigneur
    inheritance:
    - chevalier
    info:
      prefix: ''
      build: true
      suffix: ''
  Guerrier:
    default: false
    permissions:
    - -essentials.kit.Paysan
    - essentials.kit.Guerrier
    - essentials.repair
    - essentials.repair.*
    - essentials.sethome.multiple.vip
    inheritance:
    - paysan
    info:
      prefix: '&6[Guerrier] &f'
      build: true
      suffix: ''
  Chevalier:
    default: false
    permissions:
    - -essentials.kit.Guerrier
    - -essentials.kit.Paysan
    - essentials.home.3
    - essentials.home.staff
    - essentials.kit.Chevalier
    inheritance:
    - guerrier
    info:
      prefix: '&1[Chevalier] &f'
      build: true
      suffix: ''
  Partenaire:
    default: false
    permissions:
    - essentials.chat.*
    inheritance:
    - paysan
    info:
      prefix: '&5[Partenaire] &f'
      build: true
      suffix: ''
  Paysan:
    default: true
    permissions:
    - essentials.chat
    - essentials.home
    - essentials.kit.Paysan
    - essentials.sethome
    - essentials.spawn
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.tpno
    - essentials.tpyes
    - quake.join
    - quake.leave
    - quake.shop
    inheritance:
    - g:groupmanager_default
    - g:bukkit_default
    - g:essentials_default
    - g:towny_default
    info:
      prefix: '&e[Paysan] &f'
      build: true
      suffix: ''
  King:
    default: false
    permissions:
    - -essentials.kit.seigneur
    - essentials.kit.King
    - essentials.sethome.5
    inheritance:
    - seigneur
    info:
      prefix: '&8[King] &f'
      build: true
      suffix: ''
  MegaVIP:
    default: false
    permissions:
    - -essentials.kit.VIP
    - essentials.chat.color
    - essentials.chat.color.*
    - essentials.kit.mega-vip
    - essentials.kit.megavip
    inheritance:
    - vip
    info:
      prefix: '&d&l[MegaVIP] &f'
      build: true
      suffix: ''
  Admin:
    default: false
    permissions:
    - '*'
    inheritance:
    - modo
    info:
      prefix: '&9[Admin] &f'
      build: true
      suffix: ''
  UltraVIP:
    default: false
    permissions:
    - -essentials.kit.megavip
    - -essentials.kit.mega-vip
    - essentials.kit.ultra-vip
    - essentials.kit.ultravip
    inheritance:
    - megavip
    info:
      prefix: '&4&l[UltraVIP] &f'
      build: true
      suffix: ''

user
Code:
 On s'en fout ^^

Voila. Merci de me répondre au plus vite car il me manque plus que ça pour terminer mon serveur et pouvoir l'ouvirr au public :)
 
Pour donner la permission de construire il suffit de mettre "True" à côté des lignes "Build" dans ton fichier groups. Si tu ne veux pas qu'un groupe puisse construire tu mettras "False". Pour le chat par contre je ne sais pas :/
 
Meme si ton fichier group cest le dawa total et qu'on a beaucoup de mal à suivre l'évolution des inhéritance pour situer le problème, je crois que ca doit venir d'essentials. T'as tout les essentials installé ?

Sinon, pour les inhéritances paysans, mets juste inheritance : []

il n'y a pas de permissions prédifinies pour le chat, c'est essentials chat qui gère ça, et ya pas de perm à donner normalement.