Residence

Residence

960k Downloads

Multiworld error pls check it, tnx

BioBG opened this issue ยท 14 comments

commented

02:28:53 [INFO] [Lockette] Enabled link to plugin GroupManager for Groups/Permissions, version 1.7 (Phoenix)
02:28:53 [INFO] [Lockette] Ops file overridden, using linked plugin for admin permissions.
02:28:53 [INFO] [BlockHat] Found Permissions plugin. Using Permissions now.
02:28:53 [INFO] BlockHat version 1.7 by nmc94 is enabled!
02:28:53 [INFO] Preparing start region for level 3 (Seed: -586537219)
02:28:53 [SEVERE] Could not pass event WORLD_LOAD to Residence
java.lang.ClassCastException: com.bekvon.bukkit.residence.listeners.ResidenceEntityListener cannot be cast to org.bukkit.event.world.WorldListener
at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:668)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:585)
at multiworld.data.DataHandler.makeWorld(DataHandler.java:461)
at multiworld.data.DataHandler.load(DataHandler.java:222)
at multiworld.data.DataHandler.(DataHandler.java:62)
at multiworld.MultiWorldPlugin.onEnable(MultiWorldPlugin.java:98)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
02:28:53 [INFO] Preparing start region for level 4 (Seed: -654146182)
02:28:54 [SEVERE] Could not pass event WORLD_LOAD to Residence
java.lang.ClassCastException: com.bekvon.bukkit.residence.listeners.ResidenceEntityListener cannot be cast to org.bukkit.event.world.WorldListener
at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:668)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:585)
at multiworld.data.DataHandler.makeWorld(DataHandler.java:461)
at multiworld.data.DataHandler.load(DataHandler.java:222)
at multiworld.data.DataHandler.(DataHandler.java:62)
at multiworld.MultiWorldPlugin.onEnable(MultiWorldPlugin.java:98)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
02:28:54 [INFO] [MultiWorld] Enabling MultiWorld
02:28:54 [INFO] [MultiWorld] v2.3.0 enabled.
02:28:54 [INFO] WorldEdit 5.0 enabled.

Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)

commented

i dont know is this is the place to report the error/bug, if is not pls excuse me.

commented

Fixed, re-download dev build. :)

commented

ooo tnx veeeeery much you save my live :)))) tnx tnx :))

commented

Ah. I should probably add these bug fixes in my version. xD

commented

one more thing can you add per world pvp control ?
i have a survival world but cant add pvp=true

commented

ask feildmaster on the devbukkit project page, im not working on Residence much anymore, im just fixing the occasional bug

commented

17:24:26 [SEVERE] Could not pass event PLAYER_MOVE to Residence
java.lang.StringIndexOutOfBoundsException: String index out of range: 7
at java.lang.String.charAt(String.java:694)
at java.util.regex.Matcher.appendReplacement(Matcher.java:716)
at java.util.regex.Matcher.replaceAll(Matcher.java:823)
at java.lang.String.replaceAll(String.java:2201)
at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.insertMessages(ResidencePlayerListener.java:350)
at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.onPlayerMove(ResidencePlayerListener.java:265)
at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:307)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:182)
at net.minecraft.server.Packet10Flying.a(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

pls see this error

commented

one more there is a error like this when /res tp name - to some residence
i disable /res tp for that reason

commented

Well, the first error looks like someone is using weird / invalid characters in their enter or leave message for their residence. Best I can do about that is simply catching the error, thereby preventing it from hitting the console and then basically sending a blank enter or leave message when someone has invalid characters in it. Anyway, I just pushed a fix for it. As for your tp error, post the error if you can, since its probably something different.

commented

can i block this characters or define new one ?

here:

This is the residence name filter, that filters out invalid characters. Google "Java RegEx" or "Java Regular Expressions" for more info on how they work.

ResidenceNameRegex: '[^a-zA-Z0-9\\-\\_]'
commented

i thing i found one old log

2011-10-21 18:27:10 [SEVERE] Could not pass event PLAYER_MOVE to Residence
java.lang.StringIndexOutOfBoundsException: String index out of range: 9
at java.lang.String.charAt(String.java:694)
at java.util.regex.Matcher.appendReplacement(Matcher.java:716)
at java.util.regex.Matcher.replaceAll(Matcher.java:823)
at java.lang.String.replaceAll(String.java:2201)
at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.insertMessages(ResidencePlayerListener.java:350)
at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.onPlayerMove(ResidencePlayerListener.java:309)
at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:302)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:180)
at net.minecraft.server.Packet10Flying.a(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

this shod be the error from /res to

commented

here againt crach my server this error

15:59:04 [SEVERE] Could not pass event PLAYER_MOVE to Residence
java.lang.StringIndexOutOfBoundsException: String index out of range: 7
at java.lang.String.charAt(String.java:694)
at java.util.regex.Matcher.appendReplacement(Matcher.java:716)
at java.util.regex.Matcher.replaceAll(Matcher.java:823)
at java.lang.String.replaceAll(String.java:2201)
at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.insertMessages(ResidencePlayerListener.java:350)
at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.onPlayerMove(ResidencePlayerListener.java:265)
at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:307)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:182)
at net.minecraft.server.Packet10Flying.a(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

pls help me i have running a srv with 60-80 players and one of those crashes i fatal for me :(

commented

Looks like those error messages are caused by the same thing as the first one, get the newest Residence should fix those too.
http://dev.bukkit.org/server-mods/residence/

commented

Dont have permisions to use res and edit, if i set

# The default group to use if Permissions fails to attach or your not using Permissions.
DefaultGroup: admin

and the moderator have Admin res group, with out this is Defaut group.

here is res config.yml
http://www.text-upload.com/read.php?id=224548&c=2955877

here is GroupManager premissions file:
http://www.text-upload.com/read.php?id=224553&c=6740743

here is screenshot:
http://store.picbg.net/pubpic/B9/40/275fdfec4308b940.png

and the Permissinos group Admin(- '*') have res group: Defaut