跳到正文

NeoForge Command Blocker

作者:SilentDrs

A mod that blocks selected commands from being used on a world/server (even for OP's and server console)

收藏

介绍

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

Neoforge Command Blocker

Have you ever ran a server where you wanted to block commands from being used, whether it’s from stopping players from using /seed or stopping OP’s abusing commands like /tp or perhaps it’s to prevent yourself from reaching into the temptation of going into creative mode. Well fret no more. This mod allows you to do just that.

How to use

On a server you can ban commands in the mod’s config commandlocker-common.toml by typing into the square brackets the command you want to block (remember to use “”) ie [“tp”]

or if you want to block multiple commands just add a ‘,’ ie [“tp”, “gamemode”].

Sub commands can be blocked instead of banning the full command for example [“tp”, “teleport”, “gamemode creative”, “ban User”]

This mod can be used in a singleplayer world too with an in game config screen accessed via Mods → Command Locker → Config.

You do not need to restart your server for the config to be updated.

The commands will be blocked on saving the config file

常见问题

NeoForge Command Blocker 支持哪些 Minecraft 版本?

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

NeoForge Command Blocker 怎么安装?

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

评论

登录后评论和评分