Throw event before executing console command

Some plugins rely on server command preprocess to process their own
commands