Résolu Problème Groupmanager

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

PandoRoux

Bucheron
31 Mai 2016
22
1
16
35
Bonsoir à tous et à toutes,


mon problème est assez simple dont on ne comprend pas. On a suivis plusieurs vidéos et tutoriels afin de mettre en place le grade mais le soucis est qu'on arrive pas à utiliser le /manuadd du apparament à une erreur dont je vous passe le texte :

2016-05-31 19-21
=============================== GM ERROR LOG ===============================
= ERROR REPORT START - Pre2.14.1.3 FINAL (Phoenix) =

java.lang.IllegalArgumentException: The following file couldn't pass on Parser.
plugins/GroupManager/worlds/world/groups.yml
at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:590)
at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:510)
at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.loadWorld(WorldsHolder.java:678)
at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.loadWorld(WorldsHolder.java:640)
at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.initialWorldLoading(WorldsHolder.java:110)
at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.initialLoad(WorldsHolder.java:100)
at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.resetWorldsHolder(WorldsHolder.java:92)
at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.<init>(WorldsHolder.java:59)
at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:179)
at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:103)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404)
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:346)
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:318)
at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:403)
at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:368)
at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:323)
at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:241)
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:506)
at java.lang.Thread.run(Thread.java:745)
Caused by: while parsing a block collection
in 'reader', line 231, column 5:
- g:towny_novice
^
expected <block end>, but found Key
in 'reader', line 235, column 5:
info:
^

at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:514)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:198)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:153)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:393)
at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:585)
... 20 more

============================================================================

Si vous avez la solution,prévenez moi merci d'avance pour vos réponses :)
 
Hey!

The following file couldn't pass on Parser.

Ce message veut dire en gros que le dossier plugins/GroupManager/worlds/world/groups.yml ne transmettait pas d'information au plugin/serveur. Cela veut dire que le fichier groups.yml doit être soit mal enregistré, soit il est corrompu. Le plugin est sur un serveur local ou hébergé? Peux-tu donner tous les noms de tes plugins stp?

PS: Quand tu mets des morceaux de pseudo-code utilise l'outil Code qui est dans l'onglet marquer du +
 
Dernière édition:
Le plugin est sur un serveur hébergé via Omg.serv
et voici les plugins actuel:

worldedit
healthbar
essentials
groupmanager
clearlag
plugman
jobs
absolutewelcome
actionbarapi
worldguard
protocolLib
multiverse-core
aAntispam
Idisguise
shopleepers
essentialsprotect
voxelsniper
essentialsGeoIp
essentialschat
editablesign
essentialsantibuild
serverlistplus
essentialsspam
holographicdisplays
silkspawners
 
Peux-tu envoyer le contenu du fichier group.yml stp.

PS: Utilise l'outil Code pour que ce soit plus facile à lire.
 
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 'mantogglevalidate'
# true will cause GroupManager to attempt name matching by default.
validate_toggle: true
# ************************************************************************************************************************************************************
# *** NOTE: Having this feature enabled can allow improper use of Command Blocks which may lead to undesireable permission changes. You have been warned! ***
# ************************************************************************************************************************************************************
allow_commandblocks: true

data:
save:
# How often GroupManager will save it's data back to groups.yml 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, and is the parent world.
# subsequent elements 'world_nether' and 'world_the_end' are worlds which will use
# the same user/groups files as the parent.
# the element 'all_unnamed_worlds' specifies all worlds that aren't listed, and automatically mirrors them to it's parent.
# Each child world can be configured to mirror the 'groups', 'users' or both files from its parent.
world:
world_nether:
- users
- groups
world_the_end:
- users
- groups
all_unnamed_worlds:
- 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)


Ps : Comment utilise tu le CODE ? Je suis un peu novice là dessus ^^'
 
Ps : Comment utilise tu le CODE ? Je suis un peu novice là dessus ^^'

Va sur le bouton + qui est dans la barre deu haut et clique sur Code et sa marche tout seul.

Je voudrais le group.yml qui est dans le dossier que j'ai cité précédemment
 
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:
  moderateur:
    default: false
    permissions:
    - essentials.invsee
    - essentials.tphere
    - essentials.jails
    - essentials.jail
    - essentials.jail.allow.jails
    - essentials.jail.allow.togglejail
    - essentials.kick
    - essentials.kick.notify
    - essentials.mute
    - essentials.mute.notify
    inheritance:
    - paladin
    - g:towny_moderator
    - g:essentials_Novice
  
    info:
      build: true
      prefix: '&0[&6Moderateur&0]&7'
      suffix: ''
  admin:
    default: false
    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
    - essentials.help
    - essentials.helpop
    - essentials.list
    - essentials.motd
    - essentials.rules
    - essentials.spawn
    - essentials.jail.allow.help
    - essentials.jail.allow.helpop
    - essentials.jail.allow.rules
    - essentials.afk
    - essentials.afk.auto
    - essentials.back
    - essentials.back.ondeath
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.book
    - 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.recipe
    - essentials.seen
    - essentials.sethome
    - essentials.sethome.bed
    - 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
    - essentials.jail.allow.mail
    - essentials.jail.allow.ping
    - essentials.jail.allow.seen
    - essentials.spawner.enderdragon
    - essentials.afk.kickexempt
    - essentials.ban
    - essentials.ban.notify
    - essentials.banip
    - essentials.book.title
    - essentials.book.others
    - essentials.broadcast
    - essentials.chat.url
    - essentials.chat.magic
    - essentials.clearinventory
    - essentials.delwarp
    - essentials.eco.loan
    - essentials.exp.others
    - essentials.ext
    - essentials.fly
    - essentials.fly.safelogin
    - essentials.getpos
    - essentials.getpos.others
    - essentials.helpop.receive
    - essentials.home.others
    - essentials.invsee
    - essentials.jails
    - essentials.jump
    - essentials.kick
    - essentials.kick.notify
    - essentials.kill
    - essentials.kits.*
    - essentials.msg.magic
    - essentials.mute
    - essentials.mute.notify
    - 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.vanish.effect
    - essentials.warps.*
    - essentials.weather
    - essentials.whois
    - essentials.workbench
    - essentials.world
    - essentials.worlds.*
    - essentials.jail.allow.jails
    - essentials.jail.allow.togglejail
    inheritance:
    - moderator
    - g:groupmanager_admin
    - g:bukkit_admin
    - g:essentials_admin
    - g:towny_admin
    - g:vanish_admin
    info:
      build: true
      prefix: '&0[&4Administrateur&0]&7'
      suffix: ''
  novice:
    default: true
    permissions:
    - bukkit.command.kill
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    inheritance:
    - g:essentials_Novice
    - g:towny_Novice
    info:
      build: false
      prefix: '&0[&eNovice&0]&7'
      suffix: ''
  aventurier:
    default: false
    permissions:
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.warp
    - essentials.warp.list
    - essentials.sethome
    - essentials.home
    - essentials.recipe
    - essentials.ping
    - essentials.pay
    - essentials.mail
    - essentials.mail.send
    - essentials.msg
    - essentials.msg.color
    - essentials.msg.format
    - essentials.home
    - essentials.ignore
    - essentials.delhome  
  inheritance:
    - g:towny_novice
    - g:essentials_novice
    - novice
  
    info:
      build: true
      prefix: '&0[&aAventurier&0]&7'
      suffix: ''
  paladin:
    default: false
    permissions:
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.warp
    - essentials.warp.list
    - essentials.sethome
    - essentials.home
    - essentials.recipe
    - essentials.ping
    - essentials.pay
    - essentials.mail
    - essentials.mail.send
    - essentials.me
    - essentials.msg
    - essentials.msg.color
    - essentials.msg.format
    - essentials.home
    - essentials.ignore
    - essentials.delhome
    - essentials.balance
    - essentials.balance.others
    - essentials.balancetop
    - essentials.back
    - essentials.backondeath
    - essentials.repair
    - essentials.fix
    - essentials.workbench
    inheritance:
    - g:towny_Novice
    - g:essentials_Novice
    - aventurier
  
    info:
      build: true
      prefix: '&0[&5Paladin&0]&7'
      suffix: ''

voilà j'ai repris le bon dossier
 
Dernière édition:
bonjour
il y tout simplement une erreur dans ton
/GroupManager/worlds/world/groups.yml
aux lignes
Caused by: while parsing a block collection
in 'reader', line 231, column 5:
- g:towny_novice
^
expected <block end>, but found Key
in 'reader', line 235, column 5:
info:
^

il semble manquer l'indentation
c'est donc ton /GroupManager/worlds/world/groups.yml qu'il faut transmettre avec la méthode cité ci dessus

a+
 
  • J'aime
Reactions: Detobel36
Je ne saisis pas quand tu me parle d'indentation en fait , et il faudrais le placer ou du coup cette méthode? à la suite?