The main plugin to handle all in-game events