🎮 Gost — 人鬼追逐 · 救赎者 · 猎魔人 多阶段多阵容对抗插件

Gost v2.2.3 — 一款基于 Bukkit/Spigot 1.20.x 的多人对抗小游戏插件。
本插件灵感来源于游戏 《Dead Realm》——以此致敬那款曾带来无数欢乐的已逝佳作,并尝试在 Minecraft 中重现那份追逐与博弈的紧张与乐趣。

⚡ 救赎者系统 | 🎮 模式切换 | 🌑 黑暗疾跑并存 | 🔧 队列优化 | ✨ 猎魔人阶段 | 🔊 音效系统全面更新
轮播图

你换了一个插件版本,但是不想再写一遍配置? 试试我的新插件 —— 全自动配置迁移工具,智能合并,自动备份。

✨ 已内置在 v2.2.3 中
ReloadConfig 自动迁移工具
🎯 核心玩法
📖 展开查看详情

游戏流程

  1. 准备阶段 — 玩家进入匹配队列,满员后开始游戏
  2. 感染阶段 — 鬼玩家追逐并感染人类,人类可拾取道具自保
  3. 神圣守护阶段 — 剩余人类数量 ≤ 触发人数时,自动激活神圣守护
  4. 猎魔人阶段 — 游戏剩余 90 秒时进入,所有剩余人类变为猎魔人

两大阵营

阵营说明
👤 人类初始身份,被鬼感染后变为鬼
👻 鬼感染人类使其加入鬼阵营,母体为鬼阵营领袖

特殊角色

角色说明
🛡️ 神圣守护剩余人类较少时自动激活,可抵挡 3 次 鬼的攻击,每次攻击会将进攻者随机传送
🎯 猎魔人猎魔人阶段由神圣守护玩家转化,持有 收割者 道具,可击杀鬼玩家
👑 母体鬼阵营领袖,可攻击猎魔人,猎魔人阶段可感染普通人类
✨ 救赎者模式2专属,最后一名人类成为救赎者,持有 神之救赎 道具转化鬼玩家回人类
🛡️ 神圣守护系统 — 双模式
📖 展开查看详情

模式1:传统神圣守护(感染免疫 + 随机传送)

激活条件:剩余人类数量 ≤ 配置的触发人数(默认 2 人)
防御次数:可抵挡 3 次 攻击(无论攻击者是母体还是普通鬼)
传送效果:每次被攻击,进攻者会被随机传送到附近区域
猎魔人阶段:所有剩余人类自动获得神圣守护,并转化为猎魔人

模式2:救赎者模式(转化鬼玩家)

激活条件:人类数量减少到 1 人 时,最后一名人类成为 救赎者
神之救赎道具:救赎者获得专属道具,可转化鬼玩家回人类
随机传送:使用道具后救赎者会被随机传送到安全位置
次数限制:道具可使用 2 次(可配置),使用完后回归普通人类
视觉效果:救赎者全程高亮显示,拥有速度效果

模式切换命令/divineguardian setmode <1|2>,游戏进行中切换模式会 立即生效

⚔️ 猎魔人阶段
📖 展开查看详情

游戏剩余 90 秒时自动进入猎魔人阶段:

  • 所有拥有神圣守护的人类变为 猎魔人
  • 猎魔人持有 收割者 道具,可攻击鬼玩家
  • 普通鬼 不能感染人类,只能躲避猎杀
  • 母体 可以攻击猎魔人,每次造成配置的伤害值
  • 母体需要攻击 3 次 才能破除猎魔人的神圣守护
  • 所有 神之救赎 道具被清除
  • 鬼玩家血量调整,猎魔人阶段禁止回血
🧰 道具系统
📖 查看道具说明

道具会在游戏过程中 定时发放 给人类玩家,每次发放间隔可在配置中调整(默认每 60 秒发放一次),发放时会在聊天栏显示剩余时间提示。

🔊 音效系统
📖 展开查看音效详情

发放道具音效

  • 每个玩家获得道具时播放:ENTITY_ITEM_PICKUP(不同道具不同音调)
  • 发放完毕全局提示:BLOCK_NOTE_BLOCK_PLING

阵容切换音效

  • 👤 人类 → 👻 鬼:ENTITY_VEX_AMBIENT(阴森低鸣)
  • 👻 鬼 → 👤 人类:ENTITY_PLAYER_LEVELUP(升级音效)

阶段音效

  • 准备阶段倒计时最后3秒:BLOCK_NOTE_BLOCK_HAT(每秒一次)
  • 游戏正式开始:ENTITY_ENDER_DRAGON_GROWL(全服)
  • 人类胜利:人类方 UI_TOAST_CHALLENGE_COMPLETE,鬼方 ENTITY_WITHER_DEATH
  • 鬼胜利:鬼方 UI_TOAST_CHALLENGE_COMPLETE,人类方 ENTITY_WITHER_DEATH
👻 鬼转人类功能
📖 展开查看详情

游戏剩余 3 分钟 时,系统会随机将部分 非母体鬼玩家 转换回人类阵容(默认关闭,可在配置中启用)。

  • 转换后的玩家保留其作为鬼时的累计时间记录
  • 可获得 20% 额外奖金补偿
  • 仍能获得作为鬼时的奖金继承
🏆 经济与奖励系统
📖 展开查看详情

入场与奖池

玩家加入游戏需支付 入场费(默认 100 金币),入场费汇入 人类奖池;服务器可设置 额外奖金(默认 5000 金币),增加奖池总额。

胜利奖金分配

胜利方分配规则
👤 人类胜利人类阵容获得奖池 70%,鬼阵容获得 30%
👻 鬼胜利鬼阵容获得奖池 100%

个人奖金计算

阵营分配方式 👤 人类100% 按 存活时间比例 分配 👻 鬼70% 按 鬼存活时间 + 30% 按 感染人数比例 分配

猎魔人奖励

猎魔人每击杀一名鬼玩家,可获得 人类奖池 30% 的奖金;母体 击杀猎魔人可获得 50% 的额外奖励(高于普通感染奖励)。

✨ 特色系统
📖 展开查看详情

🌑 黑暗效果与疾跑并存

使用 Minecraft 原生 DARKNESS 效果(1.19+)或 BLINDNESS 效果(旧版本)。
通过属性修改器增加 30% 移动速度,抵消黑暗效果对疾跑的影响。
每 10 ticks 检查玩家疾跑状态,自动恢复被阻止的疾跑。
管理员和创造模式玩家也会受到黑暗效果影响。

👻 鬼玩家粒子效果

鬼玩家身上持续显示环绕粒子效果。
母体鬼:红色粒子,普通鬼:绿色粒子。
支持 21 种粒子类型,RGB 颜色自定义。
可配置准备阶段是否显示。

💬 语言系统全面优化(Cover version 核心改进)

大幅扩充默认消息库,90+ 条默认中文消息。
智能消息回退机制,不再返回错误代码。
错误隔离保护,不影响核心游戏流程。
插件启动保护,LanguageManager 初始化失败仍能运行。

❤️ 心跳声系统

游戏过程中人类方循环播放监守者出现时的心跳声。
管理员可通过 /gostadmin heartbeat 控制开关。

📋 命令
📖 展开查看所有命令
命令说明权限
/gost join加入游戏队列gost.use
/gost leave离开游戏队列gost.use
/gost start管理员强制开始游戏gost.admin
/gost stop管理员强制结束游戏gost.admin
/gost reload重载配置文件gost.admin
/gostadmin dark <on/off/status>控制黑暗效果开关gost.admin
/gostadmin heartbeat <on/off/status>控制心跳声开关gost.admin
/divineguardian status查看神圣守护状态gost.admin
/divineguardian setmode <1/2>切换神圣守护模式gost.admin
/divineguardian setcharges <次数>设置最大使用次数gost.admin
/divineguardian force <玩家>强制激活神圣守护gost.admin
/ghostparticle status查看粒子效果状态gost.admin.ghostparticle
/ghostparticle settype <类型>设置粒子类型gost.admin.ghostparticle
/ghostparticle setmothercolor <R,G,B>设置母体鬼颜色gost.admin.ghostparticle
🔐 权限
📖 展开查看权限节点
权限节点说明
gost.use玩家基础权限(加入/离开游戏)
gost.player玩家权限(默认直接给予所有玩家)
gost.admin管理员权限(开始/结束/重载/黑暗/心跳)
gost.admin.divineguardian神圣守护管理权限
gost.admin.ghostparticle鬼玩家粒子效果管理权限
⚙️ 配置
📋 查看配置示例
# 游戏设置
game:
  duration: 420          # 游戏时长(秒),默认7分钟
  min-players: 2
  max-players: 16

# 经济设置
economy:
  entry-fee: 100.0       # 入场费
  server-bonus: 5000.0   # 服务器奖金

# 黑暗效果设置
dark-effect:
  enabled: true          # 黑暗效果默认启用
  description: "不影响疾跑"

# 神圣守护设置
divine-guardian:
  enabled: true
  trigger-human-count: 2
  holy-guardian:
    defense-charges: 3
    teleport-attacker: true
    teleport-radius: 10.0
  demon-hunter:
    phase-start-time: 90
    health:
      demon-hunter: 2.0
      mother-attack-damage: 1.0

# 鬼玩家粒子效果
ghost-particle:
  enabled: true
  particle-type: REDSTONE
  interval: 15
  count: 5
  mother-color: "255,0,0"
  normal-color: "0,255,0"
                    

完整配置请参考 config.yml 文件,支持热重载 /gost reload

📈 版本历史
🎉 开始你的生存对抗之旅! /gost join | 感染方式:左键/右键 | 道具发放全体高亮5秒 | 猎魔人阶段带来全新体验

🎮 Gost — Ghost Chase · Redeemer · Demon Hunter Multi-Stage Confrontation Plugin

Gost v2.2.3 — A multiplayer mini-game plugin for Bukkit/Spigot 1.20.x.
Inspired by Dead Realm — honoring the deceased masterpiece that brought countless joys, and attempting to recreate the tension and fun of chase and confrontation in Minecraft.

⚡ Redeemer System | 🎮 Mode Switching | 🌑 Dark Effect + Sprint | 🔧 Queue Optimization | ✨ Demon Hunter Phase | 🔊 Sound System Overhaul
Carousel

Upgraded plugin but don't want to rewrite config? Try my auto‑migration tool — smart merge, auto backup.

✨ Built-in in v2.2.3
ReloadConfig Tool
🎯 Core Gameplay
📖 Expand Details

Game Flow

  1. Preparation Phase — Players join the queue, game starts when full.
  2. Infection Phase — Ghosts chase and infect humans; humans pick up items to survive.
  3. Divine Guardian Phase — Activated automatically when remaining humans ≤ trigger count.
  4. Demon Hunter Phase — Enters at 90 seconds remaining, all remaining humans become Demon Hunters.

Two Factions

FactionDescription 👤 HumanInitial identity, becomes ghost after infection. 👻 GhostInfects humans to join ghost faction; Mother is the leader.

Special Roles

RoleDescription
🛡️ Divine GuardianActivates when few humans remain, blocks 3 attacks, teleports attacker on each hit.
🎯 Demon HunterTransformed from Divine Guardian during Demon Hunter phase, holds Reaper to kill ghosts.
👑 Mother GhostGhost leader, can attack Demon Hunters, can infect normal humans during Demon Hunter phase.
✨ RedeemerMode 2 exclusive. Last human becomes Redeemer, holds Holy Redemption item to convert ghosts back to humans.
🛡️ Divine Guardian System — Two Modes
📖 Expand Details

Mode 1: Classic Divine Guardian (Immunity + Teleport)

Trigger condition: Remaining humans ≤ configured count (default 2)
Defense charges: Blocks 3 attacks (from Mother or normal ghost)
Teleport effect: Each attack teleports the attacker to a nearby location
Demon Hunter phase: All remaining humans gain Divine Guardian and become Demon Hunters.

Mode 2: Redeemer Mode (Convert Ghosts)

Trigger condition: When only 1 human remains, the last human becomes Redeemer
Holy Redemption item: Redeemer gets exclusive item to convert a ghost back to human
Random teleport: Teleports Redeemer to a safe location after use
Usage limit: 2 times (configurable), returns to normal human after uses exhausted
Visual effects: Redeemer is always highlighted and has speed effect.

Mode switch command: /divineguardian setmode <1|2>, takes effect immediately even during game.

⚔️ Demon Hunter Phase
📖 Expand Details

Automatically enters Demon Hunter phase when 90 seconds remain:

  • All humans with Divine Guardian become Demon Hunters
  • Demon Hunters receive Reaper item to attack ghosts
  • Normal ghosts cannot infect humans, only avoid being hunted
  • Mother ghost can attack Demon Hunters, dealing configured damage each hit
  • Mother needs to attack 3 times to break a Demon Hunter's Divine Guardian
  • All Holy Redemption items are cleared
  • Ghost health adjusted, healing disabled during Demon Hunter phase
🧰 Item System
📖 View Item Information

Items are periodically distributed to human players during the game. The interval can be configured (default every 60 seconds). The remaining time is displayed in chat when items are distributed.

🔊 Sound System
📖 Expand Sound Details

Item Distribution Sounds

  • Each player receives an item: ENTITY_ITEM_PICKUP (different pitch per item)
  • Global distribution complete: BLOCK_NOTE_BLOCK_PLING

Faction Switch Sounds

  • 👤 Human → 👻 Ghost: ENTITY_VEX_AMBIENT (eerie hum)
  • 👻 Ghost → 👤 Human: ENTITY_PLAYER_LEVELUP (level up sound)

Phase Sounds

  • Last 3 seconds of preparation countdown: BLOCK_NOTE_BLOCK_HAT (once per second)
  • Game start: ENTITY_ENDER_DRAGON_GROWL (global)
  • Human victory: Humans hear UI_TOAST_CHALLENGE_COMPLETE, Ghosts hear ENTITY_WITHER_DEATH
  • Ghost victory: Ghosts hear UI_TOAST_CHALLENGE_COMPLETE, Humans hear ENTITY_WITHER_DEATH
👻 Ghost-to-Human Feature
📖 Expand Details

With 3 minutes remaining, the system randomly converts some non‑Mother ghosts back to the human faction (disabled by default, can be enabled in config).

  • Converted players retain their accumulated ghost time records.
  • Receive a 20% extra bonus compensation.
  • Still receive their ghost bonus inheritance.
🏆 Economy & Reward System
📖 Expand Details

Entry & Prize Pool

Players pay an entry fee (default 100 coins) which goes into the Human Prize Pool. Server can add bonus (default 5000 coins) to increase total pool.

Victory Bonus Distribution

WinnerDistribution 👤 Human VictoryHuman faction gets 70% of pool, Ghost faction gets 30% 👻 Ghost VictoryGhost faction gets 100% of pool

Individual Bonus Calculation

FactionCalculation
👤 Human100% proportional to survival time
👻 Ghost70% proportional to ghost survival time + 30% proportional to number of infections

Demon Hunter Reward

Each ghost kill by a Demon Hunter grants the Demon Hunter 30% of the Human Prize Pool. Mother ghost killing a Demon Hunter receives an additional 50% bonus (higher than normal infection reward).

✨ Feature Systems
📖 Expand Details

🌑 Dark Effect + Sprint Coexistence

Uses native Minecraft DARKNESS effect (1.19+) or BLINDNESS (older versions).
Adds +30% movement speed via attribute modifier to counteract dark effect's sprint inhibition.
Smart check every 10 ticks restores sprint if blocked.
Admins and creative mode players also receive dark effect, with clear notification.

👻 Ghost Particle Effects

Continuous orbiting particles around ghosts.
Mother ghost: red particles, normal ghost: green particles.
Supports 21 particle types, RGB color customization.
Configurable whether to show during preparation phase.

💬 Comprehensive Language System (Cover version core improvement)

Greatly expanded default message library: 90+ default Chinese messages.
Smart fallback mechanism, no more error codes.
Error isolation protection, does not affect core gameplay.
Plugin startup protection: LanguageManager continues even if initialization fails.

❤️ Heartbeat Sound System

During the game, humans hear the Warden's heartbeat sound in a loop.
Admins can toggle with /gostadmin heartbeat.

📋 Commands
📖 Expand All Commands
CommandDescriptionPermission
/gost joinJoin game queuegost.use
/gost leaveLeave game queuegost.use
/gost startForce start game (admin)gost.admin
/gost stopForce stop game (admin)gost.admin
/gost reloadReload configgost.admin
/gostadmin dark <on/off/status>Toggle dark effectgost.admin
/gostadmin heartbeat <on/off/status>Toggle heartbeat soundgost.admin
/divineguardian statusView Divine Guardian statusgost.admin
/divineguardian setmode <1/2>Switch Divine Guardian modegost.admin
/divineguardian setcharges <count>Set max defense chargesgost.admin
/divineguardian force <player>Force activate Divine Guardiangost.admin
/ghostparticle statusView particle effect statusgost.admin.ghostparticle
/ghostparticle settype <type>Set particle typegost.admin.ghostparticle
/ghostparticle setmothercolor <R,G,B>Set mother ghost particle colorgost.admin.ghostparticle
🔐 Permissions
📖 Expand Permission Nodes
Permission NodeDescription
gost.useBasic player permission (join/leave)
gost.playerPlayer permission (default given to all players)
gost.adminAdmin permission (start/stop/reload/dark/heartbeat)
gost.admin.divineguardianDivine Guardian management
gost.admin.ghostparticleGhost particle management
⚙️ Configuration
📋 View Configuration Example
# Game settings
game:
  duration: 420          # Game duration (seconds), default 7 minutes
  min-players: 2
  max-players: 16

# Economy settings
economy:
  entry-fee: 100.0       # Entry fee
  server-bonus: 5000.0   # Server bonus

# Dark effect settings
dark-effect:
  enabled: true          # Dark effect enabled by default
  description: "Does not affect sprint"

# Divine Guardian settings
divine-guardian:
  enabled: true
  trigger-human-count: 2
  holy-guardian:
    defense-charges: 3
    teleport-attacker: true
    teleport-radius: 10.0
  demon-hunter:
    phase-start-time: 90
    health:
      demon-hunter: 2.0
      mother-attack-damage: 1.0

# Ghost particle effect
ghost-particle:
  enabled: true
  particle-type: REDSTONE
  interval: 15
  count: 5
  mother-color: "255,0,0"
  normal-color: "0,255,0"
                    

See config.yml for full configuration. Supports hot reload via /gost reload.

📈 Version History
Gost v2.2.3 | 来自太空的小头脑