跳到正文

Command Gate

Add configurable per-player cooldowns to any vanilla or modded command — server-side, persistent, and no client mod required.

收藏

介绍

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

Command Gate

Command Gate adds configurable per-player cooldowns to any vanilla or modded command on a Forge server. Players do not need to install the mod.

Features

  • Works with vanilla and modded commands
  • Per-player cooldowns
  • Longest-prefix matching for precise subcommand rules
  • Persistent cooldowns across server restarts
  • Configurable operator bypass
  • Live admin commands
  • Server-side only

Requirements

  • Minecraft 1.20.1
  • Forge 47.4.10 or newer
  • Java 17

Configuration

After the first launch, edit config/commandgate-common.toml.

Rules use command=seconds without a leading slash:

rules = ["home=30", "warp=10", "warp spawn=120"]
bypassPermissionLevel = 2

The most specific matching prefix wins. In the example above, /warp spawn uses 120 seconds while other /warp commands use 10 seconds.

Set bypassPermissionLevel = 5 if operators should not bypass cooldowns.

Admin commands

  • /commandgate list
  • /commandgate set <seconds> <command prefix>
  • /commandgate remove <command prefix>
  • /commandgate clearcooldowns

Admin changes take effect immediately and persist in the world. A removed config rule remains disabled until it is explicitly set again.

Installation

Install the JAR in the server’s mods folder. No client installation is required.

常见问题

Command Gate 支持哪些 Minecraft 版本?

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

Command Gate 怎么安装?

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

评论

登录后评论和评分

MantiCoreForge 的其他作品

查看全部 →