Solved Crash PermissionsEX

Discussion in 'Bukkit Help' started by Switek, Jul 9, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    Switek

    Help! I wrote one privilege and everything worked for me, but when I decided to write the second, PermissionsEX turned off! Version of minecraft: 1.8 PermissionsEX Version: 1.23.4!
    verify:
    Code:
    groups:
        Gracz:
            default: true
            permissions:
            - essentials.afk
            - essentials.help
            - essentials.helpop
            - essentials.home
            - essentials.msg
            - essentials.r
            - essentials.sethome
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.tpahere
            - essentials.spawn
            - essentials.delhome
            - essentials.compass
            - essentials.time
            prefix: '&2'
        VIP:
            default: false
            permissions:
            - essentials.afk
            - essentials.help
            - essentials.helpop
            - essentials.home
            - essentials.msg
            - essentials.r
            - essentials.sethome
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.tpahere
            - essentials.spawn
            - essentials.ignore
            - essentials.delhome
            - essentials.back
            - essentials.compass
            - essentials.depth
            - essentials.ping
            - essentials.getpos
            - essentials.time
            - essentials.repair
            - essentials.feed
            - essentials.nick
            - essentials.realname
            prefix: '&b'
        SVIP:
            default: false
            permissions:
            - essentials.afk
            - essentials.help
            - essentials.helpop
            - essentials.home
            - essentials.msg
            - essentials.r
            - essentials.sethome
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.tpahere
            - essentials.spawn
            - essentials.ignore
            - essentials.delhome
            - essentials.back
            - essentials.compass
            - essentials.depth
            - essentials.ping
            - essentials.getpos
            - essentials.time
            - essentials.repair
            - essentials.heal
            - essentials.feed
            - essentials.near
            - essentials.nick
            - essentials.realname
            prefix: '&d'
        Admin:
            default: false
            permissions:
            - '*'
            prefix: '&4'
        Wlasciciel:
            default: false
            permissions:
            - '*'
            prefix: '&e'
    
    And this is log:
    Code:
    [15:38:25] [Server thread/INFO]: Starting minecraft server version 1.8
    [15:38:25] [Server thread/INFO]: Loading properties
    [15:38:25] [Server thread/INFO]: Default game type: SURVIVAL
    [15:38:25] [Server thread/INFO]: Generating keypair
    [15:38:25] [Server thread/INFO]: Starting Minecraft server on *:25565
    [15:38:26] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-33d5de3 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
    [15:38:26] [Server thread/INFO]: [PermissionsEx] Loading PermissionsEx v1.23.4
    [15:38:26] [Server thread/INFO]: [WorldEdit] Loading WorldEdit v6.1.3;7a097ca
    [15:38:26] [Server thread/INFO]: [OpenInv] Loading OpenInv v4.0.3
    [15:38:26] [Server thread/INFO]: [Essentials] Loading Essentials v2.0.1-b267
    [15:38:26] [Server thread/INFO]: Preparing level "world"
    [15:38:26] [Server thread/INFO]: Preparing start region for level 0 (Seed: -3651996414281650730)
    [15:38:26] [Server thread/INFO]: Preparing start region for level 1 (Seed: -3651996414281650730)
    [15:38:27] [Server thread/INFO]: Preparing start region for level 2 (Seed: -3651996414281650730)
    [15:38:27] [Server thread/INFO]: [PermissionsEx] Enabling PermissionsEx v1.23.4
    [15:38:27] [Server thread/INFO]: [PermissionsEx] Initializing file backend
    [15:38:27] [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_211]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_211]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_211]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_211]
        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:321) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:327) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:341) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:313) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:394) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:362) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:317) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:190) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:484) [craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token
    found character      '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
    in 'string', line 2, column 1:
            Gracz:
        ^
    
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        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:226) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        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:?]
        ... 23 more
    Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
    found character      '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
    in 'string', line 2, column 1:
            Gracz:
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:420) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:586) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:231) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        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:226) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[craftbukkit-1.8.jar:git-Bukkit-33d5de3]
        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:?]
        ... 23 more
    [15:38:27] [Server thread/INFO]: [PermissionsEx] Disabling PermissionsEx v1.23.4
    [15:38:27] [Server thread/INFO]: [WorldEdit] Enabling WorldEdit v6.1.3;7a097ca
    [15:38:27] [Server thread/INFO]: WEPIF: Using the Bukkit Permissions API.
    [15:38:27] [Server thread/INFO]: [WorldEdit] Using com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_8_R1 as the Bukkit adapter
    [15:38:27] [Server thread/INFO]: [OpenInv] Enabling OpenInv v4.0.3
    [15:38:27] [Server thread/INFO]: [OpenInv] Your version of CraftBukkit (v1_8_R1) is not supported.
    [15:38:27] [Server thread/INFO]: [OpenInv] If this version is a recent release, check for an update.
    [15:38:27] [Server thread/INFO]: [OpenInv] If this is an older version, ensure that you've downloaded the legacy support version.
    [15:38:27] [Server thread/INFO]: [Essentials] Enabling Essentials v2.0.1-b267
    [15:38:27] [Server thread/INFO]: [Essentials] Starting Essentials ban format conversion
    [15:38:27] [Server thread/INFO]: [Essentials] Starting usermap repair
    [15:38:27] [Server thread/WARN]: [Essentials] Missing userdata folder, aborting
    [15:38:27] [Server thread/INFO]: Using locale pl_PL
    [15:38:28] [Server thread/INFO]: [Essentials] Using CraftBukkit 1.8 NMS-based provider as spawner provider.
    [15:38:28] [Server thread/INFO]: Using locale pl_PL
    [15:38:28] [Server thread/INFO]: [Essentials] Starting Metrics. Opt-out using the global PluginMetrics config.
    [15:38:28] [Server thread/WARN]: [Essentials] Detected supported permissions plugin PermissionsEx without Vault installed.
    [15:38:28] [Server thread/WARN]: [Essentials] Features such as chat prefixes/suffixes and group-related functionality will not work until you install Vault.
    [15:38:28] [Server thread/INFO]: [Essentials] Using superperms-based permissions.
    [15:38:28] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [15:38:28] [Server thread/INFO]: Done (2,102s)! For help, type "help" or "?"
    [16:02:03] [Server thread/INFO]: Stopping the server
    [16:02:03] [Server thread/INFO]: Stopping server
    [16:02:03] [Server thread/INFO]: [Essentials] Disabling Essentials v2.0.1-b267
    [16:02:03] [Server thread/INFO]: [OpenInv] Disabling OpenInv v4.0.3
    [16:02:03] [Server thread/INFO]: [WorldEdit] Disabling WorldEdit v6.1.3;7a097ca
    [16:02:03] [Server thread/INFO]: Saving players
    [16:02:03] [Server thread/INFO]: Saving worlds
    [16:02:03] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
    [16:02:03] [Server thread/INFO]: Saving chunks for level 'world_nether'/Nether
    [16:02:03] [Server thread/INFO]: Saving chunks for level 'world_the_end'/The End
    
     
  2. Offline

    timtower Moderator Moderator

    @Switek You have tabs in your file, replace them by spaces.
     
  3. Offline

    Switek

    Thanks! Now it's working.
     
  4. Offline

    timtower Moderator Moderator

    Glad that I could help.
    Marked thread as solved.
     
Thread Status:
Not open for further replies.

Share This Page