Replenish System
Create time-based system. Use the server's time to make sure players can't cheat by changing the time on their device
Last updated
Create time-based system. Use the server's time to make sure players can't cheat by changing the time on their device
Last updated
To use this system simply call the Initialize Replenish Value instruction.
A key needed to store the value in Player's storage
The initial value that will have the Player's storage value
The maximum value the player can earn with the system
How often this value will be incremented by 1.
If enabled offline earnings will be auto collected, otherwise an event will be triggered that can be used to do it manually
Offline earnings can be received manually by using a trigger.
Once this trigger is execute the instruction Collect Offline Earnings can be used
To see this in action you can play the demo scene 9_ReplenishSystem