Residence

Residence

960k Downloads

World Flag Manager

nate302 opened this issue ยท 5 comments

commented

CB version: any 1.2.4 build

2012-03-27 23:36:06 [SEVERE] null
java.lang.NullPointerException
at com.bekvon.bukkit.residence.protection.WorldFlagManager.parsePerms(WorldFlagManager.java:98)
at com.bekvon.bukkit.residence.protection.WorldFlagManager.(WorldFlagManager.java:37)
at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:206)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at com.bekvon.bukkit.residence.Residence.setEnabled(Residence.java:1760)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
2012-03-27 23:36:06 [INFO] [Residence] Enabled! Version 2.5.5 by bekvon

commented

Can you give me your residence config file?
I tested on 1.2.4, deleted any flag node, but i could not reproduce the bug

commented

Here's our server's config.

http://pastebin.com/Man0UHww

commented

In your config, the groups that you added are missing the Flags section that appears in the Default group after the Economy section.

commented
   # Flags are checked in the order:
   # 1: Player
   # 2: Group
   # 3: Owner
   # 4: If all others are undefined, reverts to default value (usually true).
   # Flag permissions default to false.
   # These flags settings override the globals.

This is why we don't have that section as it overrides the world globals.

commented

what would be the best way to fix this? And is it required to have these defaults per group to override the default set in the early part of the config, even if we want the default flags/permissions for all groups?