How do games like Adopt Me and Arsenal update their stores live without shutting down all the servers?

Basically the title’s question. Not sure if this is the right place to ask, sorry if it isn’t!

1 Like

maybe they don’t and it’s just randomized, otherwise, maybe they make HTTPs on a page, or a discord bot, or a bot itself to make requests and maybe they have like a list, and they can add/remove items, and the models, then do InsertService:LoadAsset()
To get the newest assets.

1 Like

This topic can help you.

For individual products, you can always fetch information about them using MarketplaceService:GetProductInfo. That’s one way you can do it.

The way these games most likely do this is by periodically refreshing a webpage or web endpoint (eg https://your-game-website.com/store.json). The content of such a page can then be used to build the in-game store by replicating it to the client in some way. I do this with my game, Fisticuffs, for things that aren’t the store: https://ozzypig.com/fisticuffs.json (2021 Edit: This configuration doesn’t live here anymore for various reasons related to web scalability, but you get the idea.)

Be warned though, hosting your own site can be hazardous if you suddenly receive a ton of traffic. If you expect big numbers, be prepared to scale your web server up with load balancing (which Adopt Me uses) or caching through large scale web services (AWS).

2 Likes

This should be exactly what you need

1 Like