Updated to use maven and new bukkit methods