@EventHandler
	public void eventPerformed(TransactionEvent e) {
		
		String playerName = e.getOwner();
		
		String itemName = e.getItem().toString();
		int quantity = e.getItemAmount();
		
		// Get all of the online players
		Player[] onlinePlayers = Bukkit.getOnlinePlayers();
		boolean isOnline = false;
		for (int i = 0; !isOnline && i < onlinePlayers.length; i++) {
			// Check to see if the owner of the shop is in the list of online players
			if (onlinePlayers[i].getName().equalsIgnoreCase(playerName)) {
				isOnline = true;
			}
		}
		
		// Only store the transaction if the shop owner is offline
		if (!isOnline) {
			Double transactionValue = e.getPrice();
			if (e.getTransactionType() == Type.SELL) {
				transactionValue *= -1.0;
			}
			parent.sendToDatabase(playerName, itemName, quantity, transactionValue);
		}
	}