SeedGuard
SeedGuard 是专为 Paper 1.21.11 设计的安全插件,旨在帮助 SMP 服务器抵御获取世界种子(world seed)的常见手段。
该插件面向希望显著提升玩家通过种子破解模组、漏洞利用、基于数据包的方法以及滥用结构/NBT 机制来获取种子的难度的服务器管理员。
关于插件
SeedGuard 并不保证在所有理论场景下绝对无法还原种子。
相反,它旨在阻断并增加在多人服务器中最常见且实际可行的种子泄露途径的难度。
功能
1. 虚假种子
插件会拦截重要的出站数据包,并将真实的 hashed seed(哈希种子)替换为虚假值。
保护应用于以下关键场景:
- 加入服务器
- 重生/状态变更时客户端再次接收世界数据的时刻
这使得客户端模组和工具难以直接从网络数据中读取真实种子。
2. 命令拦截
插件拦截以下命令:
/seed
/minecraft:seed
/bukkit:seed
/spigot:seed
/paper:seed
3. 命令隐藏
被拦截的命令将从以下列表中移除:
- 可用命令列表
- Tab 补全建议
- 尽可能从命令建议中移除
4. 结构与拼合台(Jigsaw)
插件可以拦截:
放置结构方块
破坏结构方块
与结构方块交互
放置拼合台方块
破坏拼合台方块
使用拼合台相关功能
5. 数据包保护
SeedGuard 拦截与技术相关的数据包,包括:
方块/实体 NBT 查询
结构更新/生成
拼合台更新
类似调试订阅的请求
6. 虚假种子模式
支持以下模式:
per_player_stable — 每位玩家拥有固定的虚假种子
random_each_join — 每次加入时生成新的虚假种子
fixed — 所有人使用相同的配置虚假种子
推荐模式
对于大多数 SMP 服务器,建议使用:
fake-seed:
mode: "per_player_stable"
配置
插件允许单独启用或禁用以下功能:
- 加入数据包保护
- 重生数据包保护
- 结构数据包拦截
- 拼合台数据包拦截
- NBT 查询数据包拦截
- 调试数据包拦截
- 玩家加入时更新命令列表
- 记录被拦截尝试的控制台日志
权限
seedguard.bypass
拥有此权限的玩家可绕过插件的限制。
兼容性
- 服务端: Paper
- Minecraft 版本: 1.21.11
- Java: 推荐使用 Java 21
重要提示
SeedGuard 是一个加固插件,而非“一键解决”方案。
它的设计目的是使现实世界中常见的种子泄露方法变得极其不便,并阻断 SMP 服务器上最常见的实际种子泄露途径。
安装
- 下载最新版本
- 将
.jar 文件放入 plugins 文件夹
- 启动或重启服务器
- 根据需要配置
config.yml
- 确保将默认的
salt(盐值)替换为你自己的长随机字符串
建议
- 使用 Paper 1.21.11
- 使用 Java 21
- 在正式服务器上使用插件前,请在配置文件中替换默认的 salt
为什么使用 SeedGuard
如果你希望实现以下目标,SeedGuard 是一个不错的选择:
- 降低种子破解模组的效果
- 封堵容易的种子泄露途径
- 提升公共或私人 SMP 的安全性
- 限制与结构/NBT 数据包相关的技术滥用
SeedGuard
SeedGuard is a security plugin for Paper 1.21.11 that helps protect SMP servers from common methods used to obtain the world seed.
The plugin is designed for server owners who want to significantly increase the difficulty of seed extraction by players using seed-cracker mods, exploits, packet-based methods, and technical abuse of structure/NBT mechanics.
About the plugin
SeedGuard does not promise absolute mathematical impossibility of recovering the seed in every theoretical scenario.
Instead, it blocks and complicates the most common and practical seed leak paths on multiplayer servers.
Features
1. Fake seed
The plugin intercepts important outgoing packets and replaces the real hashed seed with a fake value.
Protection is applied in key scenarios:
- joining the server
- respawning / state changes where the client receives world data again
This makes it harder for client-side mods and tools to read the real seed directly from network data.
2. Command blocking
The plugin blocks:
/seed
/minecraft:seed
/bukkit:seed
/spigot:seed
/paper:seed
3. Command hiding
Blocked commands are removed from:
- the list of available commands
- tab-completion suggestions
- command suggestions where possible
4. Structure and Jigsaw
The plugin can block:
placing structure blocks
breaking structure blocks
interacting with structure blocks
placing jigsaw blocks
breaking jigsaw blocks
using jigsaw-related functionality
5. Packet protection
SeedGuard blocks technical packets related to:
block/entity NBT queries
structure update/generate
jigsaw update
debug subscription-like requests
6. Fake seed modes
The following modes are supported:
per_player_stable — a stable fake seed for each player
random_each_join — a new fake seed on every join
fixed — the same configured fake seed for everyone
Recommended mode
For most SMP servers, it is recommended to use:
fake-seed:
mode: "per_player_stable"
Configuration
The plugin allows you to individually enable or disable:
- join packet protection
- respawn packet protection
- structure packet blocking
- jigsaw packet blocking
- NBT query packet blocking
- debug packet blocking
- command list updating on player join
- console logging of blocked attempts
Permission
seedguard.bypass
Players with this permission bypass the plugin’s restrictions.
Compatibility
- Server: Paper
- Minecraft version: 1.21.11
- Java: 21 recommended
Important
SeedGuard is a hardening plugin, not a “magic button”.
It is designed to make real-world seed leak methods much less convenient and to block the most common practical seed leak paths on SMP servers.
Installation
- Download the latest version
- Move the
.jar file into the plugins folder
- Start or restart the server
- Configure
config.yml if needed
- Make sure to replace the default
salt with your own long random string
Recommendations
- Use Paper 1.21.11
- Use Java 21
- Replace the default salt in the config before using the plugin on a live server
Why use SeedGuard
SeedGuard is a good choice if you want to:
- make seed-cracker mods less effective
- close easy seed leak paths
- improve the security of a public or private SMP
- limit technical abuse related to structure/NBT packet paths
评论 0
登录后参与评分
还没有评论,来抢沙发吧