@Override
	public void onEnable() {
		getServer().getPluginManager().registerEvents(hml, this);
		this.warning = new File(this.getDataFolder(), "hotel.yml");
		this.nw = YamlConfiguration.loadConfiguration(warning);
		this.config = new File(this.getDataFolder(), "config.yml");
		this.nc = YamlConfiguration.loadConfiguration(config);

		if (!config.exists()) {
			this.getLogger().info("Gernerating the config.yml file...");
			nc.addDefault("Allow Hotel Kicking", "false");
			nc.options().copyDefaults(true);
			try {
				nc.save(config);
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		if (!warning.exists()) {
			this.getLogger().info("Gernerating the hotels.yml file...");
			nw.addDefault("Hotels", "");
			nw.options().copyDefaults(true);
			try {
				nw.save(warning);
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}