Problem/Bug permissionsEX dosn't work

Discussion in 'Bukkit Help' started by 1nerd2, Sep 2, 2020.

  1. Offline

    1nerd2

    i got my pex made from a premade, everything works but when i try to add some ranks it doesn't work. the console error is under





    > [09:42:50 INFO]: 1nerd21 issued server command: /pex reload
    > [09:42:50 WARN]: [PermissionsEx] Failed to reload permissions when 1nerd21 ran `pex reload`
    ru.tehkode.permissions.exceptions.PermissionBackendException: Error loading permissions file!
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:321) ~[PermissionsEx-1.22.10.jar:?]
    at ru.tehkode.permissions.PermissionManager.reset(PermissionManager.java:657) ~[PermissionsEx-1.22.10.jar:?]
    at ru.tehkode.permissions.PermissionManager.reset(PermissionManager.java:645) ~[PermissionsEx-1.22.10.jar:?]
    at ru.tehkode.permissions.bukkit.commands.UtilityCommands.reload(UtilityCommands.java:58) [PermissionsEx-1.22.10.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_262]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_262]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_262]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_262]
    at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:248) [PermissionsEx-1.22.10.jar:?]
    at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:110) [PermissionsEx-1.22.10.jar:?]
    at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:318) [PermissionsEx-1.22.10.jar:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:766) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1047) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:884) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:189) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:794) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:307) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:642) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:548) [Spigot.jar:git-PaperSpigot-ba75d9a]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [Spigot.jar:git-PaperSpigot-ba75d9a]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 1, column 1:
    groups:
    expected <block end>, but found BlockMappingStart
    in 'string', line 51, column 3:
    Default:
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[PermissionsEx-1.22.10.jar:?]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[PermissionsEx-1.22.10.jar:?]
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[PermissionsEx-1.22.10.jar:?]
    ... 24 more
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping; expected <block end>, but found BlockMappingStart; in 'string', line 51, column 3:
    Default:
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileConfig.java:68) ~[PermissionsEx-1.22.10.jar:?]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[Spigot.jar:git-PaperSpigot-ba75d9a]
    at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:38) ~[PermissionsEx-1.22.10.jar:?]
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.java:309) ~[PermissionsEx-1.22.10.jar:?]
     
  2. Offline

    timtower Moderator Moderator

  3. Offline

    1nerd2

  4. Offline

    timtower Moderator Moderator

  5. Offline

    1nerd2

    sorry, I fixed it I JUST figured it out

    i now have another problem, how do I give someone permissions to tp in permission.yml is it hcf.command.tp?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 3, 2020
  6. Offline

    timtower Moderator Moderator

    That totally depends on the plugin you are using for tp
     

Share This Page