Can anyone update this plugin to 1.3 for me? It works fine except that after around 2 minutes of use local chat stops working and it gives chat listener errors. Hopefully it would be a quick and easy fix. http://dev.bukkit.org/server-mods/local-chat-ooc-shout/
Error that comes up after 2 minutes use. Code: [SEVERE] Could not pass event PlayerChatEvent to LocalChat org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:517) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at com.gc13.localchat.LocalChatListener.localChat(LocalChatListener.java:152) at sun.reflect.GeneratedMethodAccessor78.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:339) ... 8 more P.S. I also got a problem where the plugin didnt load chat formats for other worlds untill I typed /lc reload. It would just default to the normal minecraft chat system in any world other than world.
It isn't illegal, what is "illegal" is if you try to rip off their code, and their license prevents that. You CAN just go and decompile any plugin... there's really no way to stop that, Java being as it is. We decompile every file at BukkitDev
Errr... We were discussing how it could be updated, and whether that was ok or not.. I still need those errors if you want me to try and update this.
Oops, your post didn't show up in my alerts for some reason so I didn't catch it. Checking into it now. Just out of curiosity, do you have the 'spy_tag' value set in the config? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
spy_tag: '[SPY]' One more thing, can you add a "No one hears you" function with a configurable message? So if no1 is within the range of your chat it outputs the message. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Thanks for the info! I have always heard that it was illegal to see source code through decompiling. I can learn 10x more things now >=D
I was under the impression that decompiling was frowned upon here (not illegal unless you steal from it)... Until the Post Your Desktop thread, where a dozen or so people expressed that they use a decompiler.
Once again this thread isnt a "is it legal to decompile plugins" thread. Please only post here regarding the development of the plugin.
Well, if it is illegal, we wouldn't want to decompile the plugin now, would we? Decompiling it would be a huge part of "the development of the plugin". And we're basically giving you free "bumps" -- Every time we comment, you get exposure. I'll now refrain from further comments.
Just relax a bit . People here are discussing your post, and a question that was brought up because of it. Like np98765 said, you're only getting more eyes because of that. I've already taken up the task of looking into your plugin, so I don't think it's too much to ask to discuss an ethical issue along with it. You are requesting that we help you, after all.
Btw, make sure you read that suggestion about no one hears you above. It might have gotten drowned out.
The error references a PlayerChatEvent, maybe making it Async would help? If no one is actively updating this, and I'm aloud to update this (giving credit of course), then I'll do it. Also, I believe that the exact features you are looking for are in Essentials
Ok, then I'll try to update it for 1.3 and I'll give the previous author credit Can anyone decompile this or point me to a decompiler for Mac :/ Maybe np98765? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
h31ix is already working on this, its redundant to have 2 people working on the same thing simultaneously.
Ok, well if h31ix wants me to take it up, I can You are my savior. That is the best thing since Asynchronous methods in Bukkit. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I'm also busy with all kinds of other things. As long as you are getting what you want, I don't think you should be lecturing people on redundant tasks. PogoStick29 feel free to work on this.
Ok, I will gustebeast before I begin updating this plugin, please answer the following questions: 1. Do you use Essentials? 2. If you do, then is the built-in local chat / shout function enough for you? (See the config) EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I am currently using EssentialsChat for local chat and honestly, it barely passes. Theres no configurable commands so you have to always use !, the local chat prefix blends in with the player name and it looks terrible, theres no per-world formatting, you cant add extra formats like whispering, theres no "No one hears you" message so noobs end up screaming for help thinking everyone is ignoring them, and if you are op you cant turn off essentials spy so you have to listen to everyones personal conversations.
Not saying that you should use EssentialsChat for this... Just saying that you can turn off the spy, /socialspy -- Correct?
... Really? I was under the impression that it worked for everything. (But I don't use that feature myself, so I wouldn't really know)