跳到正文

CommandScheduler

作者:polarbearr

Schedule any command!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

CommandScheduler

This mod is created with efficiency and customization in mind. The mod itself is very lightweight and does not use a lot of memory to run. There is also a lot of customization that can be done through the configs, such as:

  • Add a timer for how often it should run
  • Add a chance for it to run
  • Add a recheck timer for the next time it should run in case the odds don’t line up in favor of the command being run due to the chance
  • Toggle whether or not a command should run multiple times or only once. Good for initializations.
  • Add a list of commands that all have a certain weight, which allows you to run a specific list of commands.
  • Adds command /commandSchedule for running commands in the future!

Configs

{
  "Example 1": {
    "commands": [
      {
        "weight": 20,
        "command": [
          "/tell Polqrrrr hello, how are you?",
          "/tell Polqrrrr testerrr"
        ]
      },
      {
        "weight": 1000,
        "command": [
          "/tell Polqrrrr uhhh"
        ]
      }
    ],
    "frequency": 20,
    "recheckInterval": 100,
    "chance": 100,
    "repeatable": true
  }
}

常见问题

CommandScheduler 支持哪些 Minecraft 版本?

CommandScheduler 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

CommandScheduler 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

polarbearr 的其他作品

查看全部 →