Discussion in 'Plugin Development' started by WeDaBeast, Jun 4, 2014.
Your problem could be that you need to use event.setMessage(String);
First, grab the string, set your replacements, then call event.setMessage(String);
Thats ok. I don't understand your issue either. But from looking at your code, you need to do this. The replaceAll() method doesn't change the string, it return a new string.
Edit: And do what CoderMusgrove suggested as well.
Oh yes, I didn't think about that. So you'll have to set it each time you use the replaceAll() method
Why are you extending `Listener` from some random package...
You also don't have to add those spaces in the replaceAll calls ...
You also shouldn't use replaceAll() unless you're using regex.
And the class doesn't implement CommandExecutor, so that command won't work.
Separate names with a comma.