public void setup(String prefixChat, String prefixPermissions, boolean createDirectory) {
		server = getServer();
		this.prefixChat = (prefixChat + ChatColor.WHITE);
		this.permissionHandler = new PermissionHandler(prefixPermissions);
		this.permissionHandler.setupPermissions();
		this.myLog = new MyLogger(this.getDescription().getName());
		PermissionHelper.setupPermissions(getServer());
		if (createDirectory) {
			if (!getDataFolder().exists()) {
				getDataFolder().mkdir();
			}

			File config = new File(getDataFolder() + "/config.yml");
			if (!config.exists()) {
				try {
					config.createNewFile();
					onConfigurationDefault(this.getConfig());
					this.saveConfig();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
			try {
				loadLang();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}