您可以通过以下链接支持我:
这个为 Villager Recruits 设计的插件修复了最大的攻城漏洞:攻击者不再通过在领地内任意地方挂机直到计时结束来获胜。
相反,领地通过争夺由所有者选择的单个核心区块(Core Chunk)来被占领。
此模组修改内容:
- 将默认的“全领地压力”攻城行为替换为核心目标占领机制。
- 每个领地有一个核心区块(由所有者选择)。
- 攻击者必须争夺该核心区块才能使占领进度推进。
- 当攻击者离开核心区块时,攻城进度暂停。
- 如果攻击者停留时间过长未返回,攻城失败。
- 增加了清晰的目标标记供攻击者使用(无需猜测需要推进哪个区块)。
核心攻城机制:
- 攻击者进入领地并开始满足攻城条件。
- 只有位于核心区块内的单位才算作推动占领进度的有效力量。
- 占领进度基于在核心区块中积极争夺的时间计算:
capture_duration_seconds(默认值:600 = 10 分钟)
- 如果攻击者离开核心区块:
进度暂停(不会立即失败)
若超过 pause_timeout_seconds(默认值:60)仍未返回,则攻城失败
- 招募兵(Recruits)的攻城界面/消息保持同步。
视觉核心标记(供攻击者查看)
当玩家进入领地时,攻击者可以清晰地看到核心目标:
- 核心位置有一道明亮的红色天柱光束
- 核心位置有一个悬浮的红色旗帜标记
- 可穿透墙壁显示,便于确定进攻方向
- 此标记对敌方可见,帮助其识别攻击目标。
命令:
/setcorechunk
在您领地的所需区块内站立时使用。
规则:
- 必须站在自己的领地内
- 活跃攻城期间无法使用
- 仅限领地所有者/派系领袖(或拥有 OP 权限者)设置
- 管理员领地不可用
配置文件:
<world>/serverconfig/siegesystemfix-server.toml
_[core_siege]
capture_duration_seconds = 600
pause_timeout_seconds = 60_
capture_duration_seconds: 激活状态下争夺核心区块以完成占领所需的时间
pause_timeout_seconds: 攻城失败前允许的最大暂停时间
集成说明:
- 使用 Recruits 现有的攻城数据流和客户端同步机制。
- 所需的攻击者数量仍遵循 Recruits 的配置:
recruits-server.toml 中的 Claiming.SiegeClaimsRecruitsAmount。
- 如果没有手动设置核心区块,则使用领地中心作为后备方案。
快速设置:
- 安装 Recruits 和 SiegeSystemFix(相同的 Forge 1.20.1 环境)。
- 创建或拥有一个领地。
- 站在您希望设为核心的区块内。
- 运行
/setcorechunk。
- 如有需要,在
siegesystemfix-server.toml 中调整超时/占领设置。
您可以通过以下链接支持我:
You can support me through-
This addon for Villager Recruits that closes the biggest siege exploit: attackers no longer win by idling anywhere in the claim until the timer ends.
Instead, claims are captured by contesting a single Core Chunk chosen by the owner.
What This Mod Changes:
- Replaces default “whole-claim pressure” siege behavior with core objective capture.
- Each claim has one Core Chunk (owner-selected).
- Attackers must contest that core chunk to make capture progress.
- Siege progress is paused when attackers leave the core chunk.
- If attackers stay away too long, siege fails.
- Adds a clear attacker-side target marker (no guessing which chunk to push).
Core Siege Mechanics:
- Attackers enter a claim and start siege conditions.
- Only units in the Core Chunk count for progressing capture.
- Capture progress is based on time actively contested in core:
capture_duration_seconds (default: 600 = 10 minutes)
- If attackers leave core:
Progress pauses (does not instantly fail)
After pause_timeout_seconds (default: 60), siege fails if they don’t return
- Recruits siege UI/messages remain synced.
Visual Core Marker (for Attackers)
When an player enters a claim, attackers see the core objective clearly:
- A bright red sky beam at core position
- A floating red banner marker at the core
- Visible through walls for easy objective direction
- This appears for enemies to help them identify where to attack.
Command:
/setcorechunk
Use it while standing in the desired chunk inside your claim.
Rules:
Must be inside your own claim
Cannot be used during active siege
Claim owner/faction leader (or OP) can set it
Not available for admin claims
Configuration File:
<world>/serverconfig/siegesystemfix-server.toml
[core_siege]
capture_duration_seconds = 600
pause_timeout_seconds = 60
capture_duration_seconds: active core contest time required to capture
pause_timeout_seconds: max pause time before siege fails
Integration Notes:
Uses Recruits’ existing siege data flow and client sync.
Required attacker count still follows Recruits config:
Claiming.SiegeClaimsRecruitsAmount in recruits-server.toml.
If no core is manually set, claim center is used as fallback.
Quick Setup:
1.Install Recruits + SiegeSystemFix (same Forge 1.20.1 environment).
2.Create/own a claim.
3.Stand in your desired core chunk.
4.Run /setcorechunk.
5.Adjust timeout/capture settings in siegesystemfix-server.toml if needed.
You can support me through-
评论 0
登录后参与评分
还没有评论,来抢沙发吧