SeedShield
为 Paper/Spigot 服务器提供基于密码学结构的种子保护。
SeedShield 通过用不可逆的 SHA-256 派生值替换每种结构类型的放置盐(salt),防止种子破解工具(如 chunkbase、SeedCrackerX、Structurecracker)确定结构位置。
这是首个为 Paper/Spigot 插件提供密码学结构种子保护的工具。 此前,这种级别的保护仅可通过 Fabric 模组或自定义服务端分支获得。
工作原理
Minecraft 使用以下公式确定结构位置:
position = f(worldSeed, regionCoords, salt)
salt 是每种结构类型硬编码的整数。chunkbase 等工具知晓这些默认盐值,因此知道世界种子 = 知道所有结构位置。
SeedShield 将每个盐值替换为:
salt = SHA-256(secretKey + ":" + worldSeed + ":" + structureType)[0..4]
- 按结构隔离:每种结构类型获得唯一的密码学盐值。破解一种类型的盐值无法泄露其他类型的信息。
- 密钥保护:没有存储在
config.yml 中的 256 位密钥,盐值无法被逆向。
- 要塞保护:同时修改
concentricRingsSeed 并重新计算环形位置。
安装
- 下载
SeedShield-1.0.0.jar
- 将其放入服务器的
plugins/ 文件夹
- 删除你要保护的世界的区域文件(结构必须重新生成)
- 重启服务器
- 编辑
plugins/SeedShield/config.yml 以配置要保护的世界
重要提示:SeedShield 仅影响新生成的区块。已生成区块中现有的结构位置不会改变。
配置
# 自动生成的 256 位密钥。请勿分享。
secret-key: "a1b2c3d4..."
# 受保护的世界
enabled-worlds:
- world
- survival
SeedShield
Cryptographic structure seed protection for Paper/Spigot servers.
SeedShield prevents seed cracking tools (chunkbase, SeedCrackerX, Structurecracker) from determining structure locations by replacing each structure type's placement salt with an irreversible SHA-256 derived value.
This is the first Paper/Spigot plugin to provide cryptographic structure seed protection. Previously, this level of protection was only available through Fabric mods or custom server forks.
How It Works
Minecraft determines structure positions using this formula:
position = f(worldSeed, regionCoords, salt)
The salt is a hardcoded integer per structure type. Tools like chunkbase know these default salts, so knowing the world seed = knowing all structure locations.
SeedShield replaces each salt with:
salt = SHA-256(secretKey + ":" + worldSeed + ":" + structureType)[0..4]
- Per-structure isolation: Each structure type gets a unique cryptographic salt. Cracking one type's salt reveals nothing about others.
- Secret key protection: Without the 256-bit key (stored in
config.yml), salts cannot be reversed.
- Stronghold protection: Also modifies
concentricRingsSeed and recalculates ring positions.
Installation
- Download
SeedShield-1.0.0.jar
- Place it in your server's
plugins/ folder
- Delete the region files of worlds you want to protect (structures must regenerate)
- Restart the server
- Edit
plugins/SeedShield/config.yml to configure which worlds to protect
Important: SeedShield only affects newly generated chunks. Existing structures in already-generated chunks will not change positions.
Configuration
# Auto-generated 256-bit secret key. DO NOT SHARE.
secret-key: "a1b2c3d4..."
# Worlds to protect
enabled-worlds:
- world
- survival
评论 0
登录后参与评分
还没有评论,来抢沙发吧