PEXPlugins / PermissionsEx

A powerful permissions plugin for Minecraft
https://permissionsex.stellardrift.ca
Apache License 2.0
481 stars 297 forks source link

Pex not working... big error... #866

Closed seedsoms closed 11 years ago

seedsoms commented 11 years ago

so I set up the permissions file by opening it up in a text editor. I thought it would take way too long ingame. I'm not sure of versions numbers if pex, but I'm using the newest version available as of 7/11/13 from the bukkir forums. My server was running a version of bukkit for 1.6.2. I logged in to my server and I couldn't do any commands or even chat despite myself being op. In the console it appeared that pex had disabled every plugin including itself. I copied and pasted some various errors out of the console that could be related to the problem. Please note that some of these errors were not all next to each other, but some were in other places of the console. All of these errors occured opon starting my server:

11.07 18:23:19 [Server] INFO ^ 11.07 18:23:19 [Server] INFO warrior 11.07 18:23:19 [Server] INFO in "", line 71, column 3: 11.07 18:23:19 [Server] INFO while scanning a simple key 11.07 18:23:19 [Server] WARNING Error loading permissions file: 11.07 18:23:19 [Server] INFO [Vault][Chat] PermissionsEx_Chat un-hooked. 11.07 18:23:19 [Server] INFO [Vault][Permission] PermissionsEx un-hooked. 11.07 18:23:19 [Server] INFO WEPIF: PermissionsEx detected! Using PermissionsEx for permissions. 11.07 18:23:19 [Server] INFO Disabling PermissionsEx v1.19.6 11.07 18:23:19 [Server] INFO Disabled. 11.07 18:23:03 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) 11.07 18:23:03 [Server] INFO at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:302) 11.07 18:23:03 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:690) 11.07 18:23:03 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerList.disconnect(PlayerList.java:258) 11.07 18:23:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 11.07 18:23:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 11.07 18:23:03 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 11.07 18:23:03 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 11.07 18:23:03 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) 11.07 18:23:03 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 11.07 18:23:03 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 11.07 18:23:03 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11.07 18:23:03 [Server] INFO at com.jackproehl.combatlog.listeners.PlayerQuitListener.onPlayerQuit(PlayerQuitListener.java:24) 11.07 18:23:03 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:111) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:116) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:125) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:150) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:201) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:135) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.backends.FileBackend.getUser(FileBackend.java:111) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.backends.file.FileUser.(FileUser.java:39) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.backends.file.FileEntity.(FileEntity.java:42) 11.07 18:23:03 [Server] INFO at ru.tehkode.permissions.backends.file.FileEntity.getNode(FileEntity.java:48) 11.07 18:23:03 [Server] INFO java.lang.NullPointerException 11.07 18:23:03 [Server] SEVERE Error occurred with PermissionsEx! Please post it to https://github.com/PEXPlugins/PermissionsEx/issues/new?title=&body=%23%23%23+Description+%23%23%23%0A%0A%5BInsert+description+of+issue+here%5D%0A%23%23%23+What+PEX+Saw+%23%23%23%0A%0A**Reason%3A**+While+performing+PEX+check%0A%0A**Stacktrace%3A**%0A%60%60%60%0Ajava.lang.NullPointerException%0A%09at+ru.tehkode.permissions.backends.file.FileEntity.getNode%28FileEntity.java%3A48%29%0A%09at+ru.tehkode.permissions.backends.file.FileEntity.%3Cinit%3E%28FileEntity.java%3A42%29%0A%09at+ru.tehkode.permissions.backends.file.FileUser.%3Cinit%3E%28FileUser.java%3A39%29%0A%09at+ru.tehkode.permissions.backends.FileBackend.getUser%28FileBackend.java%3A111%29%0A%09at+ru.tehkode.permissions.PermissionManager.getUser%28PermissionManager.java%3A116%29%0A%09at+ru.tehkode.permissions.PermissionManager.getUser%28PermissionManager.java%3A135%29%0A%09at+ru.tehkode.permissions.bukkit.PermissionsEx.getUser%28PermissionsEx.java%3A201%29%0A%09at+ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck%28PermissiblePEX.java%3A150%29%0A%09at+ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission%28PermissiblePEX.java%3A125%29%0A%09at+ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission%28PermissiblePEX.java%3A116%29%0A%09at+org.bukkit.craftbukkit.v1_6_R2.entity.CraftHumanEntity.hasPermission%28CraftHumanEntity.java%3A111%29%0A%09at+com.jackproehl.combatlog.listeners.PlayerQuitListener.onPlayerQuit%28PlayerQuitListener.java%3A24%29%0A%09at+sun.reflect.NativeMethodAccessorImpl.invoke0%28Native+Method%29%0A%09at+sun.reflect.NativeMethodAccessorImpl.invoke%28Unknown+Source%29%0A%09at+sun.reflect.DelegatingMethodAccessorImpl.invoke%28Unknown+Source%29%0A%09at+java.lang.reflect.Method.invoke%28Unknown+Source%29%0A%09at+org.bukkit.plugin.java.JavaPluginLoader%241.execute%28JavaPluginLoader.java%3A425%29%0A%09at+org.bukkit.plugin.RegisteredListener.callEvent%28RegisteredListener.java%3A62%29%0A%09at+org.bukkit.plugin.SimplePluginManager.fireEvent%28SimplePluginManager.java%3A477%29%0A%09at+org.bukkit.plugin.SimplePluginManager.callEvent%28SimplePluginManager.java%3A462%29%0A%09at+net.minecraft.server.v1_6_R2.PlayerList.disconnect%28PlayerList.java%3A258%29%0A%09at+net.minecraft.server.v1_6_R2.PlayerConnection.a%28PlayerConnection.java%3A690%29%0A%09at+net.minecraft.server.v1_6_R2.NetworkManager.b%28NetworkManager.java%3A302%29%0A%09at+net.minecraft.server.v1_6_R2.PlayerConnection.e%28PlayerConnection.java%3A118%29%0A%09at+net.minecraft.server.v1_6_R2.ServerConnection.b%28SourceFile%3A37%29%0A%09at+net.minecraft.server.v1_6_R2.DedicatedServerConnection.b%28SourceFile%3A30%29%0A%09at+net.minecraft.server.v1_6_R2.MinecraftServer.t%28MinecraftServer.java%3A590%29%0A%09at+net.minecraft.server.v1_6_R2.DedicatedServer.t%28DedicatedServer.java%3A226%29%0A%09at+net.minecraft.server.v1_6_R2.MinecraftServer.s%28MinecraftServer.java%3A486%29%0A%09at+net.minecraft.server.v1_6_R2.MinecraftServer.run%28MinecraftServer.java%3A419%29%0A%09at+net.minecraft.server.v1_6_R2.ThreadServerApplication.run%28SourceFile%3A582%29%0A%60%60%60%0A%23%23%23+PEX+configuration+%23%23%23%0A%60%60%60yaml%0Apermissions%3A%0A++backend%3A+file%0A++backends%3A%0A++++file%3A%0A++++++file%3A+permissions.yml%0A++superperms%3A+%7B%7D%0A%60%60%60%0A%23%23%23+Permissions+database+%23%23%23%0A%60%60%60yaml%0Agroups%3A%0D%0A++peasant%3A%0D%0A++++default%3A+true%0D%0A++++permissions%3A%0D%0A++++-+-bukkit.command.kill%0D%0A++++-+craftbook.mech.elevator.use%0D%0A++++-+essentials.kits.noob%0D%0A++++-+essentials.kits.starter%0D%0A++++-+essentials.signs.use.*%0D%0A++++-+multiverse.portal.access%0D%0A++++-+multiverse.portal.access.*%0D%0A++++-+-bukkit.command.plugins%0D%0A++++-+essentials.list%0D%0A++++-+essentials.motd%0D%0A++++-+essentials.spawn%0D%0A++++-+essentials.jail.allow.help%0D%0A++++-+essentials.jail.allow.helpop%0D%0A++++-+essentials.balance%0D%0A++++-+essentials.kit%0D%0A++++-+essentials.pay%0D%0A++++-+essentials.mail%0D%0A++++-+essentials.mail.send%0D%0A++++-+essentials.msg%0D%0A++++-+essentials.sethome%0D%0A++++-+essentials.home%0D%0A++++-+essentials.delhome%0D%0A++++-+essentials.tpa%0D%0A++++-+essentials.tpaccept%0D%0A++++-+essentials.tpahere%0D%0A++++-+essentials.tpdeny%0D%0A++++-+essentials.warp%0D%0A++++-+modifyworld.*%0D%0A++++-+essentials.helpop%0D%0A++++-+towny.chat.local%0D%0A++++-+essentials.sethome.bed%0D%0A++++-+essentials.r%0D%0A++++prefix%3A+%27%268%5B%267Peasant%268%5D%26e+%27%0D%0A++villager%3A%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+peasant%0D%0A++++permissions%3A%0D%0A++++-+craftbook.mech.elevator%0D%0A++++-+essentials.balance.others%0D%0A++++-+essentials.balancetop%0D%0A++++-+essentials.getpos%0D%0A++++-+essentials.hat%0D%0A++++-+essentials.ignore%0D%0A++++-+essentials.nick%0D%0A++++-+essentials.time%0D%0A++++-+essentials.warp.list%0D%0A++++-+essentials.jail.allow.mail%0D%0A++++-+essentials.jail.allow.seen%0D%0A++++-+essentials.back%0D%0A++++-+essentials.afk%0D%0A++++-+essentials.afk.auto%0D%0A++++-+essentials.ignore%0D%0A++++prefix%3A+%27%262%5B%265Villager%262%5D%26f+%27%0D%0A++merchant%3A%0D%0A++++deafault%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+villager%0D%0A++++permissions%3A%0D%0A++++-+essentials.back.ondeath%0D%0A++++-+essentials.chat.color%0D%0A++++-+essentials.msg.color%0D%0A++++-+essentials.suicide%0D%0A++++-+essentials.clearinventory%0D%0A++++-+essentials.nick.color%0D%0A++++prefix%3A+%27%268%5B%266Merchant%268%5D+%27%0D%0A++warrior%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+merchant%0D%0A++++permissions%3A%0D%0A++++-+essentials.workbench%0D%0A++++-+essentials.signs.create.disposal%0D%0A++++-+essentials.signs.break.disposal%0D%0A++++-+essentials.chat.format%0D%0A++++-+essentials.nick.format%0D%0A++++-+essentials.me%0D%0A++++-+essentials.enderchest%0D%0A++++-+essentials.msg.format%0D%0A++++-+essentials.spawner.zombie%0D%0A++++-+essentials.spawner.skeleton%0D%0A++++-+essentials.spawner.spider+%0D%0A++++-+essentials.near%0D%0A++++prefix%3A+%27%260%5B%264Warrior%260%5D+%27%0D%0A++emperor%3A%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+warrior%0D%0A++++permissions%3A%0D%0A++++-+essentials.fly%0D%0A++++-+essentials.heal%0D%0A++++-+essentials.feed%0D%0A++++-+essentials.repair.hand%0D%0A++++-+essentials.weather.*%0D%0A++++-+essentials.time.set.*%0D%0A++++-+essentials.spawner.pig%0D%0A++++-+essentials.spawner.chicken%0D%0A++++-+essentials.spawner.cow%0D%0A++++-+essentials.spawner.creeper%0D%0A++++-+essentials.fly.safelogin%0D%0A++++prefix%3A+%27%260%5B%26bEmperor%260%5D%0D%0A++chatmod%3A%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+emperor%0D%0A++++permissions%3A%0D%0A++++-+essentials.mute%0D%0A++++-+essentials.jail%0D%0A++++-+essentials.jail.allow.jails%0D%0A++++-+essentials.tempban%0D%0A++++prefix%3A+%27%268%5B%266Chat%265Mod%268%5D%0D%0A++++suffix%3A+%27+%261%5B%262Staff%261%5D%27%0D%0A++moderator%3A%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+chatmod%0D%0A++++permissions%3A%0D%0A++++-+bukkit.ban%0D%0A++++-+essentials.vanish%0D%0A++++-+bukkit.tp%0D%0A++++-+essentials.helpop.receive%0D%0A++++-+essentials.home.others%0D%0A++++-+essentials.invsee%0D%0A++++prefix%3A+%27%268%5B%266Moderator%268%5D%0D%0A++++suffix%3A+%27+%261%5B%262Staff%261%5D%27%0D%0A++seniormod%3A%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+moderator%0D%0A++++permissions%3A%0D%0A++++-+*%0D%0A++++prefix%3A+%27%268%5B%266Senior%265Mod%268%5D+%27%0D%0A++++suffix%3A+%27+%261%5B%262Operator%261%5D%27%0D%0A++admin%3A+%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+moderator%0D%0A++++permissions%3A%0D%0A++++-+%27*%27%0D%0A++++prefix%3A+%27%260%26ka%26r%26l%264Admin%260%26ka%26r%264+%27%0D%0A++++suffix%3A+%27+%261%5B%262Operator%261%5D%27%0D%0A++owner%3A%0D%0A++++default%3A+false%0D%0A++++inheritance%3A%0D%0A++++-+admin%0D%0A++++permissions%0D%0A++++-+*%0D%0A++++prefix%3A+%27%262%26ka%26r%266%26lOwner%262%26ka%26r%264+%27%0D%0A++++suffix%3A+%27+%261%5B%262Operator%261%5D%27%0D%0Ausers%3A%0D%0A++Wheresthebeef123%3A%0D%0A++++group%3A%0D%0A++++-+owner%0D%0A++++permissions%3A%0D%0A++++-+%27*%27%0D%0A%60%60%60%0A§r. Full error:

Not sure if it will help, but here is my permissions.yml.

groups: peasant: default: true permissions:

And my config.yml is unedited.

Thanks!

zml2008 commented 11 years ago

Syntax error in your permissions file. Check it at http://yaml-online-parser.appspot.com