Minecraft - COMMAND DELAY?

Co
5

I would like that if I do / spawn that I come to the spawn and if I directly again / spawn is because you can command the only every 3 seconds, how is the code to do so.

Ap

As soon as a player executes the command, you just put it in a list and start a countdown (scheduler).
After the countdown, remove the player from the list.
In addition, you only need to query in Command, if the player is in the list, if so, he may not execute the command.

If you need help, feel free to contact me.

Co

Do you have time now?

Ap

Yes, do you have TS or similar?

Co

Yes, on your ts I come jz.

Co

Yes, on your ts I come jz.