Trying to Set Permission to Owner, but gets error
Closed this issue · 2 comments
ThomasBOIisbest commented
Description
[I am trying to set my permission to Owner, but it gives me the error shown below.]
What PEX Saw
Reason: While CONSOLE was executing /pex
Stacktrace:
java.lang.RuntimeException: java.lang.NullPointerException
at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:121)
at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:159)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:512)
at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java:262)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(Unknown Source)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(Unknown Source)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.NullPointerException
at ru.tehkode.permissions.backends.FileBackend.getRegisteredUsers(FileBackend.java:196)
at ru.tehkode.permissions.PermissionBackend.getUsers(PermissionBackend.java:203)
at ru.tehkode.permissions.PermissionManager.getUsers(PermissionManager.java:144)
at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:106)
at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:73)
at ru.tehkode.permissions.bukkit.commands.UserCommands.userSetGroup(UserCommands.java:520)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:252)
at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:114)
... 10 more
PEX configuration
permissions:
backend: file
backends:
file:
file: permissions.yml
superperms: {}
Permissions database
groups:
Member:
prefix: '&6[&9Member&6]&7 '
default: true
permissions:
- essentials.ignore
- modifyworld.*
- essentials.help
- essentials.rules
- essentials.motd
- essentials.news
- essentials.customtext
- essentials.enderchest
- essentials.afk
- essentials.afk.auto
- essentials.sell
- essentials.home
- essentials.delhome
- essentials.spawn
- essentials.kits.tools
- essentials.kit
- essentials.kits
- essentials.pay
- essentials.balance
- essentials.bal
- essentials.msg
- essentials.msg.color
- essentials.r
- essentials.reply
- essentials.mail
- essentials.mail.send
- essentials.ping
- essentials.nick
- essentials.near
- essentials.worth
- essentials.signs.use.free
- essentials.signs.use.buy
- essentials.signs.use.warp
- essentials.balance.others
- essentials.balancetop
- essentials.baltop
- essentials.sethome
- essentials.sethome.multiple
- essentials.back
- essentials.back.ondeath
- essentials.tpa
- essentials.tpaccept
- essentials.tpahere
- essentials.tpdeny
- essentials.tpno
Admin:
prefix: &6[&aAdmin&6]&c '
permissions:
- '*'
AdAdmin:
prefix: '&6[&5Advanced Admin&6]&c '
permissions:
- '*'
HAdmin:
prefix: '&6[&dHead Admin&6]&c '
permissions:
- '*'
CoOwner:
prefix: '&6[&cCo-Owner&6]&c '
permissions:
- '*'
Owner:
perfix: '&6[&4Owner&6]&c '
permissions:
- '*'
.
zml2008 commented
1_5_R3
not to mention looks around everything else
ThomasBOIisbest commented
What do you mean NOT PLANNED?