Skip to content

Command on Interval

A mod runs in-game command with customize configs. 一款可执行游戏内命令的模组,外加自定义设置

Fabric
Loaders
Fabric
Downloads on Modrinth
473
Followers on Modrinth
1
versions
7
Updated
January 1, 2026Jan 1
Published
in 2025
Example using three commands — say Hello, world! time set day kill @e[type=item] · swipe

At a glance

Runs on Fabric
For Minecraft 1.21–1.21.1
Server only — players don't need to install it
Latest version — 0.4.0-alpha from January 1, 2026
Requires Fabric API and Tiny Config Manager Lib
License MPL-2.0 — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.21–1.21.1

English 简体中文

What is that

A mod runs in-game command with customize configs.
For now the commands will run as soon as server mod initialize.

Use

Also load the require mod Config Manager
Remember that Singleplayer contains an integrated server.

Features

  • Multi-command support
  • Ticks or seconds: Whether use game ticks or seconds (20 ticks) in timing
  • Delays: Add delay before command run
  • Interval: The cycle of each command does
  • There's no reason to run a command from Java code

Example

eg command_on_interval.json:

{
   "0":{
      "enabled":true,
      "unit-use-ticks":false,
      "delay":0,
      "interval":10,
      "command":"say Hello, world!"
   },
   "1":{
      "enabled":true,
      "unit-use-ticks":true,
      "delay":0,
      "interval":180,
      "command":"time set day"
   },
   "2":{
      "enabled":true,
      "unit-use-ticks":true,
      "delay":5,
      "interval":200,
      "command":"kill @e[type=item]"
   }
}

Config

Locate your config in Minecraft installation location.\

Default location using official launcher on Windows:
%APPDATA%\.minecraft\config\command_on_interval.json
Or
C:\Users\YOUR_USER_NAME\AppData\Roaming\.minecraft\config\command_on_interval.json

You will get somethings like that:

{
   "0":{
      "enabled":true,
      "unit-use-ticks":false,
      "delay":0,
      "interval":10,
      "command":""
   }
}
"0"

No. 1 command,you can add "1" also "2" etc...

enabled

True enable this entry of setting, vice versa

unit-use-ticks

For delay or interval, true use ticks, false ues seconds

delay

Delay before each command runs

interval

Cycles interval for each command

command

In-game command without / prefix
Eg. time set day

icon.png © 2025 by FelixAgairu is licensed under CC BY-NC-SA 4.0

FAQ

How to install Command on Interval?

Install Fabric for your Minecraft version, download Command on Interval for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Command on Interval support?

Command on Interval has builds for Minecraft 1.21–1.21.1.

Is Command on Interval needed on the server?

Server only — players don't need to install it

License and source
Mozilla Public License 2.0free to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More