I want My Game To Give Every Player Amount of items every X Time (2 Types)
- When They Login Today Next Day They Get 64 Wood Or Currency
- When They Don't Login They Get Daily Gift
(The Reset Time Will Be 0:00)
Use of Scheduled tasks and segmentation can accomplish your need.
You could make a "lapsed Players" segment that has a login time above a certain amount. There can be a cloud trigger to do an action or run a cloud script every time they enter that segment.Also, scheduled tasks could run every day for an active players segment to give an item to everybody in that segment. However, it's probably better to have every player run a cloud script every time they log in, which checks the duration since their last login, rather than a daily scheduled task.
Please take a look at forum question about similar topic as well.
and here for the daily reward that uses regenerating currency.
3 People are following this question.