MZ coop plug In

Hello All,

I am starting to develop a plug in which will allow user to create a game and then invite friends to play with them by code.

So what I mean is this, Player A starts a dungeon and gets killed to many times, but there friends is playing the same game, they can type the player friend code in to the box and it will add the player to the user game. No this not a mmo plug in.

A couple of concern I have before getting to into it. Is that One of the parameters of the plug in will either be postgres Sql or Mysql depending on the user webhost.
The user will also have to have some understanding of current web technology to supply that this system is going to use. end point this is going to hit.

Is the above to much for the common end user, as in do most people still use rpg maker for desktop or is it switching towards the web.
I just don't want to write all of this and no ones uses it and stuff.
A couple of concern I have before getting to into it. Is that One of the parameters of the plug in will either be postgres Sql or Mysql depending on the user webhost.

If I understand your idea, you're just going to stream data such as player position & state between clients, right? So do you really need any persistent state? If not, why do you need a database? (specially SQL).
I think this would be an unnecessary added complexity and honestly a no-no for adoption (hell, I've been doing this for almost a decade and even then I have a hard time setting a DB up sometimes).

I mean, usually what you'd save on a database would be login information and character state. Since you don't intend to build an MMO engine, those are not necessary, and you could just save the state on the user's machines.

All you'd need then is a server that would pick information from the gameplay and send to the other clients connected to that session, which honestly isn't too hard to setup from within the game client itself (just let people use their IPs as the session code!), thus requiring no external dependencies (except for something like Hamachi, maybe).

Am I missing something?
Kind of, I was going to store the user data in the database, and pull that data and add to the party based on that. This coop would work even if the other player was not online playing, there character data would be the last time they played. And their friend could pull them in to there game.

So thats why I would be using a database, I was going to write all the sql and then have a sql file which who ever has the plug in would just need to run it on there database via phpadmin. This would set the database up to work for who ever is using the plug in.
it's like the 'get help from friend' in lots of mobile games... interesting idea...

maybe just like the mobile game... ability to set which actor in our game which we want as the 'captain' (the actor that will be used as helper in other people game).
i want to make an impostor game, i think this will be very good.. need CO-OP

Original thread: https://forums.rpgmakerweb.com/threads/coop-plug-in.127505/