How can I save a build a user has made and import it into different servers?

Hey. Im trying to make a game like clash of clans but in roblox. Heres my main problem, after a user has made their build and all of that, how can I allow other users in separate servers to battle against that made village? And even if I do somehow achieve that, how would I get them to be able to battle a user’s village when the user is offline?

Thanks in advance.

EDIT: I feel like my best solution is to setup an external database online and use roblox’s http requests to send data to it. Thus allowing other servers to constantly be updated with other players across other servers. But how am I gonna store builds in that is the main question.

I would just use a module to encode the build to a table. (example model)
Then use MessagingService or MemoryStoreService to send it to other servers.
If you want to save the build use a DataStore

1 Like

There’s no need to use an external database. Roblox’s MemoryStoreService has you covered in that it allows for fast setting and retrieval of data, and your normal DataStoreService would be used for just saving the base. I’m not too sure about MessagingService as IIRC sometimes messages can just be dropped(?).

2 Likes