
一个适用于 Spigot/Paper(Paper 1.21.11)的现代赏金插件,通过 Maven profile 提供对旧版本的兼容支持。该插件设计为模块化、可配置,并兼容多种经济系统提供商。
TAB (neznamy) 条件

将此条件块添加到你的 TAB (neznamy) 配置中(在 config.yml 的 conditions 部分下),完成此操作后,请将其添加到 groups.yml 中的条件里:
conditions:
bounty:
conditions:
- "%bbounty_amount%!=0"
true: " &b$%bbounty_amount%"
false: ""
说明:
conditions.bounty.conditions 包含一个或多个针对玩家进行求值的表达式。
此处 %bbounty_amount%!=0 在玩家的赏金不为零时返回 true(真)。
true 是条件为真时输出的字符串(以青色显示带有金额的货币)。
false 是条件为假时输出的字符串(空字符串会隐藏后缀)。
然后将该条件放置于你的标签页配置中接受条件占位符的位置即可。
选项卡插件 tabsuffix 设置的示例:
tabsuffix: "%condition:bounty%"
这将实现以下效果:
当玩家的赏金不为零时,渲染 &b$<金额>。
当玩家的赏金为零时,不渲染任何内容,从而隐藏后缀。
示例
玩家拥有 0 赏金 → tabsuffix 变为空。
玩家拥有 150 赏金 → tabsuffix 变为 &b$150(根据插件设置进行样式化)。
概述
bBounty 允许玩家对其他玩家设定金钱赏金、在击杀后领取奖励、追踪击杀连胜,并提供用于管理赏金的管理员工具。它支持通过 Vault 或基于命令的经济系统提供商,并提供现代的 Adventure 消息格式及传统的回退方案。
插件还会以一定的随机概率自动为其他玩家设定赏金!(此功能可在 config.yml 中自定义)
特性
- 通过
/bounty set <player> <amount> 设定赏金
- 从设定者账户扣除资金(可配置)
- 击杀时根据连胜次数按比例增加随机自动赏金的概率
- 追踪击杀连胜并设置防刷冷却时间
- 通过可配置的经济系统提供商向击杀者发放奖励
- 管理员命令与友好的 GUI 占位符
- 可配置的广播消息(用于设定、领取、自动添加)
- 更新检测器,支持立即检查与定时检查
- PlaceholderAPI 支持
命令
玩家:
/bounty set <player> <amount> - 设置赏金(如果启用则扣除金钱)
/bounty info [player] - 查看赏金信息
/bounty top [page] - 查看最高赏金排名
/bounty streak [player] - 查看击杀连杀记录
/bounty stats - 查看赏金统计数据
管理员命令:
/bounty admin add <player> <amount> - 无需花费即可强制添加赏金
/bounty remove <player> - 移除玩家的赏金
/bounty blacklist add <player> - 将玩家加入黑名单
/bounty blacklist remove <player> - 将玩家移出黑名单
/bounty reload - 重新加载配置文件
/bounty checkupdate(或 /bounty check)- 强制检查更新(权限 dbounty.admin)

占位符
? 基础插件统计
%bbounty_active_count% - 当前活跃赏金的数量(数字)
%bbounty_total_pool% - 所有赏金池中的总金额 ($)
%bbounty_version% - 插件版本号(例如 "2.1.0")
⚙️ 配置设置
%bbounty_config_min_set% - 可设置的最低赏金金额 ($)
%bbounty_config_max_bounty% - 可设置的最高赏金金额 ($)
%bbounty_config_auto_min% - 自动赏金的最低金额 ($)
%bbounty_config_auto_max% - 自动赏金的最高金额 ($)
? #1 首领(头号目标)
%bbounty_target_name% - #1 赏金目标的名称
%bbounty_target_amount% - 该目标的赏金金额 ($)
? 顶级玩家列表(将 # 替换为 1、2、3...)
%bbounty_top_name_1% - #1 玩家的名称
%bbounty_top_amount_1% - #1 玩家的赏金金额 ($)
%bbounty_top_streak_1% - 第 #1 名玩家的击杀连击数
%bbounty_top_setter_1% - 悬赏第 #1 名玩家的人
示例: %bbounty_top_name_3% = 第 #3 名玩家名称
? 特定玩家信息(将 "PlayerName" 替换为实际名称)
```yaml
%bbounty_player_amount_PlayerName% - 该玩家的赏金金额 ($)
%bbounty_player_streak_PlayerName% - 该玩家的击杀连击数
%bbounty_player_rank_PlayerName% - 该玩家的排名 (#)
%bbounty_player_has_bounty_PlayerName% - true/false(是否有赏金)
示例: %bbounty_player_amount_Steve%
? 当前玩家信息
%bbounty_amount% - 你的赏金金额 ($)
%bbounty_streak% - 你的击杀连击数
%bbounty_has_bounty% - true/false(你是否有赏金?)
%bbounty_rank% - 你的排名 (#)
%bbounty_setter% - 悬赏你的人
%bbounty_auto_chance% - 自动悬赏概率 %
%bbounty_reward_if_killed% - 若你杀死目标可获得的奖励 ($)
%bbounty_updated_at% - 赏金最后更新时间
%bbounty_setter_uuid% - 悬赏发布者的 UUID
配置(示例)
config.yml 中的主要相关片段(默认值):
bounty:
min-set-amount: 50.0
max-amount: 1000000.0
charge-setter: true
auto-bounty:
enabled: true
base-chance: 0.25
per-streak-chance: 0.02
max-chance: 0.75
min-amount: 50.0
max-amount: 1000.0
anti-farm:
same-target-cooldown-seconds: 60
# 经济提供者配置
# 选项:vault、commands、none
economy:
provider: "vault"
# 如果提供程序为 'commands',配置自定义的取款/存款命令
commands:
# 从玩家处扣除金钱
withdraw: "eco give %player% -%amount%"
# 向玩家存入金钱
deposit: "eco give %player% %amount%"
reward:
fallback-commands:
- "eco give %player% %amount%"
blacklist:
enabled: true
players: []
messages:
fancy-font-enabled: false
bounty-set: "&b✦ &7悬赏已设置于 &b%target% &7,金额为 &b%amount%"
target-notify: "&b✦ &7有人对你设置了悬赏:&b+%amount%"
reward-paid: "&b✦ &7你已从悬赏中领取了 &b%amount% &7的奖励。"
reward-failed: "&b✦ &7悬赏已被认领,但奖励发放失败(经济系统/回退机制问题)。"
auto-bounty-added: "&b✦ &7你引起了关注:悬赏增加 &b+%amount%$"
farm-blocked: "&b✦ &7击杀被忽略(防刷机制)。"
no-permission: "&b✦ &7你没有权限。"
player-not-found: "&b✦ &7未找到该玩家。"
insufficient-balance: "&b✦ &7余额不足。"
bounty-removed: "&b✦ &7悬赏已移除:&b%amount%"
player-blacklisted: "&b✦ &7玩家 &b%player% &7已加入黑名单。"
player-unblacklisted: "&b✦ &7玩家 &b%player% &7已从黑名单中移除。"
admin-bounty-set: "&b✦ &7管理员对 &b%target% &7设置了悬赏,金额为 &b%amount%"
# 所有玩家可见的广播消息(可单独启用/禁用)
broadcast-on-set-enabled: false
broadcast-on-set: "&b✦ &7悬赏已设置于 &b%target% &7,金额为 &b%amount%"
broadcast-on-claim-enabled: true
broadcast-on-claim: "&b✦ &7%killer% 已从 &b%target% &7处领取了 &b%amount% &7的悬赏奖励。"
broadcast-on-auto-added-enabled: true
broadcast-on-auto-added: "&b✦ &7%player% 引起了关注:悬赏增加 &b+%amount%"
# 更新检查器设置
update-check:
# 最大允许值为 360(6 小时)。如果设置超过 360,插件将自动回退至 360。
frequency-minutes: 360

A modern Bounty plugin for Spigot/Paper (Paper 1.21.11) with legacy fallback via Maven profile. Designed to be modular, configurable and compatible with multiple economy providers.
TAB (neznamy) conditions

Add this condition block to your TAB (neznamy) configuration (under the conditions section in your config.yml, after doing this, add the condition in your groups.yml):
conditions:
bounty:
conditions:
- "%bbounty_amount%!=0"
true: " &b$%bbounty_amount%"
false: ""
Explanation:
conditions.bounty.conditions contains one or more expressions evaluated for the player.
Here %bbounty_amount%!=0 returns true when the player's bounty is not zero.
true is the string to output when condition is true (shows cyan money with amount).
false is the string to output when condition is false (empty string hides suffix).
Then place the condition in your tab configuration where you accept condition placeholders.
Example for tab plugin tabsuffix setting:
tabsuffix: "%condition:bounty%"
This will:
Render &b$<amount> when the player's bounty is not zero.
Render nothing when the player's bounty is zero, effectively hiding the suffix.
Examples
Player with 0 bounty → tabsuffix becomes empty.
Player with 150 bounty → tabsuffix becomes &b$150 (styled according to plugin settings).
Overview
bBounty allows players to set monetary bounties on other players, claim rewards on kill, track streaks, and offers admin tools for managing bounties. It supports Vault or command-based economy providers and provides both modern Adventure messages and legacy fallback.
Bounties are also set automatically by the plugin to players with a random chance! (feature customizable in the config.yml)
Features
- Set bounties via
/bounty set <player> <amount>
- Withdraw money from setter (configurable)
- Random auto-bounties on kill with probability scaling by streak
- Kill streak tracking and anti-farm cooldowns
- Reward payout to killer via configurable economy provider
- Admin commands and GUI-friendly placeholders
- Broadcast messages (configurable) for set, claim, auto-add
- Update checker with immediate check and scheduled checks
- PlaceholderAPI support
Commands
Player:
/bounty set <player> <amount> - Set a bounty (withdraws money if enabled)
/bounty info [player] - View bounty info
/bounty top [page] - View top bounties
/bounty streak [player] - View kill streak
/bounty stats - View bounty statistics
Admin:
/bounty admin add <player> <amount> - Force add bounty without cost
/bounty remove <player> - Remove a player's bounty
/bounty blacklist add <player> - Add player to blacklist
/bounty blacklist remove <player> - Remove player from blacklist
/bounty reload - Reload config
/bounty checkupdate (or /bounty check) - Force update check (permission dbounty.admin)

Placeholders
? Basic Plugin Stats
%bbounty_active_count% - How many active bounties (number)
%bbounty_total_pool% - Total money in all bounties ($)
%bbounty_version% - Plugin version (like "2.1.0")
⚙️ Config Settings
%bbounty_config_min_set% - Minimum bounty you can set ($)
%bbounty_config_max_bounty% - Maximum bounty you can set ($)
%bbounty_config_auto_min% - Auto-bounty minimum ($)
%bbounty_config_auto_max% - Auto-bounty maximum ($)
? #1 Leader (Top Target)
%bbounty_target_name% - Name of #1 bounty target
%bbounty_target_amount% - Their bounty amount ($)
? Top Players List (replace # with 1, 2, 3...)
%bbounty_top_name_1% - #1 player's name
%bbounty_top_amount_1% - #1 player's bounty ($)
%bbounty_top_streak_1% - #1 player's kill streak
%bbounty_top_setter_1% - Who set #1's bounty
Examples: %bbounty_top_name_3% = #3 player name
? Specific Player Info (replace "PlayerName")
%bbounty_player_amount_PlayerName% - Player's bounty ($)
%bbounty_player_streak_PlayerName% - Player's streak
%bbounty_player_rank_PlayerName% - Player's rank (#)
%bbounty_player_has_bounty_PlayerName% - true/false
Example: %bbounty_player_amount_Steve%
? Current Player Info
%bbounty_amount% - Your bounty ($)
%bbounty_streak% - Your kill streak
%bbounty_has_bounty% - true/false (you have bounty?)
%bbounty_rank% - Your rank (#)
%bbounty_setter% - Who set your bounty
%bbounty_auto_chance% - Auto-bounty chance %
%bbounty_reward_if_killed% - Reward if you kill them ($)
%bbounty_updated_at% - When bounty was last updated
%bbounty_setter_uuid% - Setter's UUID
Configuration (example)
Main relevant snippets of config.yml (defaults):
bounty:
min-set-amount: 50.0
max-amount: 1000000.0
charge-setter: true
auto-bounty:
enabled: true
base-chance: 0.25
per-streak-chance: 0.02
max-chance: 0.75
min-amount: 50.0
max-amount: 1000.0
anti-farm:
same-target-cooldown-seconds: 60
# Economy Provider Configuration
# Options: vault, commands, none
economy:
provider: "vault"
# If provider is 'commands', configure custom withdraw/deposit commands
commands:
# Withdraw money from player
withdraw: "eco give %player% -%amount%"
# Deposit money to player
deposit: "eco give %player% %amount%"
reward:
fallback-commands:
- "eco give %player% %amount%"
blacklist:
enabled: true
players: []
messages:
fancy-font-enabled: false
bounty-set: "&b✦ &7Bounty set on &b%target% &7for &b%amount%"
target-notify: "&b✦ &7A bounty was placed on you: &b+%amount%"
reward-paid: "&b✦ &7You claimed &b%amount% &7from bounty."
reward-failed: "&b✦ &7Bounty claimed but reward failed (economy/fallback)."
auto-bounty-added: "&b✦ &7You gained attention: bounty &b+%amount%$"
farm-blocked: "&b✦ &7Kill ignored (anti-farm)."
no-permission: "&b✦ &7You don't have permission."
player-not-found: "&b✦ &7Player not found."
insufficient-balance: "&b✦ &7Insufficient balance."
bounty-removed: "&b✦ &7Bounty removed: &b%amount%"
player-blacklisted: "&b✦ &7Player &b%player% &7added to blacklist."
player-unblacklisted: "&b✦ &7Player &b%player% &7removed from blacklist."
admin-bounty-set: "&b✦ &7Admin bounty set on &b%target% &7for &b%amount%"
# Broadcast messages visible to all players (enable/disable individually)
broadcast-on-set-enabled: false
broadcast-on-set: "&b✦ &7Bounty set on &b%target% &7for &b%amount%"
broadcast-on-claim-enabled: true
broadcast-on-claim: "&b✦ &7%killer% has claimed &b%amount% &7from &b%target%"
broadcast-on-auto-added-enabled: true
broadcast-on-auto-added: "&b✦ &7%player% gained attention: bounty &b+%amount%"
# Update checker settings
update-check:
# Maximum allowed is 360 (6 hours). If >360 is set, plugin falls back to 360.
frequency-minutes: 360
评论 0
登录后参与评分
还没有评论,来抢沙发吧