public void checkUpdate() {
        if (main.getConfig().getBoolean("Config.CheckForUpdates", true)) {
            currentversion = Integer.valueOf(main.getDescription().getVersion().replaceAll("\\.", ""));
            updateChecker = main.getServer().getScheduler().runTaskTimerAsynchronously(main, new Runnable() {
                @Override
                public void run() {
                    try {
                        newversion = updateCheck(currentversion);
                        if (newversion > currentversion) {
                            System.out.println("[CensorNizer] version " + newerversion + " has been released! You can download it at http://dev.bukkit.org/server-mods/CensorNizer/");
                        } else if (currentversion > newversion) {
                            System.out.println("[CensorNizer] your version (" + main.getDescription().getVersion() + ") is higher than the newest version on bukkitDev (" + newerversion + "), do you use a development build?");
                        }
                    } catch (FileNotFoundException e) {
                        System.err.println("[CensorNizer] Could not check for updates! Maybe you have an internet protection?");
                    } catch (UnknownHostException e) {
                        System.err.println("[CensorNizer] Could not check for updates! Maybe you have an internet protection?");
                    } catch (Exception e) {
                        System.out.println("[CensorNizer] Error on UpdateCheck \n" + e.getMessage() + "\n");
                        System.out.println(e);
                    }
                }
            }, 0, 36000);
        }
    }