public Boolean infoAction()
	{
		try 
		{
			HashMap<String, String> apiCall = new HashMap<String, String>();
			
			apiCall.put("action", "info");
						
			JSONObject apiResponse = call(apiCall);
		
			if(apiResponse != null)
			{
				if(apiResponse.getInt("code") == 0)
				{
					JSONObject payload = apiResponse.getJSONObject("payload");
					
					BukkitInterface.getInstance().setServerID(payload.getInt("serverId"));
					BukkitInterface.getInstance().setServerCurrency(payload.getString("serverCurrency"));
					
					if(payload.getDouble("latestVersion") > Double.valueOf(BukkitInterface.getInstance().getVersion()))
					{
						String downloadUrl = payload.getString("latestDownload");

						if(BukkitInterface.getInstance().getSettings().getBoolean("autoUpdate"))
						{
							Updater.performUpdate(downloadUrl);
						}
						else
						{
							BukkitInterface.getInstance().getLogger().info("Egnoring update due to auto update disabled.");
						}
					}
					
					return true;
				}
				else if(apiResponse.getInt("code") == 101)
				{
					BukkitInterface.getInstance().getLogger().severe("Could not find an account with the specified API secret!");
					
					return false;
				}
			}
		} 
		catch(JSONException e)
		{
			BukkitInterface.getInstance().getLogger().severe("JSON parsing error.");
		}
		catch (Exception e) 
		{
			e.printStackTrace();
		}
		
		BukkitInterface.getInstance().getLogger().severe("Unexpected error occured in the authentication process.");
		
		return false;
	}