为某人悬赏。Tovek Bounty 允许玩家对其他玩家进行悬赏,击杀目标者将获得赏金。这是 Toprak Eker 制作的免费 Tovek 插件系列的一部分。
功能
/bounty set <player> <amount>:设置悬赏。赏金金额将从放置悬赏的玩家账户中扣除(需要 Vault 和诸如 EssentialsX 等经济插件)。
/bounty add <player> <amount>:向已有的悬赏追加赏金。多名玩家可以共同资助同一笔悬赏。
- 金额支持简写格式:
2.5k、1m、3b。
- 击杀目标后,你将获得全部赏金。
- 悬赏菜单:一个包含玩家头颅的容器界面,显示奖励金额、参与人数以及每个人的出资情况。
/bounty list:支持可点击翻页;/bounty top:查看最高悬赏。
- 防滥用规则:
- 不能对自己进行悬赏
- 同一 IP 的玩家无法互相悬赏(可关闭)
- 已参与出资的玩家无法领取该悬赏(可关闭)
- 悬赏被领取后,同一玩家在一段时间内不得再次领取新悬赏(默认 120 秒)
tovekbounty.exempt 权限可保护玩家免受悬赏
- 与 Tovek Combat 兼容:如果持有悬赏的玩家在战斗中被踢出服务器,赏金将归属于最后攻击他的玩家。你也可以选择保留悬赏或将资金退还。
- 可选猎人提示:悬赏目标可以发光,指南针可指向最近的悬赏目标。两者默认均为关闭状态。
- 可选限制:最低和最高赏金金额、每位玩家的总赏金上限以及税费。
- PlaceholderAPI 支持:
%tovekbounty_amount%、%tovekbounty_has_bounty%、%tovekbounty_count%、%tovekbounty_total%、%tovekbounty_top_1_name%、%tovekbounty_top_1_amount%。
- 悬赏数据保存在
plugins/TovekBounty/bounties.yml 中,重启服务器后不会丢失。
- 所有消息均位于
messages.yml 文件中,并使用 MiniMessage 格式。
命令
| 命令 |
描述 |
/bounty 或 /bounty gui |
打开悬赏菜单 |
/bounty set <player> <amount> |
设置新悬赏 |
/bounty add <player> <amount> |
向悬赏追加资金 |
/bounty list [page] |
列出所有悬赏 |
/bounty check [player] |
查看某人的悬赏及出资人信息 |
/bounty top |
查看最高悬赏 |
/bounty remove <player> [refund|norefund] |
移除悬赏(管理员) |
/bounty reload |
重新加载配置和消息文件(管理员) |
别名:/bounties。
权限
| 权限 |
默认值 |
描述 |
tovekbounty.use |
所有人 |
打开菜单、列表、检查及排行榜 |
tovekbounty.set |
所有人 |
设置和追加悬赏 |
tovekbounty.hunt |
所有人 |
使用指南针提示 |
tovekbounty.exempt |
无 |
其他人无法对该玩家进行悬赏 |
tovekbounty.admin |
op |
移除悬赏和重载配置 |
依赖
- Paper 或 Purpur 1.20.1 至 26.3(已在 1.20.1、1.20.4、1.20.6、1.21.1、1.21.4、1.21.8、1.21.11、26.1.2 和 26.2 版本中测试通过)
- Java 21 或更高版本
- Vault 和经济插件(例如 EssentialsX)
- 可选:Tovek Combat、PlaceholderAPI
安装
- 将 jar 文件放入
plugins 文件夹,确保与 Vault 和经济插件共存。
- 启动服务器以生成
plugins/TovekBounty/config.yml 配置文件。
- 如需调整限制、防滥用规则或断线模式,请修改配置。
- 运行
/bounty reload 命令重载配置。
Put a price on someone's head. Tovek Bounty lets players place money on other players, and whoever kills the target gets paid. Part of the free Tovek plugins by Toprak Eker.
Features
/bounty set <player> <amount> places a bounty. The money is taken from the player who places it (needs Vault and an economy plugin such as EssentialsX).
/bounty add <player> <amount> puts more money on an existing bounty. Several players can pay into the same bounty.
- Amounts can be written short:
2.5k, 1m, 3b.
- Kill the target and the whole bounty is paid to you.
- Bounty menu: a chest menu with player heads that shows the reward, how many players paid and who paid what.
/bounty list with clickable pages and /bounty top for the biggest bounties.
- Rules against abuse:
- you cannot claim a bounty on yourself
- players on the same IP cannot claim each other's bounty (can be turned off)
- players who paid into a bounty cannot claim it (can be turned off)
- after a bounty is claimed, the same player cannot get a new one for a while (default 120 seconds)
tovekbounty.exempt protects a player from bounties
- Works with Tovek Combat: if a player with a bounty logs out during a fight, the bounty goes to the last player who hit them. You can also choose to keep the bounty or give the money back.
- Optional hunter hints: bounty targets can glow, and a compass can point to the nearest target. Both are off by default.
- Optional limits: minimum and maximum amount, a total limit per player and a tax.
- PlaceholderAPI support:
%tovekbounty_amount%, %tovekbounty_has_bounty%, %tovekbounty_count%, %tovekbounty_total%, %tovekbounty_top_1_name%, %tovekbounty_top_1_amount%.
- Bounties are saved to
plugins/TovekBounty/bounties.yml and stay after a restart.
- All messages are in
messages.yml and use MiniMessage.
Commands
| Command |
Description |
/bounty or /bounty gui |
Open the bounty menu |
/bounty set <player> <amount> |
Place a new bounty |
/bounty add <player> <amount> |
Add money to a bounty |
/bounty list [page] |
List all bounties |
/bounty check [player] |
Show a bounty and who paid for it |
/bounty top |
Biggest bounties |
/bounty remove <player> [refund|norefund] |
Remove a bounty (admin) |
/bounty reload |
Reload config and messages (admin) |
Alias: /bounties.
Permissions
| Permission |
Default |
Description |
tovekbounty.use |
everyone |
Open the menu, list, check and top |
tovekbounty.set |
everyone |
Place and add to bounties |
tovekbounty.hunt |
everyone |
Use the compass hint |
tovekbounty.exempt |
nobody |
Nobody can place a bounty on this player |
tovekbounty.admin |
op |
Remove bounties and reload |
Requirements
- Paper or Purpur 1.20.1 to 26.3 (tested with players on 1.20.1, 1.20.4, 1.20.6, 1.21.1, 1.21.4, 1.21.8, 1.21.11, 26.1.2 and 26.2)
- Java 21 or newer
- Vault and an economy plugin (for example EssentialsX)
- Optional: Tovek Combat, PlaceholderAPI
Installation
- Put the jar in
plugins next to Vault and your economy plugin.
- Start the server to create
plugins/TovekBounty/config.yml.
- Change the limits, the abuse rules and the combat-log mode if you want.
- Run
/bounty reload.
评论 0
登录后参与评分
还没有评论,来抢沙发吧