public void setLoggedIn(boolean e) {
		loggedIn = e;
		if (loggedIn) {
			if (data != null) {
				bukkitplayer.sendMessage(Configuration.prefix + ChatColor.GREEN + "You've successfully logged in! Enjoy!");
				data.set("Lastlogin", System.currentTimeMillis());
				saveData();
			}
			
			try {
				// bukkitplayer.getInventory().addItem(inventory);
			} catch (Exception bukkitderpsalot) {}
			// notifications if necessary
			if (joinmessage != null) {
				Bukkit.broadcastMessage(joinmessage);
			}
			
		}
		
		if (hasCreativeMode) {
			bukkitplayer.setGameMode(GameMode.CREATIVE);
		}
	}