Pretty much, when a players runs a command, it will send a command to the console i.e

ChatCommand: /hi

Sends this to console: say ${playerName} says HI!