package heufybot.core;

import heufybot.utils.PasswordType;

public class Config 
{
	private String nickname, username, realname, server, password;
	private int port;
	private PasswordType passwordType;
	
	private static final Config instance = new Config();
	
	private Config()
	{
		this.nickname = "RE_HeufyBot";
		this.username = "RE_HeufyBot";
		this.realname = "HeufyBot Dev Build";
		this.server = "192.168.2.7";
		this.password = "";
		this.passwordType = PasswordType.None;
		this.port = 6667;
	}
	
	public static Config getInstance()
	{
		return instance;
	}
	
	public String getNickname()
	{
		return nickname;
	}
	
	public String getUsername()
	{
		return username;
	}
	
	public String getRealname()
	{
		return realname;
	}
	
	public String getServer()
	{
		return server;
	}
	
	public String getPassword()
	{
		return password;
	}
	
	public int getPort()
	{
		return port;
	}
}
@@ -39,16 +39,22 @@
 t.utils.
+enums.
 Password
@@ -59,16 +59,16 @@
 rdType;%0A
-
 %0Apublic 
@@ -202,16 +202,86 @@
 rdType;%0A
+%09private boolean autoJoinEnabled;%0A%09private String%5B%5D autoJoinChannels;%0A
 %09%0A%09priva
@@ -571,16 +571,105 @@
 = 6667;%0A
+%09%09this.autoJoinEnabled = true;%0A%09%09this.autoJoinChannels = new String%5B%5D %7B %22#heufneutje%22 %7D;%0A
 %09%7D%0A%09%0A%09pu
@@ -1025,24 +1025,24 @@
 etPort()%0A%09%7B%0A
-
 %09%09return por
@@ -1047,9 +1047,224 @@
 ort;%0A%09%7D%0A
+%09%0A%09public PasswordType getPasswordType()%0A%09%7B%0A%09%09return passwordType;%0A%09%7D%0A%09%0A%09public boolean getAutoJoinEnabled()%0A%09%7B%0A%09%09return autoJoinEnabled;%0A%09%7D%0A%09%0A%09public String%5B%5D getAutoJoinChannels()%0A%09%7B%0A%09%09return autoJoinChannels;%0A%09%7D%0A
 %7D

Add more config options