@EventHandler(priority = EventPriority.MONITOR)
	public void onPlayerQuit(PlayerQuitEvent event) {
		Player player = event.getPlayer();
		World world = player.getWorld();
		String worldname = world.getName();
		String playername = player.getName();
		Boolean staff = false;
		double x = (int) Math.floor(player.getLocation().getX());
		double y = (int) Math.floor(player.getLocation().getY());
		double z = (int) Math.floor(player.getLocation().getZ());
		if (getConfig.PlayerQuit()) {
			if (player.hasPermission("PlayerLogger.staff")) {
				staff = true;
			}
			if (getConfig.logFilesEnabled()) {
				filehandler.logQuit(playername, worldname, x, y, z, staff);
			}
			if (getConfig.MySQLEnabled()) {
				addData.add(playername,"quit", "", x, y, z, worldname, staff);	
			}}}