- Joined
- Sep 7, 2015
- Messages
- 2,686
- Solutions
- 127
- Reaction score
- 2,134
Hello, I'm trying to make some things work after server save.
I'm using global storages to make cooldown for players, but after my server restart these storages are getting reset so people can do these quests and other things all over again.
Is this possible to make cooldown longer than 24h?
I'm using global storages to make cooldown for players, but after my server restart these storages are getting reset so people can do these quests and other things all over again.
Code:
Game.setStorageValue(config.storage, os.time() + 24 * 60 * 60)
Is this possible to make cooldown longer than 24h?