Hi how to do that command was in time? For example, that a player can use it only once a day . I write a plugin for quests . I have already written three quests
Save the time() or the date() and check if either the saved time + 1 day is less than the current time() or whether the saved date() is not equal with the current one. If you use date(), of course, use the same format.
I use it to add time to command e.g server kits i can the command /kit (kit) only one per day? Sorry for my englisch i use google translate
And do not search with the search bar, it's s*** (sorry @Moderators, but its really useless) Spoiler [Search words are too short, too common, too long, did not find anything, i can't even search in the forums if you are in plugins, on the start site I'm bugging around,...] Use "Google Hacking" Enter in google YOUR_SEARCH_WORD (for example config saving) and then site:forumspocketmine.net So it would result into "config saving site:forums.pocketmine.net"