private void loadConfig() {
		String configpath = "/plugins/BungeeSuite/config.yml";
		config = new Config(configpath);
		
		username = config.getString("BungeeSuite.SQL.Username", "root");
		password = config.getString("BungeeSuite.SQL.Password", "password");
		database = config.getString("BungeeSuite.SQL.Database", "minecraft");
		url = config.getString("BungeeSuite.SQL.URL", "localhost");
		port = config.getString("BungeeSuite.SQL.Port", "3306");
		
		warpsEnabled = config.getBoolean("BungeeSuite.Warps.Enabled", true);
		spawnWarpEnabled = config.getBoolean("BungeeSuite.Warps.UseSpawn", true);
		
		signsEnabled = config.getBoolean("BungeeSuite.Signs.Enabled", true);
		loginMessagesEnabled = config.getBoolean("BungeeSuite.LoginMessages.enabled", true);
		motdColored = config.getBoolean("BungeeSuite.Signs.MOTDColored", true);
		motdFormatOnline = config.getString("BungeeSuite.Signs.MOTDFormat.Online", "&2[%server]&0:%motd");
		motdFormatOffline = config.getString("BungeeSuite.Signs.MOTDFormat.Offline", "&4Server is offline");
		playerCountFormatOnline = config.getString("BungeeSuite.Signs.PlayerCount.Online", "&2[%server],Players,%players, ");
		playerCountFormatOnlineClick = config.getString("BungeeSuite.Signs.PlayerCount.OnlineClick", "&2[%server]players");
		playerCountFormatOffline = config.getString("BungeeSuite.Signs.PlayerCount.Offline", "&4[%server],Players,&4Offline, ");
		playerCountFormatOfflineClick = config.getString("BungeeSuite.Signs.PlayerCount.OfflineClick", "&4%server is offline");
		portalFormatOnline = config.getString("BungeeSuite.Signs.Portal.Online", "&2[Portal],,%server, ");
		portalFormatOffline = config.getString("BungeeSuite.Signs.Portal.Offline","&4[Portal],%server,&4Offline, ");
		portalFormatOfflineClick = config.getString("BungeeSuite.Signs.Portal.OfflineClick", "&4Server is offline");
		
		portalsEnabled = config.getBoolean("BungeeSuite.Portals.Enabled", true);
		teleportsEnabled = config.getBoolean("BungeeSuite.Teleports.Enabled", true);
		String bt[] = config.getString("BungeeSuite.Teleports.BlockTeleportsInServers", "Towny").split(",");
		blockedTeleports = new HashSet<String>();
		for (String data : bt)
			blockedTeleports.add(data);
		
		chatEnabled = config.getBoolean("BungeeSuite.Chat.Enabled", true);
		logChat = config.getBoolean("BungeeSuite.Chat.LogChat", true);
		formatChat = config.getBoolean("BungeeSuite.Chat.FormatChat", true);
		useVault = config.getBoolean("BungeeSuite.Chat.UseVault", false);
		channelMessages = config.getBoolean("BungeeSuite.Chat.ChannelMessages", true);
		globalDefault = config.getBoolean("BungeeSuite.Chat.globalDefault", true);
		globalToggleable = config.getBoolean("BungeeSuite.Chat.GlobalIsToggleable", true);
		maxCustomChannels = config.getInt("BungeeSuite.Chat.MaxCustomChannels", 1);
		
		ignoreServers = new HashSet<String>();
		String ignore[] = config.getString("BungeeSuite.Chat.IgnoreServerChat", "Towny,Heroes").split(",");
		for (String data : ignore)
			ignoreServers.add(data);
		
		serverNames = new HashMap<String, String>();
		String[] sn = config.getString("BungeeSuite.Chat.ReplaceServers", "Spawn-S,Creative-C").split(",");
		for (String data : sn) {
			String[] s = data.split("-");
			serverNames.put(s[0], s[1]);
		}
		
		replacementWords = new HashMap<String, String>();
		String[] rw = config.getString("BungeeSuite.Chat.ReplaceWords", "blood-&4Blood&f").split(",");
		for (String data : rw) {
			String[] s = data.split("-");
			replacementWords.put(s[0], s[1]);
		}
		
		defaultCustomChannelFormat = config.getString("BungeeSuite.Chat.defaultServerChannelFormat",
				"&e[%cname]&f%prefix&f%player&f: &7%message");
		defaultServerChannelFormat = config.getString("BungeeSuite.Chat.defaultCustomChannelFormat",
				"&9[%cname]&f%player: &7%message");

		bansEnabled = config.getBoolean("BungeeSuite.Banning", true);
		config.save();
		setupCommandsConfig();
	}