Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_RfYan5By.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Command on Interval - 墨喵 Minecraft 资源
Command on Interval 图标

Command on Interval

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.4.0-alpha
本资源为搬运资源,原资源地址: https://modrinth.com/mod/command-on-interval
资源信息

Minecraft 版本: 1.21 1.21.1

平台: fabric

标签: game-mechanics management utility

资源介绍

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

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Attribute Swap Timer PORTED

价格:0 墨喵币
下载量:0

查看详情
Truly Enchanting

价格:0 墨喵币
下载量:0

查看详情
NoxesiumAPI

价格:0 墨喵币
下载量:0

查看详情
Chopper's Delight

价格:0 墨喵币
下载量:0

查看详情