Leader Mod
Leader Mod 为 Fabric 服务器添加了一个完整的政治领导系统。玩家可以投票选举领导人,资助共享的王室金库,支持法令,领取赏金,或组织叛乱以推翻王座。
专为 Fabric 1.21.1 和 Java 21 构建。
功能特性
- 玩家主导的领导人选举
- 持久化的领导人、投票、金库、法令、叛乱和赏金数据
- 可配置的领导人能力及其冷却时间
- 对附近盟友生效的被动领导人光环
- 使用可配置物品进行的金库与进贡经济系统
- 从在线玩家处征收的领导人税款
- 影响游戏玩法的全境法令
- 由金库资助的赏金系统
- 可以罢免当前领导人的叛乱系统
- 防止 PvP 的临时避难所区域
- 可选的献祭仪式
- 用于强制、清除和重新加载领导状态的运营商(Operator)命令
领导权
玩家通过以下方式选举一名在线候选人:
/leader vote <player>
当候选人的票数达到配置的阈值时,其将成为领导人。该角色将持续存在,直到领导人退位、被操作员清除,或有足够多的玩家加入叛乱。
常用命令:
/leader current
/leader votes
/leader realm
/leader abdicate
领导人能力
当选的领导人可以使用戏剧性的全境力量:
/leader lightning <player>
/leader imprison <player>
/leader rally
/leader judgement <player>
/leader pardon <player>
/leader sacrifice <player>
/leader exile <player>
/leader sanctuary
/leader warcry
/leader beacon
/leader feast
/leader summon <player>
/leader loyalty <player>
/leader crown
/leader proclaim <message>
/leader locate <player>
示例:
- Lightning 用闪电效果和伤害攻击目标。
- Imprison 将目标困在临时牢笼中。
- Rally 增益附近的玩家。
- Judgement 标记并削弱目标。
- Pardon 清除负面效果并移除叛军身份。
- Exile 将目标传送到荒野中。
- Sanctuary 创建一个临时的禁 PVP 区域。
- Warcry 伤害、削弱并击退附近的玩家。
- Beacon 为附近的玩家提供实用增益效果。
- Feast 消耗金库资源来治疗并喂饱附近的玩家。
- Summon 在警告延迟后将目标拉至领导人身边。
- Proclaim 向全服广播皇家消息。
全境系统
Leader Mod 包含超越领导人角色的全境管理功能:
/leader tribute <amount>
/leader tax
/leader decree <none|war|peace|prosperity|storm>
/leader rebel
/leader rebels
/leader bounty <player> <reward>
/leader bounties
/leader clearbounty <player>
金库
玩家可以贡献配置的金库物品,默认为绿宝石。领导人可以用金库资源举办盛宴和发放赏金。
法令
领导人可以设置全境法令:
none - 无活跃法令
war - 领导人攻击造成更高伤害
peace - PvP 伤害降低
prosperity - 挖矿矿石可能产生额外奖励
storm - 领导人攻击可触发闪电火花
叛乱
玩家可以使用 /leader rebel 加入或退出叛乱。如果有足够数量的符合条件的在线玩家参与叛乱,当前领导人将被推翻,王座变为空缺。
赏金
领导人可以从金库中资助赏金。当赏金目标被另一名玩家击杀时,击杀者将获得配置的奖励物品和经验值。
配置
Leader Mod 会在以下路径生成 JSON 配置文件:
config/leadermod.json
主要可配置项包括:
- 投票阈值
- 最少在线投票人数
- 能力冷却时间
- 伤害数值
- 能力持续时间
- 领导人光环半径
- 金库材料
- 税收金额
- 叛乱阈值
- 赏金奖励上限
- 法令效果
- 启用/禁用献祭
世界特定的领导人、投票、金库、叛乱和赏金数据保存在世界文件夹下的 leadermod/ 目录中。
管理员命令
拥有 Operator 权限的玩家可以使用:
/leader force <player>
/leader clear
/leader reload
依赖要求
- Minecraft 1.21.1
- Fabric Loader 0.18.4 或更高版本
- Fabric API
- Java 21
这是一个服务端 Fabric 模组。加入运行了该模组的服务器时,客户端通常无需安装此模组。
Leader Mod
Leader Mod adds a full political leadership system to Fabric servers. Players vote for an elected leader, fund a shared realm treasury, support decrees, claim bounties, or organize a rebellion to overthrow the throne.
Built for Fabric 1.21.1 with Java 21.
Features
- Player-driven leader elections
- Persistent leader, vote, treasury, decree, rebel, and bounty data
- Configurable leader abilities with cooldowns
- Passive leader aura for nearby allies
- Treasury and tribute economy using a configurable item
- Leader tax collection from online players
- Realm-wide decrees that affect gameplay
- Bounties funded from the treasury
- Rebellion system that can remove the current leader
- Temporary sanctuary zones that prevent PvP
- Optional sacrifice ritual
- Operator commands for forcing, clearing, and reloading leadership state
Leadership
Players elect an online candidate with:
/leader vote <player>
When a candidate reaches the configured vote threshold, they become the leader. The role persists until the leader abdicates, an operator clears it, or enough players join a rebellion.
Useful commands:
/leader current
/leader votes
/leader realm
/leader abdicate
Leader Powers
The elected leader can use dramatic realm powers:
/leader lightning <player>
/leader imprison <player>
/leader rally
/leader judgement <player>
/leader pardon <player>
/leader sacrifice <player>
/leader exile <player>
/leader sanctuary
/leader warcry
/leader beacon
/leader feast
/leader summon <player>
/leader loyalty <player>
/leader crown
/leader proclaim <message>
/leader locate <player>
Examples:
- Lightning strikes a target with lightning effects and damage.
- Imprison traps a target in a temporary cage.
- Rally buffs nearby players.
- Judgement marks and weakens a target.
- Pardon clears negative effects and removes rebel status.
- Exile teleports a target into the wilderness.
- Sanctuary creates a temporary no-PvP area.
- Warcry damages, weakens, and knocks back nearby players.
- Beacon grants utility buffs to nearby players.
- Feast spends treasury resources to heal and feed nearby players.
- Summon pulls a target to the leader after a warning delay.
- Proclaim broadcasts a royal message to the server.
Realm Systems
Leader Mod includes realm management beyond the leader role:
/leader tribute <amount>
/leader tax
/leader decree <none|war|peace|prosperity|storm>
/leader rebel
/leader rebels
/leader bounty <player> <reward>
/leader bounties
/leader clearbounty <player>
Treasury
Players can contribute the configured treasury item, defaulting to emeralds. The leader can spend treasury resources on feasts and bounties.
Decrees
Leaders can set realm-wide decrees:
none - no active decree
war - leader attacks hit harder
peace - PvP damage is reduced
prosperity - ore mining can create bonus rewards
storm - leader attacks can trigger lightning sparks
Rebellion
Players can join or leave a rebellion with /leader rebel. If enough eligible online players rebel, the current leader is overthrown and the throne becomes empty.
Bounties
The leader can fund bounties from the treasury. When a bounty target is killed by another player, the killer receives the configured reward item and experience.
Configuration
Leader Mod generates a JSON config at:
config/leadermod.json
Major configurable values include:
- vote threshold
- minimum online voters
- ability cooldowns
- damage values
- ability durations
- leader aura radius
- treasury material
- tax amount
- rebellion threshold
- bounty reward limits
- decree effects
- sacrifice enable/disable
World-specific leader, vote, treasury, rebel, and bounty data is saved in the world folder under leadermod/.
Admin Commands
Operator-level players can use:
/leader force <player>
/leader clear
/leader reload
Requirements
- Minecraft 1.21.1
- Fabric Loader 0.18.4 or newer
- Fabric API
- Java 21
This is a server-side Fabric mod. Clients normally do not need to install it when joining a server that runs the mod.
评论 0
登录后参与评分
还没有评论,来抢沙发吧