wow this would be easy just set the sent message as null to anyone who is on the list no packet editing required :O no complex code no nothing hard woulda done myself but feildmaster has done it already congratulations
You can't specify who gets "null" messages. In fact, if you did it that way it'd bypass the normal chat. Learn how to use getRecipients.
meh well fair enough havent really done any PlayerChatEvent API stuff yet but if there is something like that then yes that would be the best option although my method should method but yh use his way
@feildmaster Tested it for the first time and and it doesnt work. When I do /silence it says chat will be silenced but it doesn't silence chat (people's messages still show up) also when I type /silence again it says chat will be silenced again.
Are you using HeroChat? ... Edit: My bad... @Cruxsky : Fixed in v1.2 >.> (I was tired when i fixed the other bugs) http://dev.bukkit.org/server-mods/silence/files/3-v1-2/ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
To all the people who replied to me with a meaning of "you're stupid, there's a method, no packet edit required": I replied based on rumors. I didn't look very far into it because I was trying to find out a way to get a /help command working(like the essentials one), and I got it working. Sorry if I sounded stupid. Anyways, I'll try to add one with permissions. I did it, with permission nodes: http://dev.bukkit.org/server-mods/techtoolkit/files/12-tech-toolkit-v1-0/ Of course, these are only parts of the functions my plugin contains. Commands: /deaf- deafs yourself /undeaf - undeafs yourself /deaf <players> - deafs named players /undeaf <players> - undeafs named players techtoolkit.deaf techtoolkit.deafself techtoolkit.undeaf techtoolkit.undeafself EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Never try to give a serious reply based on rumors. Seriously? Also, good job on permissions. I still don't see the need. (I see the need for setting OTHER players though) By the way, you're better off not using the toolkit. I've looked at the source. *sighs* What a lovely display of his "knowledge." EDIT by Moderator: merged posts, please use the edit button instead of double posting.
There's an Advanced Chat mod for client that does this. I doubt it'll be easy letalone possible to do this server side.
@feildmaster i recently found that this plugin does not block messages from "/me" Example "* Bob likes chicken" could you have it block that too?
HeroChat Create channels, & whatever. /ch global leave /ch local leave /ch x leave /ch y leave What more do you want? Pure Silence.
Did you really just try to promote the worst chat plugin in the world? I can not block that. Not without making it completely complicated.
Did not promote, gave an alternative, I did not look through the 2 pages, to see that you guys we're already working on something. *Subscribed*
Did promote. An alternative. (Which was crappy.) Learn to ChannelChat... ^^ Not for this plugin, no. For ChannelChat, I would though. But not now, other plugins for the moment. Then you would have seen the plugin I made. EDIT by Moderator: merged posts, please use the edit button instead of double posting.