public void handleRestart() {
		restarting = true;
		if(config.getBoolean(ServerRestarterConfigNodes.CREATE_STATE_FILE)) {
			File file = new File(config.getString(ServerRestarterConfigNodes.STATE_FILE));
			if(file.isDirectory())
				getLogger().severe("Status file is a directory!");
			try {
				file.createNewFile();
			} catch(IOException exception) {
				getLogger().severe("Unable to create status file!");
				exception.printStackTrace();
			}
		}
		for(Player player : getServer().getOnlinePlayers())
			player.kickPlayer(replaceColorCodes(restartMessage));
		getServer().shutdown();
	}