How do I make an auto-updating daily shop

How do I make a daily/weekly shop, which is different each day (but the same for all players). The shop using currency earned in game. I know I could do it with daily/weekly updates, but that doesn’t sound very pleasant. Can someone help me with this?

You might be able to set up a system to automatically do it but that might take a lot of time and work.

You might need an external server if you want items to be random.
Or do some simple time difference checks and put items using time as a seed.
The later method could be exploited

What do you mean by exploited? do you mean buying stuff not in shop, or getting stuff for free, or something else, because the seed thing sounds decent to me

No, I meant that you could check the current time the player has and then, based off the time, you put items. This will make sure that everyone is going to have the same items if their devices had the same time.

This also means that the player could easily change the system clock in their device and exploit the system.

Furthermore, different timezones are going to affect this too.

Unless you check time using an Internet and a specific timezone

You could use the Clock to get the date in a int form

then you could do something like mod(Date*1234,Max value)
to get an sort of random thing

nope, its not really worth it. Unless its multiplayer