LocalChat v2.3 Error

Discussion in 'Plugin Development' started by SuperMonis, Jul 10, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    SuperMonis

    Plugin can be found here

    I have been using this plugin for a while now and have noticed that my console gets spammed with numerous errors such as "Could not pass event PlayerChatEvent" I suspect this error is happening because the plugin is very old and has not been updated for 2 years along with the developer becoming inactive for almost 2 years. I was wondering on how I would fix this? I don't have much experience with coding plugins since I only make simple things.

    LocalChatListener.class
    Plugin Error
     
  2. Offline

    maved145

    SuperMonis what version of mine craft are you using this plugin on?
     
  3. Offline

    izarooni

    That event has been deprecated for a while. The plugin have to be somewhat remade
     
  4. Offline

    maved145

    SuperMonis and also your crash report isn’t showing the full error.
    You need the bit after the caused by nullPointerException
     
  5. Offline

    xAstraah

    SuperMonis, PlayerChatEvent is deprecated this is why the error is displayed, maybe get someone to update the plugin and change it to a AsyncPlayerChatEvent.
     
  6. Offline

    Wizehh

    You would need to change PlayerChatEvent (now deprecated) to AsyncPlayerChatEvent, and recompile the source - provided, of course, that the author of the plugin allows this.
     
  7. Offline

    maved145

  8. Offline

    xAstraah

    maved145, Just update it to Bukkit 1.7.9-R0.3 .
     
  9. Offline

    SuperMonis

    I'm using this plugin on my 1.7.9 server.
    Here is the full log
     
  10. Offline

    maved145

    SuperMonis ok well i think i fixed it;p

    here you go:
    <Edit by Moderator: Redacted mediafire url>
    i don’t know what the plugin is meant to do so i don’t know if it works or not.
    theres no errors on startup or on the commands so i guess it works.
     
    Last edited by a moderator: Nov 2, 2016
    SuperMonis likes this.
  11. Offline

    SuperMonis

    Thank you, you don't understand how much I appreciate you taking your own time to fix an issue of mine :D.
     
  12. Offline

    maved145

    SuperMonis check my recent post ^^ got the link :) tell me if it works.
     
    SuperMonis likes this.
  13. Offline

    SuperMonis

    [quote uid=90857654 name="maved145" post=2646417]SuperMonis ok well i think i fixed it;p

    here you go:
    <Edit by Moderator: Redacted mediafire url>
    i don’t know what the plugin is meant to do so i don’t know if it works or not.
    theres no errors on startup or on the commands so i guess it works.[/quote]

    Everything seems to be working perfectly, thank you so much kind sir. By the way the plugin basically allows players to talk in local chat within a 180x180 radius allowing players to roleplay without spamming the normal chat. It's hard to talk in chat with 250+ players roleplaying, haha.
     
    Last edited by a moderator: Nov 2, 2016
  14. Offline

    maved145

    SuperMonis im glad i could help you! If you come too any later problems with the plugin shoot me a private message :)
     
  15. Offline

    TheMrGong

    SuperMonis essentials already comes with that feature.
     
  16. Offline

    Jade

    Locked. We do not support unofficial builds.
     
Thread Status:
Not open for further replies.

Share This Page