OGTOOLS

Minecraft /schedule command

Plans a function to run after the time you set.

⚙️ Advanced commands Operator (level 2) Needs cheats enabled Java Edition 26.3

Syntax

/schedule function <function> <time> [append|replace]
/schedule clear <function>

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
<time> Written as 20 (ticks), 5s or 1d.
append / replace Adds a new entry for the same function or replaces the existing one.

Examples

/schedule function og:end 30s

Runs the end function after 30 seconds.

/schedule clear og:end

Cancels the scheduled run.

Good to know

  • No need to build redstone for countdowns and delayed events.
  • The schedule is saved with the world and holds even if the server restarts.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).

Related commands

⚙️ More Advanced commands

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.