I've been just trying to cancel event in the ServerCommandEvent but e.setCancelled(), while it did not bring up any error or exception, seem to have been simply ignored. As a result, the console command went through. PlayerCommandPreprocessEvent works fine though.