I’m looking to do a double/2x cash event on my game soon, and I am wondering on how I can do it optimally.
The way I would do it would be obviously to just change some of the code in the game, but that means only new servers would have it, whereas old(er) ones would not have it. I am looking to make a way where I can simply change the value, and it would update live in all servers, without having to shutdown any of the older ones. How would I do this?
1) Time-based: If you want the event to turn on at a specific time, you can make a variable with the time you want the double cash event to turn on, by periodically checking the clock and comparing it to the variable.
2) Real-time: Make a separate DataStore just for the event (and any related ones). Make a variable that will turn the event on and off, and in the game, check this datastore every minute. You can then set the variable to on or off through Studio DataStore editor plugins. The disadvantage is that there will be a delay before the event turns on due to quota, obviously.
If you liked my answer, please be sure to mark it as a Solution! If you want help implementing this or other ways of possibly activating this event, let me know.