What codermason said is correct although if the plugin you need to disable a certain message for has an api containing listeners to regulate these things then it will become possible and WorldEdit does have an API so I believe it is possible to find a way to cancel certain messages from certain commands with WorldEdit but I cannot say for sure. If you find you really need this done let me know and I will take a look into it to see what I can do but I cannot guarantee it is possible. Is WorldEdit the only plugin you need this action actually done for?
spy85 codermason Actually, this is false. You can do some shady work with protocol lib (not hard) or a custom net server handler to achieve this result. You can see a discussion based on the idea here: https://forums.bukkit.org/threads/tut-intercept-and-edit-all-messages.98620/ Do note, this does not work with all servers due to the general "hackish" method of approaching the problem. This could very easily break with some plugins but work fine with others. WorldEdit might have some sort of API for this type of thing, and if so that would be the best to use, but this is a possible (though not ideal) solution. Best of luck!
No. Thanks for asking. I was hoping for the ability to type the plugin name as it is stated in its plugin.yml I'm also annoyed by some PlotMe messages I get with my aliases as well...
What about a plugin that disables the player from seeing any chat at all? The alias I have that executes several commands could execute the disable one first, and the enable one last.
That is a pretty nice idea to be honest. Can take a look at this, shouldn't be that hard to be honest. Will require ProtocolLib
Skymurai Code: commands: EnableMessage: usage: /EnableMessage block/unblock permissions: enablemessage.cmd: default: OP enablemessage.bypass: default: OP https://www.dropbox.com/s/4c8xnikvnm0blmi/EnableMessage.jar ProtocolLib dependency Give players the node: enablemessage.bypass to let them see messages. This will block every message that is send to the player. If the user doesn't has that bypass than he won't see the plugin messages
Hey thanks! I've gotta be away from home for most of the day, but I'll be excited to check it out when I get back!
/EnableMessage isn't doing anything... /EnableMessage Block isn't doing anything... I am OP... It just says the ol' "Unknown Command. Type /help" or whatever... EDIT: Oh, I found this in the console http://pastebin.com/aLfRzwVJ EDIT 2: Oh! I may or may not have had ProtocolLib installed EDIT 3: Wait, now I see this http://pastebin.com/rKTUag5M
This worked for chat, however it still did not block the messages included in the picture I sent you in a PM. Also, I was looking for this plugin to also not generate any messages, so when the player runs the alias, the commands start and finish without the player seeing anything in chat. Thank you for your help.
Will get rid of those messages then. And will look at the other stuff, not sure why it is not working.
I tested with other players. Still no luck. Also, like I said, could you make it so the plugin does not give any notifications? (So the player sees literally nothing at all) Did you try with WorldEdit/PlotMe? (The plugins giving me the messages)
Plugin independent. And why the double post? Wasn't done wasn't I? Use this version and give me your server log: https://www.dropbox.com/s/4c8xnikvnm0blmi/EnableMessage.jar
Sorry, I started to assume you'd dropped the subject. That was before I realized that you probably live somewhere around the other side of the world and you were sleeping while I was waiting for help Anyway, after playing around, I noticed that I kept getting notifications "Skymurai has Bypass" in the console, when I didn't. The FIX for this, however, was to add the permission node "- -enablemessage.bypass". This fixed the problem for some reason, but hey! It worked! I also noticed you removed the plugin notification messages themselves. Thanks for that. But all in all, thanks for this plugin! That lifts an annoying "burden" off my back for this. Awesome!
Gmt +1, so yeah, probably sleeping. And will strip away those messages in the log, was meant to show you that your had the permission override EDIT: https://www.dropbox.com/s/4c8xnikvnm0blmi/EnableMessage.jar