@Override
	public void onDisable() {
		if(!restarting) {
			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!");
				if(file.exists() && !file.delete())
					getLogger().severe("Unable to delete status file!");
			}
		}
		getLogger().info("ServerRestarter unloaded.");
	}