Gost v2.2.3 — 一款基于 Bukkit/Spigot 1.20.x 的多人对抗小游戏插件。
本插件灵感来源于游戏 《Dead Realm》——以此致敬那款曾带来无数欢乐的已逝佳作,并尝试在 Minecraft 中重现那份追逐与博弈的紧张与乐趣。
| 阵营 | 说明 |
|---|---|
| 👤 人类 | 初始身份,被鬼感染后变为鬼 |
| 👻 鬼 | 感染人类使其加入鬼阵营,母体为鬼阵营领袖 |
| 角色 | 说明 |
|---|---|
| 🛡️ 神圣守护 | 剩余人类较少时自动激活,可抵挡 3 次 鬼的攻击,每次攻击会将进攻者随机传送 |
| 🎯 猎魔人 | 猎魔人阶段由神圣守护玩家转化,持有 收割者 道具,可击杀鬼玩家 |
| 👑 母体 | 鬼阵营领袖,可攻击猎魔人,猎魔人阶段可感染普通人类 |
| ✨ 救赎者 | 模式2专属,最后一名人类成为救赎者,持有 神之救赎 道具转化鬼玩家回人类 |
激活条件:剩余人类数量 ≤ 配置的触发人数(默认 2 人)
防御次数:可抵挡 3 次 攻击(无论攻击者是母体还是普通鬼)
传送效果:每次被攻击,进攻者会被随机传送到附近区域
猎魔人阶段:所有剩余人类自动获得神圣守护,并转化为猎魔人
激活条件:人类数量减少到 1 人 时,最后一名人类成为 救赎者
神之救赎道具:救赎者获得专属道具,可转化鬼玩家回人类
随机传送:使用道具后救赎者会被随机传送到安全位置
次数限制:道具可使用 2 次(可配置),使用完后回归普通人类
视觉效果:救赎者全程高亮显示,拥有速度效果
模式切换命令:/divineguardian setmode <1|2>,游戏进行中切换模式会 立即生效。
游戏剩余 90 秒时自动进入猎魔人阶段:
道具会在游戏过程中 定时发放 给人类玩家,每次发放间隔可在配置中调整(默认每 60 秒发放一次),发放时会在聊天栏显示剩余时间提示。
ENTITY_ITEM_PICKUP(不同道具不同音调)BLOCK_NOTE_BLOCK_PLINGENTITY_VEX_AMBIENT(阴森低鸣)ENTITY_PLAYER_LEVELUP(升级音效)BLOCK_NOTE_BLOCK_HAT(每秒一次)ENTITY_ENDER_DRAGON_GROWL(全服)UI_TOAST_CHALLENGE_COMPLETE,鬼方 ENTITY_WITHER_DEATHUI_TOAST_CHALLENGE_COMPLETE,人类方 ENTITY_WITHER_DEATH游戏剩余 3 分钟 时,系统会随机将部分 非母体鬼玩家 转换回人类阵容(默认关闭,可在配置中启用)。
玩家加入游戏需支付 入场费(默认 100 金币),入场费汇入 人类奖池;服务器可设置 额外奖金(默认 5000 金币),增加奖池总额。
| 胜利方 | 分配规则 |
|---|---|
| 👤 人类胜利 | 人类阵容获得奖池 70%,鬼阵容获得 30% |
| 👻 鬼胜利 | 鬼阵容获得奖池 100% |
猎魔人每击杀一名鬼玩家,可获得 人类奖池 30% 的奖金;母体 击杀猎魔人可获得 50% 的额外奖励(高于普通感染奖励)。
使用 Minecraft 原生 DARKNESS 效果(1.19+)或 BLINDNESS 效果(旧版本)。
通过属性修改器增加 30% 移动速度,抵消黑暗效果对疾跑的影响。
每 10 ticks 检查玩家疾跑状态,自动恢复被阻止的疾跑。
管理员和创造模式玩家也会受到黑暗效果影响。
鬼玩家身上持续显示环绕粒子效果。
母体鬼:红色粒子,普通鬼:绿色粒子。
支持 21 种粒子类型,RGB 颜色自定义。
可配置准备阶段是否显示。
大幅扩充默认消息库,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 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.
| Role | Description |
|---|---|
| 🛡️ Divine Guardian | Activates when few humans remain, blocks 3 attacks, teleports attacker on each hit. |
| 🎯 Demon Hunter | Transformed from Divine Guardian during Demon Hunter phase, holds Reaper to kill ghosts. |
| 👑 Mother Ghost | Ghost leader, can attack Demon Hunters, can infect normal humans during Demon Hunter phase. |
| ✨ Redeemer | Mode 2 exclusive. Last human becomes Redeemer, holds Holy Redemption item to convert ghosts back to humans. |
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.
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.
Automatically enters Demon Hunter phase when 90 seconds remain:
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.
ENTITY_ITEM_PICKUP (different pitch per item)BLOCK_NOTE_BLOCK_PLINGENTITY_VEX_AMBIENT (eerie hum)ENTITY_PLAYER_LEVELUP (level up sound)BLOCK_NOTE_BLOCK_HAT (once per second)ENTITY_ENDER_DRAGON_GROWL (global)UI_TOAST_CHALLENGE_COMPLETE, Ghosts hear ENTITY_WITHER_DEATHUI_TOAST_CHALLENGE_COMPLETE, Humans hear ENTITY_WITHER_DEATHWith 3 minutes remaining, the system randomly converts some non‑Mother ghosts back to the human faction (disabled by default, can be enabled in config).
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.
| Faction | Calculation |
|---|---|
| 👤 Human | 100% proportional to survival time |
| 👻 Ghost | 70% proportional to ghost survival time + 30% proportional to number of infections |
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).
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.
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.
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.
During the game, humans hear the Warden's heartbeat sound in a loop.
Admins can toggle with /gostadmin heartbeat.
| Command | Description | Permission |
|---|---|---|
/gost join | Join game queue | gost.use |
/gost leave | Leave game queue | gost.use |
/gost start | Force start game (admin) | gost.admin |
/gost stop | Force stop game (admin) | gost.admin |
/gost reload | Reload config | gost.admin |
/gostadmin dark <on/off/status> | Toggle dark effect | gost.admin |
/gostadmin heartbeat <on/off/status> | Toggle heartbeat sound | gost.admin |
/divineguardian status | View Divine Guardian status | gost.admin |
/divineguardian setmode <1/2> | Switch Divine Guardian mode | gost.admin |
/divineguardian setcharges <count> | Set max defense charges | gost.admin |
/divineguardian force <player> | Force activate Divine Guardian | gost.admin |
/ghostparticle status | View particle effect status | gost.admin.ghostparticle |
/ghostparticle settype <type> | Set particle type | gost.admin.ghostparticle |
/ghostparticle setmothercolor <R,G,B> | Set mother ghost particle color | gost.admin.ghostparticle |
| Permission Node | Description |
|---|---|
gost.use | Basic player permission (join/leave) |
gost.player | Player permission (default given to all players) |
gost.admin | Admin permission (start/stop/reload/dark/heartbeat) |
gost.admin.divineguardian | Divine Guardian management |
gost.admin.ghostparticle | Ghost particle management |
# 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.