Commands/schedule

$$, delays the execution of a function. Executes the function after specified amount of time passes. The function is ran from the server, not from whatever started the command.

$$, schedules a function to be executed once an area is loaded.

Syntax

 * Java Edition
 * Adds a schedule.
 * Removes a schedule.
 * Removes a schedule.
 * Removes a schedule.


 * Bedrock Edition
 * Adds a schedule to be executed once an area is loaded.
 * Adds a schedule to be executed once an area is loaded.
 * Adds a schedule to be executed once an area is loaded.
 * Adds a schedule to be executed once an area is loaded.

Arguments

 * Specify the function to be run.


 * Specify the delay time.
 * Specify the delay time.


 * (in mode)
 * Specify the function to be cleared. Should be a namespaced ID ( cannot be omitted) or a function tag(  cannot be omitted).


 * simply replaces the current function's schedule time (default).
 * allows multiple schedules to exist at different times.
 * allows multiple schedules to exist at different times.


 * and
 * Specify the coordinates of opposite corners of a rectangular area used to define a loaded area.
 * For  and , numbers less than -30,000,000 or greater than 30,000,000 are treated as -30,000,000 or 30,000,000 respectively.
 * For  and , numbers less than -30,000,000 or greater than 30,000,000 are treated as -30,000,000 or 30,000,000 respectively.


 * Specifies the coordinates of the center point of a circular area used to define a loaded area.
 * For  and , numbers less than -30,000,000 or greater than 30,000,000 are treated as -30,000,000 or 30,000,000 respectively.
 * For  and , numbers less than -30,000,000 or greater than 30,000,000 are treated as -30,000,000 or 30,000,000 respectively.
 * For  and , numbers less than -30,000,000 or greater than 30,000,000 are treated as -30,000,000 or 30,000,000 respectively.


 * Specifies the radius of a circular loaded area as the number of chunks from the center to the edge of the circle.
 * It must be between 0 and 2,147,483,647 (inclusive).
 * It must be between 0 and 2,147,483,647 (inclusive).


 * Specifies the name of a ticking area, executes function when which is added.
 * It must be either a single word (no spaces) or a quoted string.
 * It must be either a single word (no spaces) or a quoted string.

History
Befehl/schedule Comandos/schedule 命令/schedule