When I\'m testing my new plugin an exception keeps getting thrown: java.lang.IllegalArgumentException: Plugin already initialized! Please help! Here\'s the code:
I would really recommend you to put your event handler in a separate class.
Try removing the below line
getServer().getPluginManager().registerEvents(new Main(), this);
and please don't ask your question several times.