Problème avec PermissionEx

Nemrod505

Ramasseur de champignons
28 Janvier 2018
42
0
11
Bonjour,
j'ai retapé au moins 10 fois, et à chaque fois la console me met un message d'erreur :

[13:01:28] [Server thread/ERROR]: [PermissionsEx]
========== UNABLE TO LOAD PERMISSIONS BACKEND =========
Your configuration must be fixed before PEX will enable
Details: Error loading permissions file!
=======================================================
ru.tehkode.permissions.exceptions.PermissionBackendException: Error loading permissions file!
at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:321) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.backends.file.FileBackend.<init>(FileBackend.java:120) ~[PermissionsEx-1.23.4.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_72]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_72]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_72]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_72]
at ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:392) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:367) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.PermissionManager.createBackend(PermissionManager.java:624) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:606) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:693) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:67) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:175) [PermissionsEx-1.23.4.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:376) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:326) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.reload(CraftServer.java:750) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.Bukkit.reload(Bukkit.java:540) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchServerCommand(CraftServer.java:636) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at net.minecraft.server.v1_11_R1.DedicatedServer.aM(DedicatedServer.java:437) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 85, column 5:
build: true
^
expected <block end>, but found BlockEntry
in 'string', line 91, column 5:
- essentials.silentjoin
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[PermissionsEx-1.23.4.jar:?]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[PermissionsEx-1.23.4.jar:?]
... 28 more
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
in 'string', line 85, column 5:
build: true
^
expected <block end>, but found BlockEntry
in 'string', line 91, column 5:
- essentials.silentjoin
^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:569) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[PermissionsEx-1.23.4.jar:?]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot-1.11.2.jar:git-Spigot-d4f98a3-cb61ac0]
at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[PermissionsEx-1.23.4.jar:?]
at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[PermissionsEx-1.23.4.jar:?]
... 28 more
[13:01:28] [Server thread/INFO]: [PermissionsEx] Disabling PermissionsEx v1.23.4



Et ça c'est mon fichier : (là où je ne vois pas les erreurs)

groups:
Apprenti:
build: true
options:
default: true
prefix: '&fApprenti &7'
permissions:
- essentials.give
- essentials.kit
- essentials.kits.[kitname]
- essentials.balance
- essentials.balance.others
- essentials.balancetop
- essentials.pay
- essentials.sell
- essentials.helpop
- essentials.ignore
- essentials.list
- essentials.mail
- essentials.mail.send
- essentials.msg
- essentials.recipe
- essentials.rules
- essentials.suicide
- essentials.home
- essentials.sethome
- essentials.setwarp
- essentials.tpa
- essentials.tpaccept
- essentials.tpdeny
- essentials.spawn
- essentials.warp
- essentials.warp.list
- essentials.warps.*
Artisan:
build: true
inheritance:
- Apprenti
options:
default: false
prefix: '&eArtisan &7'
Societe:
build: true
inheritance:
- Artisan
options:
default: false
prefix: '&aSociete &7'
Industrie:
build: true
inheritance:
- Societe
options:
default: false
prefix: '&bIndustrie &7'
PDG:
build: true
inheritance:
- Industrie
options:
default: false
prefix: '&cPDG &7'
Technicien:
build: true
inheritance:
- Apprenti
options:
default: false
prefix: '&6Technicien &7'
Ingenieur:
build: true
inheritance:
- Technicien
options:
default: false
prefix: '&3Ingenieur &7'
Modo:
build: true
inheritance:
- PDG
options:
default: false
prefix: '&2Modo &7'
Admin:
build: true
inheritance:
- Modo
options:
default: false
prefix: '&4Admin &7'
- essentials.silentjoin
- essentials.silentquit
- essentials.silentjoin.vanish
schema-version: 1
 

Nemrod505

Ramasseur de champignons
28 Janvier 2018
42
0
11
Merci MrPungle,
j'ai bien vu les endroits où il y a des erreurs, mais je n'arrête pas de retaper les lignes et mm les paragraphes concernés,
mais rien n'y fait, j'ai toujours les mm messages d'erreurs...
 

Pungle_

@Pungle_
28 Octobre 2013
2 385
463
247
24
Admin:
build: true
inheritance:
- Modo
options:
default: false
prefix: '&4Admin &7'
- essentials.silentjoin
- essentials.silentquit
- essentials.silentjoin.vanish
schema-version: 1

Code:
  Admin:
  build: true
    permissions:
    - essentials.silentjoin
    - essentials.silentquit
    - essentials.silentjoin.vanish
    options:
      default: false
      prefix: '&4Admin &7'
    inheritance :
    - Modo
schema-version: 1

Déjà ta première erreur là c'est que tes permissions ne se trouvent pas dans "permissions:"
Cherche la deuxième maintenant.. ;)