Separate names with a comma.
Comments in 'Plugin Development' started by Angelo Vidrio, Jan 6, 2015.
How to get the commands that a player runs?
Keep in mind that it is fired for everything a player sends, whether or not it starts with a /slash.
It's still useful because the console is very quiet and nobody can know what other players are saying in the console. So yeah, i don't see a bad thing about it.
This event returns everything that a player send on chat, so if you want to detect a command, checkout if the whole string starts with a slash ('/')
Use this: www.github.com/hoyinm/consolelogger