@EventHandler(priority = EventPriority.NORMAL)
	public void onOfferAccepted(OfferAcceptedEvent event) {
		// debug message
		if (plugin.verbose) {
			EmeraldMarket.getBukkitLogger().info("OfferAccepted event called.");
		}
		// we need to inform the first party and give them the loot
		// this can only be done when the player is online
		Player firstParty = (Bukkit.getServer().getPlayer(event.getFirstParty()));
		// if they are online, then getPlayer returns non-null
		if (firstParty != null) {
			plugin.notify(firstParty);
			// some debug messages
			if (plugin.verbose == true) {
				EmeraldMarket.getBukkitLogger().info(event.getSecondParty() + " acccepted an offer from "
						+ event.getFirstParty() + ".");
			}
		} else {
			// if they're offline, then we'll just wait until they come online.
			if (plugin.verbose == true) {
				EmeraldMarket.getBukkitLogger().info(event.getSecondParty() + " acccepted an offer from "
						+ event.getFirstParty() + " but " + event.getFirstParty()
						+ " was not online to accept it.");
			}
		}
		// we need to inform the second party and give them the loot
		// this can only be done when the player is online
		Player secondParty = (Bukkit.getServer().getPlayer(event.getSecondParty()));
		// if they are online, then getPlayer returns non-null
		if (secondParty != null) {
			plugin.notify(secondParty);
			// some debug messages
			if (plugin.verbose == true) {
				EmeraldMarket.getBukkitLogger().info(event.getSecondParty() + " acccepted an offer from "
						+ event.getFirstParty() + ".");
			}
		} else {
			// if they're offline, then we'll just wait until they come online.
			if (plugin.verbose == true) {
				EmeraldMarket.getBukkitLogger().info(event.getSecondParty() + " acccepted an offer from "
						+ event.getFirstParty() + " but " + event.getSecondParty()
						+ " were not online to accept it.");
			}
		}
		// finally, run the database cleanup
		plugin.checkDatabase();
	}