Transfer website data into game

Hi guys

Does anyone know how to transfer data from website (SQL/PHP) to JS in RMMV game. For example, like MMO games, one buys items in website and updated items in game. I am trying get an idea how RMMV works with online stuffs

Thanks
Your game must have an online function and have places to store and transfer/sync data online on internet website.
This problem requires a lot of code / script and other things to do.
You seem to be asking more about the "how to" than "what plugin", so I'm moving this to learning javascript. To be honest, I'm not sure if there's a plugin for that. This requires a different coding skillset because you are dealing with server side coding, not just local.

Moved to Learning Javascript.

This is not a task what you do in 2 weeks or so. You need good understanding of Webservices, REST etc.
I understood your request this way: The customer buys a virtual good on some external website. This information is sent to your webbrowser game?

Okay, first, you cannot sent HTTP requests to a Webbrowser Game that is written in JS. At least this is what I learnt at university, maybe JS now has function to create Webservers that listen on external requests.

What you can do, your game sends requests (when starting new Game, loading Game..) to a Webserver and checks if there are new purchases. Then you need to think about how can you check which player actually is playing? So you need something that Players can sign up and login with username/password, you need to ensure security and network security and this is a whole subject at university to study.

I would say you need an entire IT department to achieve this. At least one person who is familar with webshops, networks and security.
You need a 'backend' and probably a database.

It is not hard but complicated, and you need to learn things and it cost money(to have a running instance on cloud)

You can start from having a local server (NodeJS or Flask in Python, which are i think are the easiest), and learn to communicate with your web page(does not need anything RM)

You might want to learn how to make a restful server, or websocket server for more in real time experience(or both). You have know how your browser send the http request, how your backend receive and resolve the request. what's said on the header, how to bypass Same origin policy, how to bring params and data, how to make route rule(backend url), and how it sent back to your browser. You might need to use some lib like axios to handle those request and response for you. You need to know how to include them in your web page and how it can be used in your server (assume you are using NodeJS, and if you are using python, there is something called requests that can do the same things).

Then you will have to learn how to id your user, you got to save those user data somewhere, then you need a database. you will have lots of choice, if you know what's a SQL, then use sqlite(and if you don't) or NoSql database like mongoDB or Redis. There are libs and package help your backend connect to the database.

And then you can start to think how will you deploy those things. You might find a sandbox container like Docker is handy. And you also need a place to put all these things and make them run. Either a server, or a cloud(AWS, Azure...).

If you go through all these, you if you find out it is actually pratical for you then you can start to add those things into your game. It will be a long journey, but it is not really hard, you will find all your answer on StackOverflow and GitHub issue.

Original thread: https://forums.rpgmakerweb.com/threads/transfer-website-data-into-game.122882/