Table of Contents

Daily Gift

Finished Product

Trigger

Step 1 - Create an event when the player enters the game. We will define their days, whether they have received daily gift or not 

In case the player hasn't received the gift, we won't display the tick icon, and they can. However, provided that player has received the gift, we will display a tick icon, and they cannot receive it

Step 2 - Identify whether the player has received the gift or not. We should use server time because each country has a different time zone, making it difficult to determine the player's local time. Besides the difficulty in recognizing the correct time, if we were to use device time, players could manipulate their device clock to repeatedly receive the gift.

Step 3 - When the player gets the gift, we are going to define log in (variable) again to avoid the player receiving it again.


If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord