跳到正文

AdminGuard

作者:BlazeyCrazey

A Minecraft server side mod made to be compatible with create above and beyond servers that makes sure admins don't admin abuse.

收藏

介绍

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

AdminGuard

A server-side Forge mod that prevents admin abuse by blocking dangerous commands. No client mod required.

Features

  • Blocks abusable commands — /give, /gamemode, /op, /fill, /tp, /execute, /time, /weather, and 40+ more
  • Blocks WorldEdit commands — All // commands and single-slash WorldEdit variants (/brush, /schematic, etc.)
  • Bypass prevention — Namespace tricks like /minecraft:give are caught automatically
  • Custom /help — Shows [BLOCKED] in red next to disabled commands, with pagination
  • Logging — Every blocked attempt is logged with player name, command, and timestamp
  • Fully configurable — Edit adminguard.toml to add or remove commands from the blocklist
  • Server-side only — Players don’t need to install anything

What Gets Blocked

| Category | Commands |
|—|—|
| Item/Entity spawning | /give, /summon, /loot |
| World modification | /fill, /setblock, /clone, /spreadplayers, /forceload |
| Player modification | /gamemode, /tp, /enchant, /effect, /xp, /clear, /kill |
| Server administration | /op, /deop, /stop, /whitelist, /reload |
| Game settings | /weather, /time, /difficulty, /gamerule, /worldborder |
| Advanced | /execute, /data, /function, /schedule, /datapack |
| WorldEdit | All // commands + /brush, /worldedit, /schematic, etc. |

What Stays Allowed

/ban, /kick, /ban-ip, /list, /help, /tell, /msg, /say, /me, /seed, and any command not on the blocklist.

Configuration

On first run, adminguard.toml is generated in your config folder:

[general]
    # Block all // (double-slash) commands (WorldEdit)
    blockDoubleSlashCommands = true
    # List of command names to block
    blockedCommands = ["give", "gamemode", "op", ...]

Add or remove commands as needed. Changes can be reloaded without restarting the server.

Installation

  1. Install Minecraft Forge for 1.16.5
  2. Drop AdminGuard-1.0.0.jar into your server’s mods/ folder
  3. Start the server
  4. (Optional) Edit config/adminguard.toml to customize the blocklist

Requirements

  • Minecraft 1.16.5
  • Forge 36.2+
  • Server-side only — no client installation needed

常见问题

AdminGuard 支持哪些 Minecraft 版本?

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

AdminGuard 怎么安装?

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

评论

登录后评论和评分

BlazeyCrazey 的其他作品

查看全部 →