- 版权类型
- 原创
- 插件中文名称
- 世界限制命令
- 插件英文名称
- MTWorldBanCmd
- 原帖地址
- #
- 支持的核心(服务端)
- Spigot
- Paper
- Folia
- Purpur
- PufferFish
- SpongeVanilla
- Leaves
- 其他核心
- 语言支持
- 中文(简体)
- 前置组件
- 无
- 适配版本(Java)
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
YAML:
# MTWorldBanCmd 配置文件
# 作者: 馒头(QQ33731789)
# 调试模式(输出详细日志)
debug: false
# 消息语言文件(messages.yml 中的节点前缀无需更改,此处指定文件名)
# 如需多语言支持,可复制 messages.yml 并在此处引用
messages-file: messages.yml
# 世界命令限制配置
# 格式:
# 世界名称:
# banned-commands:
# - 命令(不带斜杠,支持通配符 *)
# whitelist-mode: false # 设为 true 时,banned-commands 变为白名单(只允许列出的命令)
# bypass-permission: mtworldbancmd.bypass # 可选,覆盖默认绕过权限
#
# 示例:
worlds:
# 示例:在 world_nether 中禁止 /tp 和 /teleport
world_nether:
banned-commands:
- tp
- teleport
- tpa
- tpahere
whitelist-mode: false
# 可选:为该世界单独指定自定义消息键(对应 messages.yml 中的键)
# custom-message: world.nether.ban-message
# 示例:在 world_the_end 中只允许使用 /spawn 和 /home(白名单模式)
# world_the_end:
# banned-commands:
# - spawn
# - home
# whitelist-mode: true
# 示例:在 creative_world 中禁止所有命令(使用通配符)
# creative_world:
# banned-commands:
# - "*"
# whitelist-mode: false