Sign in to follow this  
ALMOSTunseen

[3.1.2]Towny Event Issues

Recommended Posts

I have just recently install the towny plugin, v0.80.1.0

My console gets constantly spammed by these messages-

2012-09-23 12:27:42 [sEVERE] Could not pass event BlockPlaceEvent to Towny

org.bukkit.event.EventException

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)

at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:99)

at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:71)

at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)

at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:318)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:647)

at net.minecraft.server.Packet15Place.handle(SourceFile:39)

at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)

at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.util.regex.PatternSyntaxException: Unclosed character class near index 16

[^a-zA-Z0-9._[]-]

^

at java.util.regex.Pattern.error(Pattern.java:1924)

at java.util.regex.Pattern.clazz(Pattern.java:2493)

at java.util.regex.Pattern.sequence(Pattern.java:2030)

at java.util.regex.Pattern.expr(Pattern.java:1964)

at java.util.regex.Pattern.compile(Pattern.java:1665)

at java.util.regex.Pattern.<init>(Pattern.java:1337)

at java.util.regex.Pattern.compile(Pattern.java:1022)

at java.lang.String.replaceAll(String.java:2210)

at com.palmergames.bukkit.util.NameValidation.filterName(NameValidation.java:122)

at com.palmergames.bukkit.util.NameValidation.checkAndFilterPlayerName(NameValidation.java:49)

at com.palmergames.bukkit.towny.db.TownyDatabaseHandler.getResident(TownyDatabaseHandler.java:96)

at com.palmergames.bukkit.towny.utils.PlayerCacheUtil.getPermission(PlayerCacheUtil.java:363)

at com.palmergames.bukkit.towny.utils.PlayerCacheUtil.triggerCacheCreate(PlayerCacheUtil.java:93)

at com.palmergames.bukkit.towny.utils.PlayerCacheUtil.getCachePermission(PlayerCacheUtil.java:68)

at com.palmergames.bukkit.towny.listeners.TownyBlockListener.onBlockPlace(TownyBlockListener.java:175)

at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)


And this,


at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:229)

at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:109)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:545)

at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)

at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)

at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.util.regex.PatternSyntaxException: Unclosed character class near index 16

[^a-zA-Z0-9._[]-]

^

at java.util.regex.Pattern.error(Pattern.java:1924)

at java.util.regex.Pattern.clazz(Pattern.java:2493)

at java.util.regex.Pattern.sequence(Pattern.java:2030)

at java.util.regex.Pattern.expr(Pattern.java:1964)

at java.util.regex.Pattern.compile(Pattern.java:1665)

at java.util.regex.Pattern.<init>(Pattern.java:1337)

at java.util.regex.Pattern.compile(Pattern.java:1022)

at java.lang.String.replaceAll(String.java:2210)

at com.palmergames.bukkit.util.NameValidation.filterName(NameValidation.java:122)

at com.palmergames.bukkit.util.NameValidation.checkAndFilterPlayerName(NameValidation.java:49)

at com.palmergames.bukkit.towny.db.TownyDatabaseHandler.getResident(TownyDatabaseHandler.java:96)

at com.palmergames.bukkit.towny.utils.PlayerCacheUtil.getPermission(PlayerCacheUtil.java:363)

at com.palmergames.bukkit.towny.utils.PlayerCacheUtil.triggerCacheCreate(PlayerCacheUtil.java:96)

at com.palmergames.bukkit.towny.utils.PlayerCacheUtil.getCachePermission(PlayerCacheUtil.java:68)

at com.palmergames.bukkit.towny.listeners.TownyBlockListener.onBlockBreak(TownyBlockListener.java:109)

at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)


What may the problem be? There are also some similar errors like this, regarding other actions.

e.g.


2012-09-23 12:36:16 [sEVERE] Could not pass event PlayerChangePlotEvent to Towny

org.bukkit.event.EventException

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)

at com.palmergames.bukkit.towny.listeners.TownyPlayerListener.onPlayerMoveChunk(TownyPlayerListener.java:386)

at com.palmergames.bukkit.towny.listeners.TownyPlayerListener.onPlayerMove(TownyPlayerListener.java:244)

at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:215)

at net.minecraft.server.Packet10Flying.handle(SourceFile:126)

at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)

at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.util.regex.PatternSyntaxException: Unclosed character class near index 16

[^a-zA-Z0-9._[]-]

^

at java.util.regex.Pattern.error(Pattern.java:1924)

at java.util.regex.Pattern.clazz(Pattern.java:2493)

at java.util.regex.Pattern.sequence(Pattern.java:2030)

at java.util.regex.Pattern.expr(Pattern.java:1964)

at java.util.regex.Pattern.compile(Pattern.java:1665)

at java.util.regex.Pattern.<init>(Pattern.java:1337)

at java.util.regex.Pattern.compile(Pattern.java:1022)

at java.lang.String.replaceAll(String.java:2210)

at com.palmergames.bukkit.util.NameValidation.filterName(NameValidation.java:122)

at com.palmergames.bukkit.util.NameValidation.checkAndFilterPlayerName(NameValidation.java:49)

at com.palmergames.bukkit.towny.db.TownyDatabaseHandler.getResident(TownyDatabaseHandler.java:96)

at com.palmergames.bukkit.towny.Towny.hasPlayerMode(Towny.java:619)

at com.palmergames.bukkit.towny.Towny.hasPlayerMode(Towny.java:613)

at com.palmergames.bukkit.towny.listeners.TownyCustomListener.onPlayerChangePlotEvent(TownyCustomListener.java:40)

at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)

... 20 more

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this