1. Si vous venez d'arriver sur le forum et que vous êtes un peu perdus, cliquez ici !
    Rejeter la notice

Probleme d'erreur avec PermissionsEX

Discussion dans 'Serveurs' créé par Rerepremier, 22 Déc 2016.

  1. Rerepremier

    Rerepremier Nouveau

    Inscrit:
    22 Déc 2016
    Messages:
    1
    Points:
    0
    Sexe:
    Homme
    je suis nouveau dans le monde des serveur Minecraft et cherche a en créer un. Je souhaite utiliser le plugin PermissionEX mais il m'affiche un message d'erreur assez bizarre :

    Code (cpp):
    [16:34:53] [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) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:358) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:320) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.reload(CraftServer.java:726) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.Bukkit.reload(Bukkit.java:548) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:626) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchServerCommand(CraftServer.java:612) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at net.minecraft.server.v1_11_R1.DedicatedServer.aM(DedicatedServer.java:397) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:361) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:650) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while scanning a simple key
    in 'string', line 11, column 3:
          fondateur
          ^
    could not find expected ':'
    in 'string', line 12, column 12:
            options:
                   ^
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        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) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        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.scanner.ScannerException: while scanning a simple key
    in 'string', line 11, column 3:
          fondateur
          ^
    could not find expected ':'
    in 'string', line 12, column 12:
            options:
                   ^
        at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:465) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:280) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:225) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:529) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:198) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:153) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:246) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:237) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:225) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        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) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[craftbukkit-1.11.jar:git-Bukkit-a951a88]
        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
    [16:34:53] [Server thread/INFO]: [PermissionsEx] Disabling PermissionsEx v1.23.4
    [16:34:53] [Server thread/INFO]: WEPIF: Using the Bukkit Permissions API.
    [16:34:53] [Server thread/INFO]: WEPIF: Using the Bukkit Permissions API.
    comme j'ai cru comprendre sa désactive permissionsEX ce que je souhaite pas.
    Voila j’espère que vous pourrez m'aider. (je le rapelle mais je ne suis que débutant )
    Merci !
     
  2. CactusKipic

    CactusKipic Bûcheron

    Inscrit:
    28 Oct 2015
    Messages:
    124
    Points:
    56
    Sexe:
    Homme
    Ton fichier est juste mal écrit (il est mal formaté). La ligne est indiqué dans l'erreur (ne prend que la première erreur en compte, les suivantes étant probablement dû à la première).

    Code (cpp):
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while scanning a simple key
    in 'string', line 11, column 3:
          fondateur
          ^
    could not find expected ':'
    Ici, il manque les ':' après 'fondateur' (qui est sûrement l'ID du grade en question), le tout étant à la ligne 11 et la partie mal écrite commençant au 3e caractère.
     

Partager cette page