BlockGuard 是一款功能强大的 Minecraft 1.17 全能管理与反破坏工具,旨在帮助服务器管理员执行方块放置规则,并审计玩家背包及世界容器中的违禁物品。
主要特性
不可放置方块防护
在 config.yml 中定义任意数量的禁止方块(例如 COMMAND_BLOCK、BARRIER、TNT),BlockGuard 将静默取消放置操作并通知玩家。
灵活的扫描与搜索
/bg search <player> <query>:快速搜索特定玩家的背包或末影箱,查找任何材质或部分自定义显示名称的物品。
/bg scan all [loaded|unloaded|all] <material|unplaceable>:
loaded — 仅扫描当前已加载的区块
unloaded — 加载并扫描世界边界内的区块
all — 同时扫描已加载和未加载的区块
<material> — 搜索单个方块/物品(例如 DIAMOND_BLOCK)
unplaceable — 搜索你禁止方块列表中的所有物品
全面的容器支持
扫描所有 Container 实体——包括箱子、桶、熔炉、漏斗、潜影盒等,确保没有隐藏的违禁物品漏网。
按玩家与容器的日志记录
每次匹配结果都会记录到按玩家分类的 YAML 文件(plugins/BlockGuard/founddata/<UUID>.yml)或共享的 containers.yml 中,记录玩家/UUID、世界坐标、时间戳和物品详情,便于轻松审计。
物品名称与描述自定义
通过 config.yml 下的 blocks.edit.<MATERIAL> 覆盖任何材质的显示名称和描述,在 /bg update 或扫描期间自动应用——无需在游戏中输入命令。
细粒度的权限控制
切换权限强制执行并分配以下权限:
blockguard.reload — 重载配置与消息
blockguard.update — 应用名称/描述更新
blockguard.search — 背包搜索
blockguard.scan — 世界/容器扫描
blockguard.admin 或 blockguard.* — 最高权限
安装与使用
将 BlockGuard.jar 放入你的 plugins/ 文件夹。
编辑 config.yml 以设置禁止方块和名称/描述覆盖。
在 messages.yml 中自定义消息。
重启服务器或执行 /bg reload。
使用 /bg help 查看可用命令。
BlockGuard 赋予你执行服务器方块规则、追踪非法物品并保持世界安全的能力——只需一个易于配置的插件!
Block Guard is a powerful all‑in‑one administration and anti‑grief tool for Minecraft 1.17, designed to help server operators enforce block placement rules and audit contraband items across player inventories and world containers.
Key Features
Unplaceable Block Prevention
Define any number of forbidden blocks in your config.yml (e.g. COMMAND_BLOCK, BARRIER, TNT) and BlockGuard will silently cancel placement and notify the player.
Flexible Scanning & Searching
/bg search <player> <query>: Quickly search a specific player’s inventory or Ender Chest for any material or part of a custom display name.
/bg scan all [loaded|unloaded|all] <material|unplaceable>:
loaded — scan only currently loaded chunks
unloaded — load & scan chunks within the world border
all — both loaded and unloaded
<material> — search for a single block/item (e.g. DIAMOND_BLOCK)
unplaceable — search for everything in your forbidden‑block list
Comprehensive Container Support
Scans all Container tile‑entities—chests, barrels, furnaces, hoppers, shulker boxes and more—ensuring no hidden contraband goes undetected.
Per‑Player & Container Logging
Every match is logged to a per‑player YAML file (plugins/BlockGuard/founddata/<UUID>.yml) or a shared containers.yml, recording player/UUID, world coordinates, timestamp, and item details for easy auditing.
Item Name & Lore Customization
Override display names and lore for any material via config.yml under blocks.edit.<MATERIAL>, automatically applied on /bg update or during scans—no in‑game commands required.
Fine‑Grained Permissions
Toggle permission enforcement and assign:
blockguard.reload — reload config & messages
blockguard.update — apply name/lore updates
blockguard.search — inventory searches
blockguard.scan — world/container scans
blockguard.admin or blockguard.* — master permissions
Installation & Usage
Drop BlockGuard.jar into your plugins/ folder.
Edit config.yml to set your forbidden blocks and name/lore overrides.
Customize messages in messages.yml.
Restart or /bg reload.
Use /bg help to view available commands.
BlockGuard empowers you to enforce your server’s block rules, track down illicit items, and keep your world safe—all with a single, easy‑to‑configure plugin!
评论 0
登录后参与评分
还没有评论,来抢沙发吧