Making a global multiplier for game

Hey all,
I’ve recently started working on a new game where the player makes videogames, and publishes them. The games are then sold for people to buy, and the player makes money off of it.

One of the features I wanted the game to have was a global multiplier feature, where I could set a multiplier that would work across all servers and would update every time the value was changed and wouldn’t require the servers being restarted or updated in order for the changes to take place.

I know that Data Stores would be something to do with it, but I’m stuck on how to go about it. I would normally try and see if I can get it to work before asking, but I am very confused on where to start in the first place.

Please let me know if there is any more information needed, or anything else that might help.

Any help is very much appreciated, thank you very much for reading.

Easy option: Store the multiplier in a data store, there’s not much to it. Each game would need to check this data store every so often for updates.
Hard option: HTTP, only option is its easier to control, can be controlled from outside of Roblox.
Sneaky option: There is no communication between servers, all games are following a preset sequence of multipliers based on the current time.

1 Like

Okay, So I could just have a datastore that the server checks every 5-10 minutes that will update it. If it is that simple I think I was just overthinking it

If you want to update on the fly, MessagingService lets you subscribe to messages from other servers/places using SubscribeAsync and send these messages using PublishAsync

1 Like