安全区
Safe Zone 是一款仅服务端的 Fabric 和 Paper 领地模组,适用于 Minecraft 1.21.11、26.1 和 26.2。玩家可以使用可配置的原版领地工具(默认为金锄)来保护建筑,管理员通过 /sz 命令管理领地,且未安装模组的客户端也可以加入并完整使用所有功能。
亮点
- 面向 Fabric 和 Paper 服务器的服务端领地系统
- 无需客户端模组
- 首次加入服务器时自动发放使用原版物品的初始领地工具
- 在游戏内创建、调整大小、信任管理和移除领地——支持轮廓/预览可视化,无需客户端模组
- 玩家自助服务工具:通过
/claim命令 - 管理员审核与管理工具:通过
/sz命令 - 仅限 Paper: 可选的领地编辑限制,支持与 Axiom、FastAsyncWorldEdit / WorldEdit 配合使用
依赖要求
每个发布版本提供一个对应 Minecraft 版本的 jar 文件——请选择与你的服务器匹配的文件(+26.1.2 的 jar 覆盖所有 26.1.x 版本):
| 你的服务器 | Jar 文件 | Java 版本 |
|---|---|---|
| Minecraft 26.2 | ...+26.2.jar |
25 |
| Minecraft 26.1 / 26.1.1 / 26.1.2 | ...+26.1.2.jar |
25 |
| Minecraft 1.21.11 | ...+1.21.11.jar |
21+ |
Fabric 服务器还需要安装 Fabric Loader 和 Fabric API。
安装步骤
- Fabric: 将与你 Minecraft 版本匹配的 Safe Zone Fabric jar 放入
mods/目录,同时放入 Fabric API。 Paper: 将与你 Minecraft 版本匹配的 Safe Zone Paper jar 放入plugins/目录。 - 启动服务器一次,以生成 Safe Zone 的数据/配置文件(Fabric:
<world>/safe-zone/,Paper:plugins/SafeZone/)。 - 正常加入服务器。玩家不需要在客户端安装任何内容。
玩家快速入门
- 加入服务器后,你将获得一次配置的领地工具(默认:金锄)。
- 手持该工具右键点击一个方块,保存角点 1。
- 手持该工具右键点击第二个方块,创建领地。
- 站在你的领地内:
- 手持该工具按住 Shift + 左键点击,打开建造访问(信任)菜单
- 手持该工具按住 Shift + 右键点击,确认后移除领地
- 右键点击你的领地的一个角点,开始调整领地大小
- 使用
/claim查看领地列表、信任助手和信息——以及/claim show在不持有工具的情况下保持领地边界可见。
命令
玩家命令
/claim 和 /claims 是别名。
| 命令 | 用途 |
|---|---|
/claim |
显示帮助 |
/claim help |
显示命令帮助 |
/claim status |
显示你的领地数量和上限 |
/claim list [page] |
列出你拥有的领地 |
/claim trusted [page] |
列出你被信任的领地 |
/claim here |
显示你当前位置的领地 |
/claim info [claimId] |
显示可访问领地的详细信息 |
/claim trust [claimId] |
打开你某个领地的信任菜单 |
/claim remove <claimId> |
确认后移除你拥有的一个领地 |
/claim show |
切换始终显示你的领地边界 |
/claim remove 必须在配置好的确认窗口内(默认 10 秒)执行两次。
管理员命令
/sz 和 /safezone 是别名,需要操作员或等效的管理员权限。
| 命令 | 用途 |
|---|---|
/sz |
显示帮助 |
/sz help |
显示命令帮助 |
/sz status |
显示 Safe Zone 状态摘要 |
/sz list [page] |
列出已加载的领地 |
/sz list owner <player> [page] |
列出某个玩家拥有的领地 |
/sz list trusted <player> [page] |
列出信任某个玩家的领地 |
/sz info [claimId] |
显示领地详情 |
/sz here |
显示你当前位置的领地(仅限 Paper;Fabric 请使用 /sz info) |
/sz remove <claimId> |
移除一个领地 |
/sz removeall <player> confirm |
移除某个玩家拥有的所有领地 |
/sz transfer <claimId> <player> |
转移所有权 |
/sz trust <claimId> <player> |
授予建造访问权限 |
/sz untrust <claimId> <player> |
移除建造访问权限 |
/sz tp <claimId> |
传送至一个领地 |
/sz notifications [purge [confirm]] |
查看或清除队列中的离线管理员通知 |
/sz inspect [claimId] |
在游戏内或通过 ID 检查领地 |
/sz reload |
重新加载配置和数据 |
/sz givewand [player] |
发放领地工具 |
/sz limits <player> [maxClaims|clear] |
管理领地数量上限覆盖设置 |
配置与数据
Safe Zone 将游戏操作设置和管理员设置统一存储在一个格式美观的 config.json 中,首次加载时分为 gameplay(游戏操作)和 ops(管理员)两个部分。
| 平台 | 配置文件 | 运行时数据 | 审计日志 |
|---|---|---|---|
| Fabric | <world>/safe-zone/config.json |
<world>/safe-zone/ |
<world>/safe-zone/safe-zone_audit.log |
| Paper | plugins/SafeZone/config.json |
plugins/SafeZone/data/ |
plugins/SafeZone/logs/audit.log |
游戏操作默认设置
claimWandItemId—minecraft:golden_hoestarterKitEnabled—truedropStarterKitWhenInventoryFull—truedefaultMaxClaims—3maxClaimWidth/maxClaimDepth—64/64claimGapEnforced—false(启用时claimGapMinDistance— 10 格)claimExpiryDays—0(已禁用);若设置,过期机制由登录驱动:在过期前登录会刷新你的领地,过期后登录则会移除已过期的领地notificationsEnabled—true;离线管理员通知会被排队并在玩家加入时发送(notificationRetentionDays— 30 天)windChargeKnockbackInClaims—true;设为false可禁止站在领地内的玩家受到风弹击退效果(野外区域始终不受影响)wandRemoveConfirmSeconds—5commandRemoveConfirmSeconds—10wandSelectionRangeBlocks—30;设为0则使用最大支持范围
操作员默认设置
auditLogEnabled—falsemirrorAuditToServerLog—falsecreateDataBackups—falserecoverFromBackupOnLoadFailure—false
规则与文件
- 领地仅限主世界且为全高度柱体
- 所有 JSON 状态保存均为原子操作;配置文件 JSON 保持格式化排版,运行时状态为紧凑格式
/sz reload命令重新加载config.json及数据
保护覆盖范围
Safe Zone 目前提供以下保护:
- 方块破坏与放置尝试
- 水桶的放置与使用目标
- 流体从外部或不同领地蔓延至受保护的领地
- 领地内的一般方块交互
- 领地内的矿车交互
- 火焰蔓延至领地
- 领地内的爆炸方块破坏及爆炸引发的火焰
- 画、物品展示框、矿车、船和盔甲架免受爆炸伤害或移动
- 信任玩家、所有者和管理员绕过玩家免受领地内的爆炸伤害和击退——风弹除外,以确保移动功能在所有区域正常工作(可通过
windChargeKnockbackInClaims配置) - 领地权杖交互,且不进行锄头耕作或耐久度消耗
- 仅 Paper: Axiom 编辑限制在拥有或信任的领地进行(需要 AxiomPaperPlugin 和权限
safezone.axiom) - 仅 Paper: FAWE / WorldEdit 编辑会话限制在拥有或信任的领地进行
尚未实现:
- 活塞移动保护
- 末影人破坏防护
- 一般非爆炸实体伤害保护
Safe Zone
Safe Zone is a server-only Fabric and Paper land-claim mod for Minecraft 1.21.11, 26.1, and 26.2. Players protect builds with a configurable vanilla claim wand (Golden Hoe by default), admins manage claims with /sz, and unmodded clients can still join and use the full workflow.
Highlights
- Server-side land claims for Fabric and Paper servers
- No client mod required
- First-join starter wand using a vanilla item
- In-world claim creation, resizing, trust management, and removal — with outline/preview visualization, no client mod needed
- Player self-service tools through
/claim - Admin moderation and management tools through
/sz - Paper only: optional claim-restricted editing with Axiom and FastAsyncWorldEdit / WorldEdit
Requirements
Each release ships one jar per Minecraft version — pick the file matching your server (the +26.1.2 jars cover all of 26.1.x):
| Your server | Jar | Java |
|---|---|---|
| Minecraft 26.2 | ...+26.2.jar |
25 |
| Minecraft 26.1 / 26.1.1 / 26.1.2 | ...+26.1.2.jar |
25 |
| Minecraft 1.21.11 | ...+1.21.11.jar |
21+ |
Fabric servers additionally need Fabric Loader and Fabric API.
Install
- Fabric: put the Safe Zone Fabric jar matching your Minecraft version in
mods/, along with Fabric API. Paper: put the Safe Zone Paper jar matching your Minecraft version inplugins/. - Start the server once to generate the Safe Zone data/config files (Fabric:
<world>/safe-zone/, Paper:plugins/SafeZone/). - Join normally. Players do not need anything installed on the client.
Player quick start
- Join the server and receive the configured claim wand once (default: Golden Hoe).
- Right-click one block with the wand to save corner 1.
- Right-click a second block with the wand to create the claim.
- Stand inside your claim and:
- Shift + left-click with the wand to open the build-access (trust) menu
- Shift + right-click with the wand to remove the claim after confirming
- Right-click one of your claim corners to start resizing
- Use
/claimfor claim lists, trust helpers, and claim info — and/claim showto keep your claim boundaries visible without holding the wand.
Commands
Player commands
/claim and /claims are aliases.
| Command | Purpose |
|---|---|
/claim |
Show help |
/claim help |
Show command help |
/claim status |
Show your claim count and limit |
/claim list [page] |
List claims you own |
/claim trusted [page] |
List claims where you are trusted |
/claim here |
Show the claim at your position |
/claim info [claimId] |
Show details for an accessible claim |
/claim trust [claimId] |
Open the trust menu for one of your claims |
/claim remove <claimId> |
Remove one of your claims after confirmation |
/claim show |
Toggle always-on display of your claim boundaries |
/claim remove must be run twice within the configured confirmation window (10 seconds by default).
Admin commands
/sz and /safezone are aliases and require operator or equivalent admin access.
| Command | Purpose |
|---|---|
/sz |
Show help |
/sz help |
Show command help |
/sz status |
Show Safe Zone status summary |
/sz list [page] |
List loaded claims |
/sz list owner <player> [page] |
List claims owned by one player |
/sz list trusted <player> [page] |
List claims that trust one player |
/sz info [claimId] |
Show claim details |
/sz here |
Show the claim at your position (Paper only; on Fabric use /sz info) |
/sz remove <claimId> |
Remove one claim |
/sz removeall <player> confirm |
Remove every claim owned by a player |
/sz transfer <claimId> <player> |
Transfer ownership |
/sz trust <claimId> <player> |
Grant build access |
/sz untrust <claimId> <player> |
Remove build access |
/sz tp <claimId> |
Teleport to a claim |
/sz notifications [purge [confirm]] |
Review or purge queued offline admin notices |
/sz inspect [claimId] |
Inspect claims in-world or by ID |
/sz reload |
Reload config and data |
/sz givewand [player] |
Give a claim wand |
/sz limits <player> [maxClaims|clear] |
Manage claim limit overrides |
Configuration and data
Safe Zone stores gameplay and ops settings together in one pretty-printed config.json, grouped into gameplay and ops sections on first load.
| Platform | Config | Runtime data | Audit log |
|---|---|---|---|
| Fabric | <world>/safe-zone/config.json |
<world>/safe-zone/ |
<world>/safe-zone/safe-zone_audit.log |
| Paper | plugins/SafeZone/config.json |
plugins/SafeZone/data/ |
plugins/SafeZone/logs/audit.log |
Gameplay defaults
claimWandItemId—minecraft:golden_hoestarterKitEnabled—truedropStarterKitWhenInventoryFull—truedefaultMaxClaims—3maxClaimWidth/maxClaimDepth—64/64claimGapEnforced—false(claimGapMinDistance—10blocks when enabled)claimExpiryDays—0(disabled); when set, expiry is login-driven: logging in before expiry refreshes your claims, logging in after it removes expired onesnotificationsEnabled—true; offline admin notices are queued and delivered on join (notificationRetentionDays—30)windChargeKnockbackInClaims—true; setfalseto suppress wind-charge knockback for players standing inside claims (the wilderness is never affected)wandRemoveConfirmSeconds—5commandRemoveConfirmSeconds—10wandSelectionRangeBlocks—30;0uses the maximum supported range
Ops defaults
auditLogEnabled—falsemirrorAuditToServerLog—falsecreateDataBackups—falserecoverFromBackupOnLoadFailure—false
Rules and files
- Claims are Overworld-only and full-height columns
- All JSON state saves atomically; config JSON stays pretty-printed, runtime state is compact
/sz reloadreloadsconfig.jsonand data
Protection coverage
Safe Zone currently protects:
- Block breaking and block placement attempts
- Bucket placement and use targets
- Fluid spread into protected claims from outside or a different claim
- General block use inside claims
- Minecart interaction in claims
- Fire spread into claims
- Explosion block damage and explosion-created fire in claims
- Paintings, item frames, minecarts, boats, and armor stands from explosion damage or movement
- Trusted, owner, and admin-bypass players from explosion damage and knockback inside claims — wind charges are exempt so movement works everywhere (configurable via
windChargeKnockbackInClaims) - Claim-wand interactions without hoe tilling or durability use
- Paper only: Axiom editing restricted to owned/trusted claims (requires AxiomPaperPlugin and
safezone.axiom) - Paper only: FAWE / WorldEdit edit sessions restricted to owned/trusted claims
Not implemented yet:
- Piston movement protection
- Enderman grief prevention
- General non-explosion entity-damage protection
下载 Safe Zone Claims
下载 Safe Zone Claims
下载 Safe Zone Claims
下载 Safe Zone Claims
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Safe Zone Claims
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Safe Zone Claims
下载 Safe Zone Claims
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Safe Zone Claims
下载 Safe Zone Claims
下载 Safe Zone Claims
26.3 版本的更新
- 风冲再次生效:此前在荒野或你拥有/被信任的领地内,击退效果被错误地阻止了。领地内的 TNT/苦力怕保护保持不变。
- 新增配置项
windChargeKnockbackInClaims(默认值为true):将其设为false可阻止领地上的玩家受到风冲击退;荒野区域始终不受影响。使用/sz reload应用更改。 - 现有配置、领地和数据均可正常使用,无需修改。
Java:1.21.11 版本的 jar 文件需要 Java 21+;26.1/26.2 版本的 jar 文件需要 Java 25。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧