Hey everyone. I am developing a chat management plugin(has all the features you would ever want) and am having trouble making a shout command. As of now I have it so that if you type "!<message>" it is automatically shout, but in my onCommand method I say player.chat("!" + msg); but nothing happens. I have the command registered and the is no error, but there is also no output. Thank you for taking a look at this.
Here are some pastebins with my code @bwfcwalshy Main: Here Listener: Here EDIT: I added a line: log.info("!" + msg); and even with that, nothing outputs. I fixed it. I relized in the test to see if it is right command I did "/shout" instead of "shout" Thanks anyways.
Yes, it if fixed I had: Code: if(cmd.getName().equalsIgnoreCase("/shout")){ instead of: Code: if(cmd.getName().equalsIgnoreCase("shout")){