TLDR: how do I fetch value data from Firebase using ItemTable? I thought I knew... but it's not working and the tutorials aren't clear enough for this particular case! :(
Hi guys, I'm super sad to hear that Rex has abandoned plugin support. Unfortunately, his documentation wasn't the best when it came to putting out extensive examples covering all actions - and the available tutorials (all my google links have been clicked!) are incomplete or only show half-solutions that don't apply universally.
I'm currently trying to download info from my Firebase DB but I can't figure out how to do it considering my DB structure which goes as follows:
DatabaseID
-items
-Requested_Login
Manuel: "Allowed"
-Session_Info
Game_Room: "GameRoomName"
-User_Info
-Antonio
HP: "100"
Speed: "500"
-Jake
HP: "85"
Speed: "250"
Have I got too much depth in my DB?
What I'm trying to do is to check whether or not a username is registered - and if so download all the info from this username's record.
I managed to do the checks to figure out whether or not it was registered - and it seems to be working fine.
Here's a picture of my current code:
What I can't seem to figure out is simply how to download the HP value to a variable. I just can't understand what the sequence should be for Rexrainbow's ItemTable plugin.
The problem is apparently simple: how to download HP values from Firebase?
ALSO: I'm trying to avoid downloading the whole database each time I need to check a user's stats.
Could someone please help me out?
I didn't post the whole code here as I've tried and deleted all sorts of ItemTable combos to no avail but I'll give you more details if you require.
You may also contact me on Discord: ViLa4480
Thank you verrrrrrry much for your kind help!