Try a cooldown
Start a cooldown for a player unless they are already on it. Allowed says which, and Time left says how long to wait.
A Minecraft element (a step) in Commands. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player uses /daily → Try a cooldown of 1 day → If not allowed → Answer: wait {node.cd.text}.
Also called
cooldown, rate limit, once per, wait time, daily, delay
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
- Cooldown
- Seconds
What it gives back
- Allowed
- Seconds left
- Time left