Manhunt
适用于 Paper 服务器的完整 Minecraft 追捕(Manhunt)小游戏:指定一名逃跑者,释放追捕者,用指南针追踪他们的位置,并享受极其强力的钓鱼掉落物——你可以通过游戏内 GUI 完全自定义这些掉落。
所有内容均由拥有操作员权限的玩家通过简单命令控制。无需设置,无需额外依赖,只需将 jar 文件放入 plugins 文件夹即可。
功能一览
- 自行选择逃跑者和追捕者,或让插件随机分配
- 红色逃跑者,绿色追捕者:名字标签、Tab 列表和聊天名称均会显示相应颜色
- 追捕者冻结:游戏开始时,追捕者将在 60 秒内处于失明和冻结状态(可配置),以便逃跑者获得先手优势
- 追踪指南针:为追捕者提供指向逃跑者最后已知位置的指南针(在所有维度中均有效)
- 自动判定胜负:如果逃跑者死亡,则追捕者获胜;如果逃跑者击杀末影龙,则逃跑者获胜
- 强力钓鱼:每次钓鱼都会获得强大的掉落物,从附魔金苹果堆到神级下界合金装备应有尽有
- 游戏内 GUI:用于查看、添加、编辑和删除钓鱼掉落物,所有更改均保存到文件中
- 轻量级,完全可配置,仅限 OP 使用的命令
要求
|
|
| 服务器软件 |
Paper 1.21.x 或更高版本 |
| Java |
21 |
| 依赖项 |
无 |
安装
- 下载
Manhunt.jar 并将其放入服务器的 plugins 文件夹中。
- 重启服务器。
- 完成!
plugins/Manhunt/ 目录下会生成两个文件:config.yml 和 fishing-loot.yml。
快速开始
/manhunt random <- 随机选择一名逃跑者,其他所有人成为追捕者
/manhunt start <- 游戏开始!
或者手动选择角色:
/manhunt runner Steve
/manhunt hunter Alex
/manhunt hunter Notch
/manhunt start
命令
所有命令均**仅限操作员(OP)**使用。
| 命令 |
描述 |
/manhunt runner <player> |
设置被追捕的玩家。其名字变为红色。 |
/manhunt hunter <player> |
添加一名追捕者。其名字变为绿色。 |
/manhunt hunter all |
将所有在线玩家(除逃跑者和旁观者外)添加为追捕者。 |
/manhunt remove <player> |
将玩家从游戏中移除,并重置其名字颜色。 |
/manhunt random |
在在线玩家中随机选择一名逃跑者;其他人成为追捕者。至少需要 2 名玩家。 |
/manhunt start |
开始游戏。需要一名在线的逃跑者和至少一名追捕者。 |
/manhunt stop |
停止游戏,清除所有角色、颜色和指南针。 |
/manhunt status |
显示游戏状态、逃跑者和追捕者信息。 |
/manhunt fishing |
打开钓鱼掉落物 GUI(仅限玩家)。 |
游戏运行期间无法更改角色。请先使用 /manhunt stop。
游戏机制
1. 角色与颜色
逃跑者显示为红色,追捕者显示为绿色,体现在名字标签、Tab 列表和聊天中。颜色在分配角色后立即应用,并在游戏结束或玩家被移除时移除。重新连接的玩家会保留其颜色。
2. 追捕者冻结(先手优势)
游戏开始时,所有追捕者将在 60 秒内(可配置)处于失明和冻结状态,而逃跑者趁机逃离。
在冻结期间,追捕者:
- 无法看到任何东西(失明)
- 无法行走或跳跃(但仍可以环顾四周,如果在空中则会正常下落)
- 无法破坏或放置方块、交互或攻击
- 无敌,因此逃跑者在他们无助时无法杀死他们
所有参与者的物品栏上方会显示倒计时。时间结束后,追捕者将被释放,并发出全服公告。如果在冻结期间断开连接并重新连接,追捕者将保持失明直到冻结结束。
在配置文件中设置 hunter-freeze-seconds: 0 以禁用冻结。
3. 追踪指南针
每位追捕者都会收到一个追击者指南针,指向当前维度中逃跑者的最后已知位置。因为它会记住每个维度的最后已知位置,所以穿过传送门后仍能正常工作:如果逃跑者穿过了下界传送门,主世界中的追捕者会被指引至传送门位置。
- 每秒更新一次(可配置)
- 无法丢弃
- 死亡时不会掉落
- 追捕者重生后会获得一个新的
4. 胜利条件
| 事件 |
结果 |
| 逃跑者死亡 |
追捕者获胜 |
| 逃跑者击杀末影龙 |
逃跑者获胜(可在配置中禁用) |
游戏结束时,所有玩家都会收到标题提示,结果会被广播,并且一切会自动重置(角色、颜色、指南针)。
强力钓鱼
每当玩家钓鱼时,钓到的鱼都会被替换为来自可自定义池子的掉落物。它对所有玩家、在任何时候都有效,即使在追捕游戏之外也是如此。设计初衷就是极其夸张。
默认掉落物
常见掉落
附魔金苹果、金苹果、不死图腾、末影珍珠、钻石块、下界合金锭、TNT、末影水晶、熟牛肉、经验瓶、风弹、烟花火箭和箭矢。全部都是大量堆叠。
稀有掉落(向全服广播)
不可破坏的“神”级装备,附魔等级远超原版限制:
- 神之剑:锋利度 10,火焰附加 5,抢夺 5,横扫之刃 5
- 神之斧、神之镐(效率 10,精准采集 5)
- 神之弓(力量 10)、神之弩、神之三叉戟(穿刺 10)、神之战锤(密度 10)
- 全套下界合金盔甲,附带保护 10,以及摔落保护 10、灵魂疾行 5、荆棘 5 等更多附魔
- 神之鞘翅和神之盾牌
钓鱼掉落物 GUI
运行 /manhunt fishing 打开菜单,列出钓鱼可能产生的所有物品,包括其权重和百分比掉落率。
添加物品
- 在 GUI 打开时,点击你自己物品栏中的任意物品,或将物品拖拽到战利品区域。
- 该物品会原样复制(包括附魔、自定义名称、描述文本和数量),且不会被消耗。
- 新添加的物品权重为 10,位于最后一页。
编辑物品
| 操作 |
效果 |
| 左键点击 |
+1 权重(按住 Shift:+10) |
| 右键点击 |
-1 权重(按住 Shift:-10) |
F(交换手) |
切换稀有状态(稀有掉落会向全服广播) |
Q(丢弃) |
从战利品列表中移除该物品 |
其他按钮
- 底部箭头用于切换页面
- 漏斗图标显示说明以及总数(条目数、总权重、当前页码)
- TNT 按钮用于恢复默认战利品(按住 Shift+点击以确认)
权重越高,该物品掉落的频率就越高。所有更改都会即时保存到 plugins/Manhunt/fishing-loot.yml,因此重启后配置依然保留。如果移除所有物品,钓鱼将恢复为原版行为。
任何可放置的物品都可以加入其中,你可以构建包含原版鱼类、自定义名称物品、附魔书或任何其他你想要的物品的池子。
配置文件
plugins/Manhunt/config.yml
# 猎人在击杀末影龙时获胜
runner-wins-on-dragon-kill: true
# 猎人指南针刷新的频率(以刻为单位)。20 = 每秒刷新一次。
tracker-update-ticks: 20
# 游戏开始时,猎人会被冻结 AND 致盲这么长的秒数
# (猎人获得领先优势)。设置为 0 以禁用。
hunter-freeze-seconds: 60
fishing:
# 玩家每次钓鱼成功时获得强力战利品
enabled: true
# 每次捕获获得的物品数量(1 个替换掉鱼,额外的进入物品栏)
items-per-catch: 1
# 向全服广播稀有掉落
broadcast-rare: true
权限
| 权限 |
默认值 |
描述 |
manhunt.admin |
OP |
访问 /manhunt 命令 |
命令仅限管理员使用。
须知
- 如果猎人断开连接,游戏将继续运行,指南针仍指向其最后已知位置。使用
/manhunt stop 结束游戏。
- 旁观者不受
/manhunt random 和 /manhunt hunter all 的影响。
- 猎人可以无限次重生。只有猎人的死亡才会导致游戏结束。
- 钓鱼战利品也适用于钓鱼附魔和钓竿,因为它会在每次成功捕获时触发。
- 想让钓鱼更疯狂吗?提高
fishing.items-per-catch 的值,以便每次捕获获得多个物品。
Manhunt
A complete Minecraft Manhunt minigame for Paper servers: pick a runner, unleash the hunters, track them with a compass, and enjoy absurdly overpowered fishing loot that you can fully customize from an in-game GUI.
Everything is controlled by operators with simple commands. No setup, no extra dependencies, just drop the jar in your plugins folder.
Features at a glance
- Choose the runner and the hunters yourself, or let the plugin pick them at random
- Red runner, green hunters: colored name tags, tab list and chat names
- Hunter freeze: at the start, hunters are blind and frozen for 60 seconds (configurable) so the runner gets a head start
- Tracking compass for hunters, pointing to the runner's last known position (works in every dimension)
- Automatic win detection: the hunters win when the runner dies, the runner wins by killing the Ender Dragon
- Overpowered fishing: every catch gives powerful loot, from stacks of enchanted golden apples to god-tier netherite gear
- In-game GUI to view, add, edit and remove fishing loot, all saved to a file
- Lightweight, fully configurable, OP-only commands
Requirements
|
|
| Server software |
Paper 1.21.x or newer |
| Java |
21 |
| Dependencies |
None |
Installation
- Download
Manhunt.jar and put it in your server's plugins folder.
- Restart the server.
- Done! Two files are created in
plugins/Manhunt/: config.yml and fishing-loot.yml.
Quick start
/manhunt random <- random runner, everybody else becomes a hunter
/manhunt start <- the game begins!
Or choose the roles manually:
/manhunt runner Steve
/manhunt hunter Alex
/manhunt hunter Notch
/manhunt start
Commands
All commands are operator only.
| Command |
Description |
/manhunt runner <player> |
Sets the hunted player. Their name turns red. |
/manhunt hunter <player> |
Adds a hunter. Their name turns green. |
/manhunt hunter all |
Adds every online player (except the runner and spectators) as a hunter. |
/manhunt remove <player> |
Removes a player from the game and resets their name color. |
/manhunt random |
Picks one random runner among the online players; everybody else becomes a hunter. Needs at least 2 players. |
/manhunt start |
Starts the game. A runner (online) and at least one hunter are required. |
/manhunt stop |
Stops the game and clears every role, color and compass. |
/manhunt status |
Shows the game state, the runner and the hunters. |
/manhunt fishing |
Opens the fishing loot GUI (players only). |
Roles cannot be changed while a game is running. Use /manhunt stop first.
How a game works
1. Roles and colors
The runner is shown in red and the hunters in green, on their name tags, in the tab list and in chat. Colors are applied as soon as a role is assigned and removed when the game ends or the player is removed. Players who reconnect keep their color.
2. Hunter freeze (head start)
When the game starts, every hunter is blind and frozen for 60 seconds (configurable) while the runner runs away.
During the freeze, hunters:
- cannot see anything (blindness)
- cannot walk or jump (they can still look around, and they fall normally if they were in the air)
- cannot break or place blocks, interact, or attack
- are invulnerable, so the runner cannot kill them while they are helpless
A countdown is shown above the hotbar for everyone involved. When the time is up, the hunters are released with a server-wide announcement. A hunter who disconnects and reconnects during the freeze stays blind until it ends.
Set hunter-freeze-seconds: 0 in the config to disable the freeze.
3. The tracking compass
Every hunter receives a Runner Tracker compass that points to the runner's last known position in the hunter's current dimension. Because it remembers the last known position per dimension, it keeps working after portal travel: if the runner went through a Nether portal, hunters in the Overworld are pointed to the portal location.
- It updates every second (configurable)
- It cannot be dropped
- It never drops on death
- Hunters get a new one when they respawn
4. Winning
| Event |
Result |
| The runner dies |
Hunters win |
| The runner kills the Ender Dragon |
Runner wins (can be disabled in the config) |
When the game ends, a title is shown to every player, the result is broadcast, and everything is reset automatically (roles, colors, compasses).
Overpowered fishing
Every time a player catches something while fishing, the fish is replaced by loot from a customizable pool. It works for every player, at any time, even outside of a Manhunt game. It is designed to be completely over the top.
Default loot
Common drops
Enchanted golden apples, golden apples, totems of undying, ender pearls, diamond blocks, netherite ingots, TNT, end crystals, cooked beef, bottles o' enchanting, wind charges, firework rockets and arrows. All of them in big stacks.
Rare drops (announced to the whole server)
Unbreakable "God" gear with enchantment levels far beyond vanilla limits:
- God Sword: Sharpness 10, Fire Aspect 5, Looting 5, Sweeping Edge 5
- God Axe, God Pickaxe (Efficiency 10, Fortune 5)
- God Bow (Power 10), God Crossbow, God Trident (Impaling 10), God Mace (Density 10)
- Full netherite armor with Protection 10, plus Feather Falling 10, Soul Speed 5, Thorns 5 and more
- God Elytra and God Shield
Fishing loot GUI
Run /manhunt fishing to open a menu listing every item the fishing can give, with its weight and its drop chance in percent.
Adding items
- Click any item in your own inventory while the GUI is open, or drop an item onto the loot area with your cursor.
- The item is copied exactly as it is (enchantments, custom name, lore, amount) and is not consumed.
- New items are added with a weight of 10 on the last page.
Editing items
| Action |
Effect |
| Left click |
+1 weight (Shift: +10) |
| Right click |
-1 weight (Shift: -10) |
F (swap hands) |
Toggle rare (rare drops are announced to the server) |
Q (drop) |
Remove the item from the loot |
Other buttons
- Arrows at the bottom to change page
- A hopper with instructions and totals (entries, total weight, page)
- A TNT button to restore the default loot (Shift+click to confirm)
The higher the weight, the more often an item drops. Everything is saved instantly to plugins/Manhunt/fishing-loot.yml, so your changes survive restarts. If you remove every item, fishing goes back to normal vanilla behavior.
Anything that is an item can be added, so you can build a pool of vanilla fish, custom named items, enchanted books, or anything else you like.
Configuration
plugins/Manhunt/config.yml
# The runner wins if he kills the Ender Dragon
runner-wins-on-dragon-kill: true
# How often (in ticks) hunters' compasses are refreshed. 20 = every second.
tracker-update-ticks: 20
# At the start of the game, hunters are frozen AND blind for this many seconds
# (the runner gets a head start). Set to 0 to disable.
hunter-freeze-seconds: 60
fishing:
# Overpowered loot every time a player catches something while fishing
enabled: true
# Number of items per catch (1 replaces the fish, extra ones go into the inventory)
items-per-catch: 1
# Announce rare drops to the whole server
broadcast-rare: true
Permissions
| Permission |
Default |
Description |
manhunt.admin |
OP |
Access to the /manhunt command |
Commands are restricted to operators.
Good to know
- If the runner disconnects, the game keeps running and the compasses keep pointing to the last known position. Use
/manhunt stop to end the game.
- Spectators are ignored by
/manhunt random and /manhunt hunter all.
- Hunters can respawn as many times as they want. Only the runner's death ends the game.
- Fishing loot also works with fishing enchantments and rods, since it triggers on every successful catch.
- Want fishing to be even crazier? Raise
fishing.items-per-catch to give several items per catch.
评论 0
登录后参与评分
还没有评论,来抢沙发吧