悬赏
以真实物品资助的悬赏,悬浮在发布者的面前。
大多数悬赏插件只是在数据库中存储一个数字。你输入一个金额,击杀者获得该金额,记分板记录分数。Wanted 的做法则相反:悬赏本身就是一堆物品。你打开窗口,放入一把下界合金剑、两个潜影盒和一叠钻石,那么击杀那名玩家的人将确切地获得这些物品。
正是这一个决定改变了插件的其他部分。悬赏可以众筹,因为多人可以向同一个目标注资,且每份出资都独立归属。悬赏可以安全地过期,因为每位出资者都能收回自己的装备,而不是分得一笔金额的一部分。而且不需要任何经济插件,因为没有任何东西被创造或销毁——装备只是易主而已。
玩家实际能做什么
/bounty 打开悬赏板 -- 点击“悬赏某人”,
选择名字,放入物品,确认。无需打字。
/bounty offer Steve 同上,如果你更想直接指定 Steve
/bounty track Steve 将你的指南针指向他
/bounty poster Steve 在他的地图上打印他的头像并钉上去
Steve 现在会发光。Steve 还会变得更快,因为你的头上有赏金,这对持有者来说是有价值的。有人杀了他;他们得到了剑、潜影盒、钻石以及插在棍子上的 Steve 的头颅。除非 Steve 先找到了为他支付赏金的人——那么这部分赏金就随着 Steve 回到了主人手中。
被通缉是一笔交易,而非惩罚
大多数悬赏插件将悬赏板做成一个隐藏者的名单。而这个插件会让猎物获利:你头上的赏金越高,你就越强。
| 赏金 |
称号 |
获得效果 |
| 25 |
标记 (Marked) |
速度 I |
| 100 |
亡命之徒 (Outlaw) |
速度 I, 抗性提升 I |
| 400 |
悍匪 (Desperado) |
速度 II, 抗性提升 I, 抗火 |
| 1200 |
头号通缉 (Most Wanted) |
速度 II, 抗性提升 II, 抗火, 生命恢复 |
因此,玩家可以故意让悬赏累积,用安全性换取力量。发光意味着他们无法悄悄行事。等级、阈值和效果全部来自 config.yml。
还有两件事也朝同一个方向发力。复仇 (Revenge):杀死其中一个为你支付赏金的人,当你最终倒下时,他们的出资将归你所有,而不是归猎人所有——追杀你的客户比躲避猎人更有价值。恶名 (Notoriety):每次 PvP 击杀都会增加一点点数,超过阈值后,服务器会根据你积累的点数自行对你下达悬赏。死亡会使该悬赏减半。唯一真正降低它的方法是暂时停止杀人。
悬赏板
菜单。 /bounty 以分页的首领箱形式打开悬赏板——这是默认视图,因为这是列表中唯一你可以实际点击的东西。左击首领头以资助该悬赏,右击开始追踪,Shift+左击查看谁资助了它以及资助了多少。角落里的“悬赏某人”按钮会列出所有在线玩家作为可点击列表,因此启动新悬赏也无需输入名字——选一张脸,放入物品,确认。
Shift+左击首领头会打开与 /bounty info 相同的窗口——之前一直是一长串聊天文本的内容,现在都作为独立的窗口打开:/bounty top 是按财富降序排列的悬赏板,/bounty hunters 是一个首领头排行榜,你可以点击进入该猎手的 /bounty stats,而 /bounty mail 预览等待领取的内容,只需一个按钮即可全部领取。当你已经对该首领头拥有出资时,提供窗口会多出一个按钮,以便撤回(/bounty cancel),这也不需要单独的界面。
个人全息图。 /bounty board 会在玩家眼前生成一个面板,只有他们自己能看到、听到并点亮它——纯显示用途,上面没有任何可点击项。它会出现在视野中,略微滞后于玩家的头部,逐行显示带有浮动玩家头像的行,空闲时有环绕的余烬粒子,奔跑时会消失。颜色、距离、持续时间、声音和粒子效果均来自 config.yml。服务器可以通过设置 board.default-view: hologram 重新将其设为默认值,用上述的一键操作流交换为环境视觉效果。
公告栏。 /wanted board place spawn 会将一个永久的通缉板钉在你注视的位置,面向你,所有路过的玩家都能看到。放置仍需输入名字和你当前的朝向,因此它仍是一个命令;拆除则不需要——/wanted gui 打开一个管理菜单,允许通过点击浏览和移除悬赏及公告板。
命令
| 命令 |
功能 |
权限 |
/bounty |
以配置中的默认视图打开悬赏板(通常为箱子菜单,除非已更改) |
wanted.use |
/bounty gui |
显式以箱子菜单形式打开悬赏板 |
wanted.use |
/bounty board |
显式打开个人全息投影 |
wanted.use |
/bounty offer <player> |
将物品放置在某人头上 |
wanted.offer |
/bounty cancel <player> |
收回你自己的投注 |
wanted.use |
/bounty info <player> |
查看谁为悬赏提供了资金以及具体金额,以菜单形式展示 |
wanted.use |
/bounty top |
按财富从高到低排序的悬赏板 |
wanted.use |
/bounty hunters |
以菜单形式展示最成功的赏金猎人 |
wanted.use |
/bounty stats [player] |
以菜单形式展示猎人的记录 |
wanted.use |
/bounty track <player> |
将你的指南针指向目标,并显示热/冷状态的状态栏 |
wanted.track |
/bounty poster <player> |
打印通缉令:在地图上显示其头像 |
wanted.poster |
/bounty mail |
预览并领取退回给你的物品 |
wanted.use |
/wanted reload |
重新读取 config.yml 和 messages.yml |
wanted.admin |
/wanted add <player> |
将你手中的物品作为投注,由服务器提供资金 |
wanted.admin |
/wanted remove <player> |
取消悬赏并退还所有投注 |
wanted.admin |
/wanted clear <player> |
取消悬赏,不退还任何物品 |
wanted.admin |
/wanted purge |
取消所有悬赏,返还所有赏金 |
wanted.admin |
/wanted resetstats <player> |
清除猎人的记录 |
wanted.admin |
/wanted board place|remove|list |
管理永久公告板 |
wanted.admin |
/wanted gui |
以菜单形式浏览和管理悬赏及公告板 |
wanted.admin |
/bounties 是 /bounty 的别名,/wantedadmin 是 /wanted 的别名。reload、add、purge 和 resetstats 仅支持文本命令:它们要么需要输入尚未出现在悬赏板上的内容,要么因操作罕见且影响范围较大,更适合通过控制台/RCON 执行而非在菜单中一键完成。
物品永不丢失
一款会“吞噬”玩家装备的 PvP 插件是无法长期存活的。所有可能导致物品丢失的路径均已被封堵:
- 在未确认的情况下关闭交易窗口,会将其中所有物品退回。
- 被拒绝的悬赏(金额过低、自我悬赏、或被其他插件否决)根本不会扣除任何物品。
- 已过期或撤销的悬赏奖励将寄送至资助者的邮箱,等待其重新上线领取。物品绝不会在空世界中掉落。
- 服务器关闭时会优先关闭未确认的交易窗口,从而在世界保存前退还其中的物品。
- 若支付给击杀者的奖励无法放入其背包,则会在其脚下掉落,并告知具体数量。
谁获得报酬
奖金池是一个单一的物品堆叠,且绝不会重复生成。有三方竞争该奖金池,优先级如下:
- Revenge(复仇) — 由资助人所下、且受害者已经击杀的目标的赏金份额归受害者所有,存入其
/bounty mail。
- Assists(助攻) — 在最后一秒内造成过伤害的所有玩家平分可配置的份额。如果没有这一机制,赏金只会支付给最后一击者,这会导致队伍让一名成员完成每次击杀。
- The killer(击杀者) — 剩余部分,加上受害者的头颅,上面印有该目标的价值、领取者及领取时间。装备会被消耗掉;保留下来的是头颅。
保持公平
| 设置项 |
防止的行为 |
anti-abuse.block-same-address |
通过虚假赏金将物品支付给自己小号 |
anti-abuse.claim-cooldown-minutes |
两个朋友互相刷人头 |
anti-abuse.min-target-playtime-hours |
新加入的玩家刚上线就被刷 |
anti-abuse.min-combat-seconds |
瞬间重连击杀套路;战斗必须持续一定时长 |
anti-abuse.immunity-minutes |
赏金结算后立即重新悬赏同一目标,并在重生点蹲守 |
anti-abuse.safe-worlds, protect-creative |
赏金跟随玩家进入大厅或创造世界 |
bounty.min-value, max-stake-value, max-value |
一堆泥土的价值超过一套下界合金甲 |
物品价值来自 value 部分,这不是一份价目表——没有任何物品被买卖。它的存在是为了让两个物品能够相互比较等级,并使 min-value 具有实际意义。未列出的物品默认价值为零;如果你希望接受所有物品,可将 value.default 设置为 1。
匿名注资
提供窗口中有一个开关。匿名注资仍然是你的——它会退还给你,并计入你的记录——但广播和 /bounty info 都不会显示是谁支付的。可以通过 bounty.allow-anonymous 在全服务器范围内关闭此功能。
通缉海报
/bounty poster <player> 会在地图上打印目标本身的 Mojang 脸谱,覆盖在其姓名和价格之上。它放入物品展示框后,即使在所有人下线后仍会显示谁值得被击杀——这是本插件中唯一存在于游戏世界中而非数据库中的内容。
皮肤从 Mojang 获取,因此打印海报是一个网络请求。它在主线程之外执行,如果失败会向玩家报告错误,而不是生成一张空白地图。海报保留打印时的价格;过时正是其目的所在,这也让公告板有理由保持更新。Minecraft 会持久化地图本身,但不会持久化绘制在其上的内容,因此每张海报都会在 posters.yml 中记录,并在服务器启动时重新绘制。
存储
默认使用 SQLite:插件文件夹中的一个文件,无需额外配置。将 storage.type 切换为 mysql 即可在网络中的多个服务器间共享同一份赏金列表。Paper 已内置这两种驱动程序,因此无需下载任何额外组件。
每个服务器将赏金缓存在内存中,并在重启时获取其他服务器的更改。这对于生存服务器及其大厅来说已经足够,并且避免了该插件不需要的消息总线。
你头上的锅越大,你就越强。
| 赏金罐 |
称号 |
获得效果 |
| 25 |
Marked |
速度 I |
| 100 |
Outlaw |
速度 I, 抗性提升 I |
| 400 |
Desperado |
速度 II, 抗性提升 I, 抗火 |
| 1200 |
Most Wanted |
速度 II, 抗性提升 II, 抗火, 再生 |
因此,玩家可以故意让悬赏金额累积,用“安全”换取“力量”。发光效果意味着他们无法悄无声息地行事。等级、阈值和效果均通过 config.yml 配置。
还有两项机制也朝同一方向发挥作用。复仇(Revenge):杀死曾为你的头颅支付赏金的人之一,当你最终倒下时,他们的份额归你所有,而非猎人的——追捕你的委托人比逃避猎人更划算。恶名(Notoriety):每次 PvP 击杀都会增加一点恶名值,超过一定阈值后,服务器会亲自为你定价,金额根据恶名值的累计高度而定。死亡会使该金额减半。降低它的唯一真正方法是暂时停止杀戮。
榜单
个人全息图。 /bounty 会在玩家眼前生成一个面板,仅他们自己可见、可听并点亮。它迅速出现,略微滞后于头部移动,逐行揭示内容,每行旁边都有一个悬浮的玩家头像,静止时有环绕的余烬动画,奔跑时则旋转消失。颜色、距离、持续时间、声音和粒子效果均来自 config.yml。
菜单。 /bounty gui 以分页的箱子形式展示相同的榜单。左击头像以资助该悬赏,右击开始追踪,Shift+左击查看谁资助了该悬赏以及金额。最后一个操作打开与 /bounty info 相同的窗口——此前一直是一长串聊天文本的内容,现在作为独立窗口打开:/bounty top 是按财富排序的榜单,/bounty hunters 是猎人排行榜,你可以点击进入特定猎人的 /bounty stats,而 /bounty mail 预览等待领取的物品,只需点击一次即可全部收取。当你已经对该目标有份额时,提供窗口还会增加第二个按钮,以便撤回份额(/bounty cancel),无需单独界面。
公告板。 /wanted board place spawn 将一张永久的通缉令钉在你注视的位置,面向你,所有路过的人都能看到。放置仍需输入名称和你的当前朝向,因此仍为命令;移除则不需要——/wanted gui 打开管理员菜单,可通过点击浏览并移除悬赏和公告板。
命令
| 命令 |
功能 |
权限 |
/bounty |
在配置的默认视图中打开榜单 |
wanted.use |
/bounty gui |
以箱子菜单形式打开榜单 |
wanted.use |
/bounty offer <player> |
对某人施加悬赏 |
wanted.offer |
/bounty cancel <player> |
撤回自己的份额 |
wanted.use |
/bounty info <player> |
查看谁资助了悬赏及详情,以菜单形式呈现 |
wanted.use |
/bounty top |
按财富排序的榜单 |
wanted.use |
/bounty hunters |
最成功的猎人列表,以菜单形式呈现 |
wanted.use |
/bounty stats [player] |
某位猎人的记录,以菜单形式呈现 |
wanted.use |
/bounty track <player> |
将指南针指向目标,带有冷热提示的状态栏 |
wanted.track |
/bounty poster <player> |
打印通缉海报:将目标面部显示在地图上 |
wanted.poster |
/bounty mail |
预览并领取退回给你的物品 |
wanted.use |
/wanted reload |
重新读取 config.yml 和 messages.yml |
wanted.admin |
/wanted add <player> |
将你手中的物品设为赏金,由服务器资助 |
wanted.admin |
/wanted remove <player> |
取消悬赏并退还所有份额 |
wanted.admin |
/wanted clear <player> |
取消悬赏 不 退还任何物品 |
wanted.admin |
/wanted purge |
取消所有悬赏,退还所有份额 |
wanted.admin |
/wanted resetstats <player> |
清除某位猎人的记录 |
wanted.admin |
/wanted board place|remove|list |
管理永久公告板 |
wanted.admin |
/wanted gui |
以菜单形式浏览和移除悬赏及公告板 |
wanted.admin |
/bounties 是 /bounty 的别名,/wantedadmin 是 /wanted 的别名。reload、add、purge 和 resetstats 保持纯文本输入:每个要么需要输入尚未在榜单上的内容,要么因罕见且影响范围大而更适合通过控制台/RCON 执行,而非在菜单中一键完成。
永不丢失
一个会吞噬装备的 PvP 插件不会被长期安装。所有可能导致物品丢失的路径都已关闭:
- 在未确认的情况下关闭提供窗口,会返还其中所有物品。
- 被拒绝的悬赏(金额过低、自标、被其他插件否决)根本不会扣除物品。
- 过期或撤销的悬赏会进入资助者的邮箱,等待其重新登录。物品绝不会掉落在空世界中。
- 关闭服务器时会首先关闭未确认的提供窗口,以便在世界保存前归还其内容。
- 若 payout 无法放入杀手背包,则会掉落至其脚下,并告知具体金额。
谁获得报酬
赏金罐是一个单一的物品堆,且永远不会重复复制。有三个竞争者争夺它,优先级如下:
- 复仇(Revenge) —— 受害者已杀死的资助者所投入的份额归受害者所有,存入其
/bounty mail。
- 助攻(Assists) —— 在过去 15 秒内造成伤害的所有人平分一部分配置好的份额。若无此机制,悬赏仅支付给最后一击者,这会导致团队倾向于让一人完成每次击杀。
- 击杀者(The killer) —— 剩余所有物品,加上受害者的头颅,上面标注其价值、领取者和时间。装备会被消耗;头颅则是保留物。
保持公平
| 设置项 |
防止的问题 |
anti-abuse.block-same-address |
通过虚假悬赏向自己的小号付款 |
anti-abuse.claim-cooldown-minutes |
两个朋友互相刷对方的头 |
anti-abuse.min-target-playtime-hours |
刚加入的玩家立刻被击杀 |
anti-abuse.min-combat-seconds |
瞬间重连击杀机制;战斗必须持续一定时间 |
anti-abuse.immunity-minutes |
赏金发放后立即重新悬赏,并在重生点蹲守 |
anti-abuse.safe-worlds, protect-creative |
赏金跟随玩家进入大厅或创造模式世界 |
bounty.min-value, max-stake-value, max-value |
避免一堆泥土的价值超过一套下界合金装备 |
bounty.cancel-lock-minutes |
将公告板当作免费储物箱使用 |
物品价值来源于 value 部分,它并非价格表——没有买卖行为。它的存在是为了让两个物品可以相互比较排名,从而使 min-value 具有意义。未列出的物品默认价值为零;如果你希望接受所有物品,请将 value.default 设置为 1。
匿名押注
提供窗口中有一个开关。匿名押注仍然是你的——它会退还给你,并计入你的记录——但广播和 /bounty info 不会显示是谁支付的。你可以通过 bounty.allow-anonymous 在全服务器范围内关闭此功能。
通缉海报
/bounty poster <player> 会在地图上打印目标玩家的 Mojang 头像,覆盖在其名字和赏金金额之上。海报会放入物品展示框中,即使所有人都下线后,它仍然显示谁值得被击杀——这是本插件中唯一存在于世界中而非数据库中的内容。
皮肤从 Mojang 获取,因此生成海报是一个网络请求。该操作在主线程之外进行,如果失败则会向玩家报告错误,而不是生成一张空白地图。海报保留其生成时的价格;过时正是其设计目的,这也使公告板有了比之更及时的信息来源。Minecraft 会持久化存储地图本身,但不会保存绘制在上面的内容,因此每张海报都会在 posters.yml 中记录,并在服务器启动时重新绘制。
存储
默认使用 SQLite:插件文件夹内只有一个文件,无需额外配置。将 storage.type 更改为 mysql 以在网络中的多个服务器上共享同一个赏金列表。Paper 已经内置了这两种驱动程序,因此无需下载任何额外组件。
每个服务器都会将赏金缓存在内存中,并在重启时同步其他服务器的变更。这对于生存服及其大厅来说已经足够,也避免了本插件不需要使用的消息队列。
Wanted
Bounties funded with real items, on a board that floats in front of the player who asked for it.
Most bounty plugins are a number in a database. You type an amount, the killer gets
that amount, and a scoreboard keeps score. Wanted works the other way round: a bounty
is a pile of items. You open a window, drop in a netherite sword, two shulkers and a
stack of diamonds, and whoever kills that player receives exactly those items.
That one decision changes the rest of the plugin. Bounties can be crowdfunded, because
several people can pay into the same head and each stake stays theirs. Bounties can
expire safely, because every funder gets their own gear back rather than a share of a
number. And no economy plugin is required, because nothing is ever created or
destroyed — gear simply changes hands.
What players actually do
/bounty open the board -- click "put a bounty on someone",
pick a name, drop items in, confirm. No typing needed.
/bounty offer Steve the same thing, if you'd rather skip straight to Steve
/bounty track Steve point your compass at him
/bounty poster Steve print his face on a map and nail it up
Steve now glows. Steve also gets faster, because a price on your head is worth
something to the person carrying it. Someone kills him; they get the sword, the
shulkers, the diamonds and Steve's head on a stick. Unless Steve got to whoever paid
for him first — then that part of the pot went home with Steve.
Being wanted is a deal, not a punishment
Most bounty plugins make the board a list of people hiding. This one pays the hunted:
the bigger the pot on your head, the stronger you are.
| Pot |
Title |
What you get |
| 25 |
Marked |
Speed I |
| 100 |
Outlaw |
Speed I, Resistance I |
| 400 |
Desperado |
Speed II, Resistance I, Fire Resistance |
| 1200 |
Most Wanted |
Speed II, Resistance II, Fire Resistance, Regeneration |
So a player can let their bounty grow on purpose and trade safety for power. The glow
means they cannot do it quietly. Tiers, thresholds and effects are all config.yml.
Two more things pull in the same direction. Revenge: kill one of the people who
paid for your head and their stake is yours when you eventually fall, rather than the
hunter's — chasing your client beats running from the hunter. Notoriety: every PvP
kill adds a point, and past a threshold the server puts its own price on you, sized by
how high the count has climbed. Dying halves it. The only real way down is to stop
killing people for a while.
The board
The menu. /bounty opens the board as a paged chest of heads -- this is the
default view, because it is the one thing on this list you can actually click.
Left click a head to fund that bounty, right click to start tracking, shift-click for
who funded it and how much. A "put a bounty on someone" button sits in the corner and
opens every online player as a clickable list, so starting a new bounty never needs a
typed name either -- pick a face, drop items in, confirm.
Shift-clicking a head opens the same window as /bounty info -- everything below that
used to be a wall of chat text now opens as its own window instead: /bounty top is the
board itself sorted richest-first, /bounty hunters is a leaderboard of heads you can
click through into /bounty stats for that hunter, and /bounty mail previews what is
waiting before one button takes all of it. The offer window also grows a second button
the moment you already have a stake on that head, so pulling it back (/bounty cancel)
never needs its own screen.
The personal hologram. /bounty board spawns a panel in front of the player's eyes
that only they can see, hear and light up instead -- purely a display, nothing on it is
clickable. It springs into place, lags a little behind their head, reveals its rows one
at a time with a floating player head beside each, idles with orbiting embers, and spins
away when they sprint. Colours, distance, lifetime, sounds and particles all come from
config.yml. A server can make this the default again with board.default-view: hologram,
trading the one-click flow above for the ambient look.
The wall. /wanted board place spawn nails a permanent wanted board to the spot
you are looking at, turned to face you, visible to everyone who walks past. Placing one
still takes a typed name and your current look direction, so it stays a command; taking
one down does not -- /wanted gui opens an admin menu to browse and remove both bounties
and boards with a click.
Commands
| Command |
What it does |
Permission |
/bounty |
Open the board in the configured default view (a chest menu, unless changed) |
wanted.use |
/bounty gui |
Open the board as a chest menu, explicitly |
wanted.use |
/bounty board |
Open the personal hologram, explicitly |
wanted.use |
/bounty offer <player> |
Put items on someone's head |
wanted.offer |
/bounty cancel <player> |
Take your own stake back |
wanted.use |
/bounty info <player> |
Who funded a bounty, and with what, as a menu |
wanted.use |
/bounty top |
The board, sorted richest-first |
wanted.use |
/bounty hunters |
The most successful hunters, as a menu |
wanted.use |
/bounty stats [player] |
A hunter's record, as a menu |
wanted.use |
/bounty track <player> |
Point your compass at a target, with a warm-cold bossbar |
wanted.track |
/bounty poster <player> |
Print a wanted poster: their face on a map |
wanted.poster |
/bounty mail |
Preview and collect items that came back to you |
wanted.use |
/wanted reload |
Re-read config.yml and messages.yml |
wanted.admin |
/wanted add <player> |
Stake the item in your hand, funded by the server |
wanted.admin |
/wanted remove <player> |
Cancel a bounty and return every stake |
wanted.admin |
/wanted clear <player> |
Cancel a bounty without returning anything |
wanted.admin |
/wanted purge |
Cancel every bounty, returning every stake |
wanted.admin |
/wanted resetstats <player> |
Wipe a hunter's record |
wanted.admin |
/wanted board place|remove|list |
Manage the permanent boards |
wanted.admin |
/wanted gui |
Browse and remove bounties and boards as a menu |
wanted.admin |
/bounties is an alias for /bounty, /wantedadmin for /wanted. reload, add,
purge and resetstats stay text-only: each either needs something typed that is not
already on the board, or is rare and high-blast-radius enough to want console/RCON
reach rather than one click in a menu.
Nothing gets lost
A PvP plugin that eats gear does not stay installed. Every path that could lose an item
is closed:
- Closing the offer window without confirming returns everything in it.
- A refused bounty (too cheap, self-targeted, vetoed by another plugin) never takes the
items in the first place.
- An expired or withdrawn bounty goes to the funder's mailbox, which waits for them to
log back in. Items are never dropped in an empty world.
- Shutting the server down closes open offer windows first, so their contents are given
back before the world saves.
- A payout that does not fit in the killer's inventory is dropped at their feet and they
are told how much.
Who gets paid
The pot is one pile of items and it is never duplicated. Three claims compete for it,
in this order:
- Revenge — the share staked by funders the victim had already killed goes to the
victim, into their
/bounty mail.
- Assists — everyone who landed a hit in the last 15 seconds splits a configurable
cut. Without this a bounty pays only whoever got the final blow, which teaches a team
to let one member finish every kill.
- The killer — everything left, plus the victim's head, stamped with what they were
worth, who collected and when. The gear gets used up; the skull is what they keep.
Keeping it fair
| Setting |
What it stops |
anti-abuse.block-same-address |
Paying items to your own alt through a fake bounty |
anti-abuse.claim-cooldown-minutes |
Two friends farming each other's heads |
anti-abuse.min-target-playtime-hours |
Fresh joins being farmed on sight |
anti-abuse.min-combat-seconds |
Instant relog-kill setups; the fight has to have lasted |
anti-abuse.immunity-minutes |
Re-bountying a head the second it pays out, then camping the respawn |
anti-abuse.safe-worlds, protect-creative |
Bounties following players into a lobby or a creative world |
bounty.min-value, max-stake-value, max-value |
A stack of dirt outranking a netherite set |
bounty.cancel-lock-minutes |
Using the board as free storage |
Item worth comes from the value section, which is not a price list — nothing is bought
or sold. It exists so two pots can be ranked against each other and so min-value means
something. Unlisted items are worth nothing by default; set value.default to 1 if you
would rather accept everything.
Anonymous stakes
The offer window has a switch on it. An anonymous stake is still yours — it is refunded
to you, it counts towards your record — but neither the broadcast nor /bounty info
says who paid for it. Turn it off server-wide with bounty.allow-anonymous.
Wanted posters
/bounty poster <player> prints the target's own Mojang face onto a map, over their
name and their price. It goes in an item frame and keeps saying who is worth killing
after everyone has logged off — the one thing here that lives in the world rather than
in a database.
The skin is fetched from Mojang, so printing a poster is a web request. It happens off
the main thread and a failure is reported to the player rather than producing a blank
map. Posters keep the price they were printed with; going out of date is the point, and
it gives the board something to be more current than. Minecraft persists the map but not
what draws on it, so each one is noted in posters.yml and redrawn on startup.
Storage
SQLite by default: one file in the plugin folder, nothing to set up. Switch
storage.type to mysql to share one bounty list across several servers of a network.
Paper already ships both drivers, so neither costs a download.
Each server caches bounties in memory and picks up another server's changes on restart.
That is enough for a survival server plus its lobby, and avoids a message bus this
plugin has no need for.
the bigger the pot on your head, the stronger you are.
| Pot |
Title |
What you get |
| 25 |
Marked |
Speed I |
| 100 |
Outlaw |
Speed I, Resistance I |
| 400 |
Desperado |
Speed II, Resistance I, Fire Resistance |
| 1200 |
Most Wanted |
Speed II, Resistance II, Fire Resistance, Regeneration |
So a player can let their bounty grow on purpose and trade safety for power. The glow
means they cannot do it quietly. Tiers, thresholds and effects are all config.yml.
Two more things pull in the same direction. Revenge: kill one of the people who
paid for your head and their stake is yours when you eventually fall, rather than the
hunter's — chasing your client beats running from the hunter. Notoriety: every PvP
kill adds a point, and past a threshold the server puts its own price on you, sized by
how high the count has climbed. Dying halves it. The only real way down is to stop
killing people for a while.
The board
The personal hologram. /bounty spawns a panel in front of the player's eyes that
only they can see, hear and light up. It springs into place, lags a little behind their
head, reveals its rows one at a time with a floating player head beside each, idles with
orbiting embers, and spins away when they sprint. Colours, distance, lifetime, sounds
and particles all come from config.yml.
The menu. /bounty gui shows the same board as a paged chest of heads. Left click
a head to fund that bounty, right click to start tracking, shift-click for who funded it
and how much. That last one opens the same window as /bounty info -- everything below
that used to be a wall of chat text now opens as its own window instead: /bounty top
is the board itself sorted richest-first, /bounty hunters is a leaderboard of heads you
can click through into /bounty stats for that hunter, and /bounty mail previews what
is waiting before one button takes all of it. The offer window also grows a second button
the moment you already have a stake on that head, so pulling it back (/bounty cancel)
never needs its own screen.
The wall. /wanted board place spawn nails a permanent wanted board to the spot
you are looking at, turned to face you, visible to everyone who walks past. Placing one
still takes a typed name and your current look direction, so it stays a command; taking
one down does not -- /wanted gui opens an admin menu to browse and remove both bounties
and boards with a click.
Commands
| Command |
What it does |
Permission |
/bounty |
Open the board in the configured default view |
wanted.use |
/bounty gui |
Open the board as a chest menu |
wanted.use |
/bounty offer <player> |
Put items on someone's head |
wanted.offer |
/bounty cancel <player> |
Take your own stake back |
wanted.use |
/bounty info <player> |
Who funded a bounty, and with what, as a menu |
wanted.use |
/bounty top |
The board, sorted richest-first |
wanted.use |
/bounty hunters |
The most successful hunters, as a menu |
wanted.use |
/bounty stats [player] |
A hunter's record, as a menu |
wanted.use |
/bounty track <player> |
Point your compass at a target, with a warm-cold bossbar |
wanted.track |
/bounty poster <player> |
Print a wanted poster: their face on a map |
wanted.poster |
/bounty mail |
Preview and collect items that came back to you |
wanted.use |
/wanted reload |
Re-read config.yml and messages.yml |
wanted.admin |
/wanted add <player> |
Stake the item in your hand, funded by the server |
wanted.admin |
/wanted remove <player> |
Cancel a bounty and return every stake |
wanted.admin |
/wanted clear <player> |
Cancel a bounty without returning anything |
wanted.admin |
/wanted purge |
Cancel every bounty, returning every stake |
wanted.admin |
/wanted resetstats <player> |
Wipe a hunter's record |
wanted.admin |
/wanted board place|remove|list |
Manage the permanent boards |
wanted.admin |
/wanted gui |
Browse and remove bounties and boards as a menu |
wanted.admin |
/bounties is an alias for /bounty, /wantedadmin for /wanted. reload, add,
purge and resetstats stay text-only: each either needs something typed that is not
already on the board, or is rare and high-blast-radius enough to want console/RCON
reach rather than one click in a menu.
Nothing gets lost
A PvP plugin that eats gear does not stay installed. Every path that could lose an item
is closed:
- Closing the offer window without confirming returns everything in it.
- A refused bounty (too cheap, self-targeted, vetoed by another plugin) never takes the
items in the first place.
- An expired or withdrawn bounty goes to the funder's mailbox, which waits for them to
log back in. Items are never dropped in an empty world.
- Shutting the server down closes open offer windows first, so their contents are given
back before the world saves.
- A payout that does not fit in the killer's inventory is dropped at their feet and they
are told how much.
Who gets paid
The pot is one pile of items and it is never duplicated. Three claims compete for it,
in this order:
- Revenge — the share staked by funders the victim had already killed goes to the
victim, into their
/bounty mail.
- Assists — everyone who landed a hit in the last 15 seconds splits a configurable
cut. Without this a bounty pays only whoever got the final blow, which teaches a team
to let one member finish every kill.
- The killer — everything left, plus the victim's head, stamped with what they were
worth, who collected and when. The gear gets used up; the skull is what they keep.
Keeping it fair
| Setting |
What it stops |
anti-abuse.block-same-address |
Paying items to your own alt through a fake bounty |
anti-abuse.claim-cooldown-minutes |
Two friends farming each other's heads |
anti-abuse.min-target-playtime-hours |
Fresh joins being farmed on sight |
anti-abuse.min-combat-seconds |
Instant relog-kill setups; the fight has to have lasted |
anti-abuse.immunity-minutes |
Re-bountying a head the second it pays out, then camping the respawn |
anti-abuse.safe-worlds, protect-creative |
Bounties following players into a lobby or a creative world |
bounty.min-value, max-stake-value, max-value |
A stack of dirt outranking a netherite set |
bounty.cancel-lock-minutes |
Using the board as free storage |
Item worth comes from the value section, which is not a price list — nothing is bought
or sold. It exists so two pots can be ranked against each other and so min-value means
something. Unlisted items are worth nothing by default; set value.default to 1 if you
would rather accept everything.
Anonymous stakes
The offer window has a switch on it. An anonymous stake is still yours — it is refunded
to you, it counts towards your record — but neither the broadcast nor /bounty info
says who paid for it. Turn it off server-wide with bounty.allow-anonymous.
Wanted posters
/bounty poster <player> prints the target's own Mojang face onto a map, over their
name and their price. It goes in an item frame and keeps saying who is worth killing
after everyone has logged off — the one thing here that lives in the world rather than
in a database.
The skin is fetched from Mojang, so printing a poster is a web request. It happens off
the main thread and a failure is reported to the player rather than producing a blank
map. Posters keep the price they were printed with; going out of date is the point, and
it gives the board something to be more current than. Minecraft persists the map but not
what draws on it, so each one is noted in posters.yml and redrawn on startup.
Storage
SQLite by default: one file in the plugin folder, nothing to set up. Switch
storage.type to mysql to share one bounty list across several servers of a network.
Paper already ships both drivers, so neither costs a download.
Each server caches bounties in memory and picks up another server's changes on restart.
That is enough for a survival server plus its lobby, and avoids a message bus this
plugin has no need for.
评论 0
登录后参与评分
还没有评论,来抢沙发吧