MV How do i load variables from text file? rpgmv and web page?

Hi what i wanted to do was to display certain variable like the level or exp of certain character from rpgmv on my web site.(like wix homepage)

so to do this i guess i could get the variables from text file that loads variables from rpgmv maybe?

so I wanted to know how to load variables from RPGMV to text file (and sideways) then

load those numbers from text file to my web page with html or java. i think this is the way to do this.

if you know the better way please let me know!

if you could answer these questions thank you so much in advance.
how should it exactly look like and why from a txt file?
if you want to show it on hud or else where, you can just
make a $gameVariables.value(x) depending what you set into it.
if you can make contents to it, you can just use the JS file to call
what is available inside the core plugins.

so I dont know what exactly you want to achieve and where.
thanx for the reply! so what should i write in html to show $gameVariables.value(x)
on my website page? that's what i wanted to know.( html or java code)

i wanted to display like

my character lv (x)

on my website.
how should it exactly look like and why from a txt file?
if you want to show it on hud or else where, you can just
make a $gameVariables.value(x) depending what you set into it.
if you can make contents to it, you can just use the JS file to call
what is available inside the core plugins.

so I dont know what exactly you want to achieve and where.
I think the OP wants a separate webpage outside the game to read and display data from the game save file, which I think is JSON format? So just import and parse the JSON.
I think the OP wants a separate webpage outside the game to read and display data from the game save file, which I think is JSON format? So just import and parse the JSON.
yes that's correct. how could i import and parse the JSON on the web page? sorry if this looked amateur. i would know nothing about html
parsing is not of a problem, but if its only a personal project, it can be done
with JSON.parse and you object, for multiple players that need to log in
is a different story though =)

also on how to retrieve the txt file from the game folder require more knowledge
that I dont have.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-load-variables-from-text-file-rpgmv-and-web-page.160669/