I am making an rpg type game and i want players to be able to auction items by talking to a npc and puting the item into a workspace gui that other people can come and talk to that npc to pull up all the listed items for sale and bid on them.
My problem is of course people leaving the server when the items time is not up yet or they bid and then leave the server. I also have little knowledge on how each server responds to each other. I thought about having a bank system tied to each players id so if the item sells, the money goes into the bank and if the person logs back on later they can pick it back up.
But i am still confused on how information is transferable between servers. Say a person sells a sword for 1 hour in auction and they leave the game. The sword sells for 100 coins but since the player is gone, it goes to the bank. If the player logs back on later in the day on a whole other server than they where on, will the money still be in the bank? What if the server shuts down while the item is still up for auction with time on it? Should i just void the bids and put the item into the bank? What if the person put the sword up for auction for 1 hour, logs out, comes back in within the hour but is in another server but can they access the auction gui and see the sword thats up for auctiob? Is it possible to put the auction gui so it connects to all servers?
i know this is alot of questions but i am trying to figure out my options.