PermissionsEx Not Working All Of A Sudden

Discussion in 'Spigot Plugin Help' started by CaptainSpooncer, May 11, 2016.

  1. The plugin was working just fine and then it just stopped working.
     

    Attached Files:

  2. Are you getting any errors in the console?
     
  3. Yes here is a copy of the console.

    [08:18:07 INFO]: Melon Growth Modifier: 100%
    [08:18:07 INFO]: Mushroom Growth Modifier: 100%
    [08:18:07 INFO]: Pumpkin Growth Modifier: 100%
    [08:18:07 INFO]: Sapling Growth Modifier: 100%
    [08:18:07 INFO]: Wheat Growth Modifier: 100%
    [08:18:07 INFO]: NetherWart Growth Modifier: 100%
    [08:18:07 INFO]: Random Lighting Updates: false
    [08:18:07 INFO]: Nerfing mobs spawned from spawners: false
    [08:18:07 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [08:18:07 INFO]: Max TNT Explosions: 100
    [08:18:07 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [08:18:07 INFO]: Preparing start region for level 0 (Seed: 8429229323216146968)
    [08:18:08 INFO]: Preparing spawn area: 46%
    [08:18:08 INFO]: Preparing start region for level 1 (Seed: -7989168549853856793)

    [08:18:09 INFO]: Preparing start region for level 2 (Seed: -7989168549853856793)

    [08:18:09 INFO]: [WorldEdit] Enabling WorldEdit v6.1;no_git_id
    [08:18:09 INFO]: WEPIF: Using the Bukkit Permissions API.
    [08:18:09 WARN]: [WorldEdit]
    **********************************************
    ** This WorldEdit version does not fully support your version of Bukkit.
    **
    ** When working with blocks or undoing, chests will be empty, signs
    ** will be blank, and so on. There will be no support for entity
    ** and biome-related functions.
    **
    ** Please see http://wiki.sk89q.com/wiki/WorldEdit/Bukkit_adapters
    **********************************************

    [08:18:09 INFO]: [Essentials] Enabling Essentials vTeamCity
    [08:18:09 INFO]: Bukkit version format changed. Version not checked.
    [08:18:09 INFO]: git-Spigot-e6f93f4-935f18b (MC: 1.9.2)
    [08:18:09 INFO]: 1.9.2-R0.1-SNAPSHOT
    [08:18:09 INFO]: Using locale en_US
    [08:18:09 INFO]: Using locale en_US
    [08:18:09 INFO]: Essentials: Using config file enhanced permissions.
    [08:18:09 INFO]: Permissions listed in as player-commands will be given to all u
    sers.
    [08:18:09 INFO]: [AntiLag] Enabling AntiLag v2.0
    [08:18:09 INFO]: [EssentialsChat] Enabling EssentialsChat vTeamCity
    [08:18:09 INFO]: [PermissionsEx] Enabling PermissionsEx v1.23.4
    [08:18:09 INFO]: [PermissionsEx] Initializing file backend
    [08:18:09 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 perm
    issions file!
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.j
    ava:321) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.backends.file.FileBackend.<init>(FileBackend.j
    ava:120) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    ~[?:1.8.0_91]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    ~[?:1.8.0_91]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce) ~[?:1.8.0_91]
    at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_9
    1]
    at ru.tehkode.permissions.backends.PermissionBackend.getBackend(Permissi
    onBackend.java:392) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.backends.PermissionBackend.getBackend(Permissi
    onBackend.java:367) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.PermissionManager.createBackend(PermissionMana
    ger.java:624) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager
    .java:606) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManage
    r.java:693) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.jav
    a:67) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.ja
    va:175) [PermissionsEx-1.23.4%20(1).jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [sp
    igot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:340) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:405) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.jav
    a:361) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.
    java:321) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:4
    11) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:3
    76) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:3
    31) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.jav
    a:269) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java
    :527) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing
    a block mapping
    in 'string', line 1, column 1:
    groups:
    ^
    expected <block end>, but found BlockEntry
    in 'string', line 38, column 1:
    - towny.command.resident.*
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
    nfiguration.java:56) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileCo
    nfig.java:68) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
    n.java:184) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
    n.java:130) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:
    38) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.j
    ava:309) ~[PermissionsEx-1.23.4%20(1).jar:?]
    ... 23 more
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapp
    ing
    in 'string', line 1, column 1:
    groups:
    ^
    expected <block end>, but found BlockEntry
    in 'string', line 38, column 1:
    - towny.command.resident.*
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:570) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~
    [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
    ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :224) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~
    [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:120) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot.jar:gi
    t-Spigot-e6f93f4-935f18b]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot.jar:git-Spigot-e
    6f93f4-935f18b]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
    nfiguration.java:54) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at ru.tehkode.permissions.backends.file.FileConfig.loadFromString(FileCo
    nfig.java:68) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
    n.java:184) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguratio
    n.java:130) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at ru.tehkode.permissions.backends.file.FileConfig.load(FileConfig.java:
    38) ~[PermissionsEx-1.23.4%20(1).jar:?]
    at ru.tehkode.permissions.backends.file.FileBackend.reload(FileBackend.j
    ava:309) ~[PermissionsEx-1.23.4%20(1).jar:?]
    ... 23 more
    [08:18:09 INFO]: [PermissionsEx] Disabling PermissionsEx v1.23.4
    [08:18:09 INFO]: WEPIF: Using the Bukkit Permissions API.
    [08:18:09 INFO]: Essentials: Using PermissionsEx based permissions.
    [08:18:09 ERROR]: Could not pass event PluginDisableEvent to Essentials vTeamCit
    y
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:310) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:502) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:487) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoade
    r.java:358) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.ja
    va:279) [PermissionsEx-1.23.4%20(1).jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [sp
    igot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:340) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:405) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.jav
    a:361) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.
    java:321) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:4
    11) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:3
    76) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:3
    31) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.jav
    a:269) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java
    :527) [spigot.jar:git-Spigot-e6f93f4-935f18b]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
    Caused by: ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permission
    s manager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:405) ~[?:?]
    at com.earth2me.essentials.perm.PermissionsExHandler.<init>(PermissionsE
    xHandler.java:17) ~[?:?]
    at com.earth2me.essentials.perm.PermissionsHandler.checkPermissions(Perm
    issionsHandler.java:121) ~[?:?]
    at com.earth2me.essentials.EssentialsPluginListener.onPluginDisable(Esse
    ntialsPluginListener.java:48) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
    _91]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
    _91]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .8.0_91]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:306) ~[spigot.jar:git-Spigot-e6f93f4-935f18b]
    ... 16 more
    [08:18:09 INFO]: WEPIF: Using the Bukkit Permissions API.
    [08:18:09 INFO]: [PlayTime] Enabling PlayTime v1.0
    [08:18:09 INFO]: [Towny] Enabling Towny v0.91.1.0
    [08:18:09 INFO]: ==================== Towny ========================
    [08:18:09 INFO]: [Towny] Database: [Load] flatfile [Save] flatfile
    [08:18:09 ERROR]: [Towny] Plugin Towny v0.91.1.0 has failed to register events f
    or class com.palmergames.bukkit.towny.permissions.PEXSource$PEXCustomEventListen
    er because ru/tehkode/permissions/events/PermissionSystemEvent does not exist.
    [08:18:09 WARN]: [Towny] Error: No compatible Economy plugins found. You need iC
    onomy 5.01, or the vault/Register.jar with any of the supported eco systems.
    [08:18:09 INFO]: [Towny] Using: PermissionsEX v1.23.4
    [08:18:09 INFO]: [Towny] Time until a New Day: 3 hours, 41 minutes, 51 seconds
    [08:18:09 INFO]: =============================================================
    [08:18:09 INFO]: [Towny] Version: 0.91.1.0 - Mod Enabled
    [08:18:09 INFO]: =============================================================
    [08:18:09 INFO]: [CommandSign] Enabling CommandSign v1.4.0
    [08:18:10 INFO]: [CommandSign] CommandSigns properly enabled !
    [08:18:10 INFO]: [EssentialsSpawn] Enabling EssentialsSpawn vTeamCity
    [08:18:10 INFO]: [MyCommand] Enabling MyCommand v5.2.6
    [08:18:10 INFO]: *-=-=-=-=-=-=-=-=-=-* MyCommand *-=-=-=-=-=-=-=-=-=-=-*
    [08:18:10 INFO]: | Vault : Not found! Using BukkitPermissions
    [08:18:10 INFO]: | No Economy Support without Vault!
    [08:18:10 INFO]: | Config : Seems OK.
    [08:18:10 INFO]: | PlaceholderAPI: Not Found
    [08:18:10 INFO]: | Custom commands loaded : 39
    [08:18:10 INFO]: | Version: 5.2.6
    [08:18:10 INFO]: | Author : emmerrei a.k.a Ivanpro
    [08:18:10 INFO]: *-=-=-=-=-=-=-=-=-=-* Done! *-=-=-=-=-=-=-=-=-=-=-*
    [08:18:10 INFO]: [WorldGuard] Enabling WorldGuard v6.1
    [08:18:10 INFO]: [WorldGuard] (world) TNT ignition is PERMITTED.
    [08:18:10 INFO]: [WorldGuard] (world) Lighters are PERMITTED.
    [08:18:10 INFO]: [WorldGuard] (world) Lava fire is blocked.
    [08:18:10 INFO]: [WorldGuard] (world) Fire spread is UNRESTRICTED.
    [08:18:10 INFO]: [WorldGuard] Loaded configuration for world 'world'
    [08:18:10 INFO]: [WorldGuard] (world_nether) TNT ignition is PERMITTED.
    [08:18:10 INFO]: [WorldGuard] (world_nether) Lighters are PERMITTED.
    [08:18:10 INFO]: [WorldGuard] (world_nether) Lava fire is blocked.
    [08:18:10 INFO]: [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
    [08:18:10 INFO]: [WorldGuard] Loaded configuration for world 'world_nether'
    [08:18:10 INFO]: [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
    [08:18:10 INFO]: [WorldGuard] (world_the_end) Lighters are PERMITTED.
    [08:18:10 INFO]: [WorldGuard] (world_the_end) Lava fire is blocked.
    [08:18:10 INFO]: [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
    [08:18:10 INFO]: [WorldGuard] Loaded configuration for world 'world_the_end'
    [08:18:10 INFO]: [WorldGuard] Loading region data...
    [08:18:10 INFO]: [NoCheatPlus] Enabling NoCheatPlus v3.14.0-SNAPSHOT-sMD5NET-b96
    0
    [08:18:10 INFO]: [NoCheatPlus] McAccess set to: 1.9 / Spigot-CB-1.9_R1
    [08:18:10 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.5 blocks.
    [08:18:10 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.6.1 blocks.
    [08:18:10 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.7.2 blocks.
    [08:18:10 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.8 blocks.
    [08:18:10 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.9 blocks.
    [08:18:10 INFO]: [NoCheatPlus] Inventory checks: FastConsume is available, disab
    led InstantEat.
    [08:18:10 INFO]: [NoCheatPlus] Adding packet level hooks for ProtocolLib (MC 1.9
    .2)...
    [08:18:10 INFO]: [NoCheatPlus] Available (and activated) packet level hooks: Use
    EntityAdapter | MovingFlying | OutgoingPosition | KeepAliveAdapter
    [08:18:10 INFO]: [NoCheatPlus] Force disable FastHeal on Minecraft 1.9 and later
    .
    [08:18:10 INFO]: [NoCheatPlus] Version 3.14.0-SNAPSHOT-sMD5NET-b960 is enabled.
    [08:18:10 INFO]: [KitAdder] Enabling KitAdder v2.4
    [08:18:10 INFO]: [KitAdder] KitAdder plugin has been enabled!
    [08:18:10 INFO]: [HolographicDisplays] Enabling HolographicDisplays v2.1.12
    [08:18:10 INFO]: [HolographicDisplays] Found ProtocolLib, adding support for pla
    yer relative variables.
    [08:18:10 INFO]: Server permissions file permissions.yml is empty, ignoring it
    [08:18:10 INFO]: Done (3.613s)! For help, type "help" or "?"
    [08:18:10 INFO]: [NoCheatPlus] Post-enable running...
    [08:18:10 INFO]: [NoCheatPlus] Disable SoundDistance due to incompatibilities.
    [08:18:10 INFO]: [NoCheatPlus] Added hook: AllViolations(NCP) [1.0].
    [08:18:10 INFO]: [NoCheatPlus] Post-enable finished.
    [08:18:11 INFO]: [HolographicDisplays] Found a new version available: v2.1.13
    [08:18:11 INFO]: [HolographicDisplays] Download it on Bukkit Dev:
    [08:18:11 INFO]: [HolographicDisplays] dev.bukkit.org/bukkit-plugins/holographic
    -displays
    >
     
  4. Okay there is something wrong with your permissions file. I can not tell exactly what the problem is, so can you send my a copy of that too?
     
  5. Delete your permissions.yml and your server will work fine. Also make sure you are using the correct version of PermissionsEx.
     
  6. Code (Text):
    in 'string', line 38, column 1:
    - towny.command.resident.*
    ^
    There is your problem, Don't listen to these guys. If you read carefully through the console or logs 9/10 you will find the problem. - Most are straight forward to fix. The Permission Node is correct, check that the perm is inline with the other before it. There must be 4 spaces between the start of the line and the '-'.

    Example
    Code (Text):

    groups:
      member:
        permissions:
        - bukkit.command.list
        - essentials.balance
        - essentials.balancetop