TownyNameUpdater Error

Discussion in 'Spigot Plugin Help' started by Viariouz, Jun 21, 2015.

  1. Hello,
    I'm currently getting this error while using TownyNameUpdater.
    Code (Text):
    [00:29:11 ERROR]: Could not pass event PlayerJoinEvent to TownyNameUpdater v1.0
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:296) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:156) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:817) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
    Caused by: java.lang.NoSuchMethodError: com.palmergames.bukkit.towny.db.TownyDataSource.renamePlayer(Lcom/palmergames/bukkit/towny/object/Resident;Ljava/lang/String;)V
            at backcab.TownyNameUpdater.TownyNameUpdater.onLogin(TownyNameUpdater.java:44) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
            at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-d2856ae-8f0f4ed]
            ... 14 more
     
    I tested this account by changing the case of the letters of my username and logging back in. When I added this to Towny I simply put the plugin on the server with Towny. Are there any other plugins required to run alongside Towny and TownyNameUpdater? I'm not completely sure how to fix this right now.

    Thank you for your help!
     
  2. What towny version are you using?
     
  3. Towny version: 0.89.2.0
     
  4. This project only works with Towny versions 0.89.2.2 and newer.
     
    • Winner Winner x 1
    • Informative Informative x 1
  5. Can you send me a link to "TownyNameUpdater" ?