?☠️ Bounty Redux
一款面向 Paper 服务器的免费开源赏金插件。灵感来源于 DonutSMP 赏金插件。
⚡ 功能特性
- 带有分页玩家头颅显示的流畅赏金 GUI
- 通过命令或 GUI 为任意玩家添加赏金
- 确认菜单以防止误操作放置赏金
- 冷却时间以防止赏金刷屏
- 按金额或名称对赏金进行排序
- 按玩家名称搜索赏金
- 支持 Vault 经济系统
- 通过
config.yml 完全自定义消息
- 所有命令均支持 Tab 补全
- SQLite 持久化存储 — 重启后赏金数据不丢失
- ? 完全支持离线模式服务器 — 即使玩家处于离线状态,所有玩家的头颅皮肤也能正确渲染,即使使用了 SkinRestorer
? 依赖项
? 离线模式服务器支持
大多数赏金插件使用 Bukkit 的离线玩家缓存来渲染玩家头颅——这意味着一旦玩家下线,头颅就会失效,且从未登录过(离线认证)的玩家根本无法渲染。
本插件彻底解决了这个问题:
- 每次玩家加入时,其皮肤纹理(包括由 SkinRestorer 注入的皮肤)都会直接缓存到本地 SQLite 数据库中
- 头颅从该纹理缓存中渲染——完全不依赖玩家当前是否在线
- 与 SkinRestorer 开箱即用——无需额外配置
? 命令与权限
| 命令 |
描述 |
权限节点 |
/bounty |
打开赏金菜单 |
bountyredux.use |
/bounty add <player> <amount> |
添加赏金 |
bountyredux.add |
/bounty search <player> |
查看玩家的赏金 |
bountyredux.search |
/bounty track <player> |
追踪玩家 |
bountyredux.track |
/bounty clear <player> |
清除玩家的赏金 |
bountyredux.clear |
/bounty reload |
重载配置 |
bountyredux.reload |
权限节点说明:
bountyredux.add — 放置赏金
bountyredux.reload — 重载配置
bountyredux.clear — 清除赏金
bountyredux.admin — 完全管理员访问权限
bountyredux.* — 所有权限
? 安装指南
- 从 Releases 页面下载最新的
.jar 文件
- 将其放入服务器的
/plugins 文件夹中
- 重启服务器
- 如有需要,编辑
plugins/BountyRedux/config.yml
⚙️ 配置说明
默认 config.yml 内容如下:
# ============================================
# Bounty Redux Plugin — GPLv3
# ============================================
settings:
# 玩家可放置的最小赏金金额
min-bounty: 10
# 玩家可放置的最大赏金金额
max-bounty: 1000000
# 放置赏金之间的冷却时间(秒)
add-cooldown: 60
# GUI 标题
gui-title: "§6§lBounty Menu"
tracking:
# 费用模式:'fixed'(固定)或 'percentage'(百分比)
cost-mode: percentage
# 固定费用(货币单位,例如 500 = $500)
fixed-cost: 500
# 目标玩家总赏金的百分比(例如 5 = 5%)
percentage-cost: 5
# 持续时间(秒,默认 300 = 5 分钟)
duration: 300
messages:
prefix: "§8[§6Bounty§8] §r"
bounty-placed: "§aYou placed a bounty of §6${amount} §aon §e{target}§a!"
bounty-collected: "§6{killer} §acollected the bounty of §6${amount} §aon §e{target}§a!"
bounty-cleared: "§cThe bounty on §e{target} §chas been cleared."
bounty-not-found: "§cNo bounty found for that player."
no-permission: "§cYou don't have permission to do that."
not-enough-money: "§cYou don't have enough money! You need §6${amount}§c."
on-cooldown: "§cYou're on cooldown! Wait §e{seconds}s §cbefore placing another bounty."
invalid-amount: "§cInvalid amount. Must be between §6${min} §cand §6${max}§c."
cannot-bounty-self: "§cYou can't place a bounty on yourself!"
player-not-found: "§cPlayer not found."
plugin-reloaded: "§aPlugin reloaded successfully."
bounty-confirmed: "§aYou confirmed a bounty of §6${amount} §aon §e{target}§a."
bounty-cancelled: "§cBounty placement cancelled."
no-bounties: "§cThis player has no bounties."
可用占位符:
| 占位符 |
描述 |
{amount} |
赏金金额 |
{target} |
目标玩家名称 |
{killer} |
击杀者名称 |
{seconds} |
剩余冷却秒数 |
{min} |
最小赏金金额 |
{max} |
最大赏金金额 |
?️ 从源码构建
git clone https://github.com/LightNabz/BountyRedux.git
cd bounties
mvn clean package
构建后的 jar 包将位于 /target/BountyRedux-{version}.jar。
? 许可证
本项目遵循 GNU General Public License v3.0 许可协议。
详情请参阅 LICENSE。
?☠️ Bounty Redux
A free, open-source bounty plugin for Paper servers. Inspired by the DonutSMP Bounty Plugin.
⚡ Features
- Smooth bounty GUI with paginated player head display
- Add bounties on any player via command or GUI
- Confirmation menu to prevent accidental placements
- Cooldowns to prevent bounty spam
- Sort bounties by amount or name
- Search bounties by player name
- Vault economy integration
- Fully customizable messages via
config.yml
- Tab completion on all commands
- SQLite persistence — bounties survive restarts
- ? Full offline-mode server support — player skulls render correctly for all players, even when offline, even with SkinRestorer
? Dependencies
| Dependency |
Link |
| Vault |
SpigotMC |
| EssentialsX (optional) |
SpigotMC |
| SkinRestorer (optional, recommended for offline-mode servers) |
SpigotMC |
? Offline Mode Server Support
Most bounty plugins render player skulls using Bukkit's offline player cache — which means skulls break the moment a player logs off, and offline-authenticated players never render at all.
This plugin fixes that properly:
- On every join, the player's skin texture (including SkinRestorer-injected skins) is cached directly into the local SQLite database
- Skulls are rendered from this texture cache — no dependency on whether the player is currently online
- Works out of the box with SkinRestorer — no extra configuration needed
? Commands & Permissions
| Command |
Description |
Permission |
/bounty |
Opens the bounty menu |
bountyredux.use |
/bounty add <player> <amount> |
Add a bounty |
bountyredux.add |
/bounty search <player> |
View a player's bounties |
bountyredux.search |
/bounty track <player> |
Track player |
bountyredux.track |
/bounty clear <player> |
Clear a player's bounties |
bountyredux.clear |
/bounty reload |
Reload config |
bountyredux.reload |
Permission nodes:
bountyredux.add — place bounties
bountyredux.reload — reload config
bountyredux.clear — clear bounties
bountyredux.admin — full admin access
bountyredux.* — all permissions
? Installation
- Download the latest
.jar from Releases
- Drop it in your server's
/plugins folder
- Restart the server
- Edit
plugins/BountyRedux/config.yml if needed
⚙️ Configuration
Default config.yml:
# ============================================
# Bounty Redux Plugin — GPLv3
# ============================================
settings:
# Minimum bounty amount a player can place
min-bounty: 10
# Maximum bounty amount a player can place
max-bounty: 1000000
# Cooldown in seconds between placing bounties
add-cooldown: 60
# GUI title
gui-title: "§6§lBounty Menu"
tracking:
# Cost mode: 'fixed' or 'percentage'
cost-mode: percentage
# Fixed cost in currency (e.g. 500 = $500)
fixed-cost: 500
# Percentage of the target's total bounty (e.g. 5 = 5%)
percentage-cost: 5
# Duration in seconds (default 300 = 5 minutes)
duration: 300
messages:
prefix: "§8[§6Bounty§8] §r"
bounty-placed: "§aYou placed a bounty of §6${amount} §aon §e{target}§a!"
bounty-collected: "§6{killer} §acollected the bounty of §6${amount} §aon §e{target}§a!"
bounty-cleared: "§cThe bounty on §e{target} §chas been cleared."
bounty-not-found: "§cNo bounty found for that player."
no-permission: "§cYou don't have permission to do that."
not-enough-money: "§cYou don't have enough money! You need §6${amount}§c."
on-cooldown: "§cYou're on cooldown! Wait §e{seconds}s §cbefore placing another bounty."
invalid-amount: "§cInvalid amount. Must be between §6${min} §cand §6${max}§c."
cannot-bounty-self: "§cYou can't place a bounty on yourself!"
player-not-found: "§cPlayer not found."
plugin-reloaded: "§aPlugin reloaded successfully."
bounty-confirmed: "§aYou confirmed a bounty of §6${amount} §aon §e{target}§a."
bounty-cancelled: "§cBounty placement cancelled."
no-bounties: "§cThis player has no bounties."
Available placeholders:
| Placeholder |
Description |
{amount} |
The bounty amount |
{target} |
The target player's name |
{killer} |
The killer's name |
{seconds} |
Remaining cooldown seconds |
{min} |
Minimum bounty amount |
{max} |
Maximum bounty amount |
?️ Building from Source
git clone https://github.com/LightNabz/BountyRedux.git
cd bounties
mvn clean package
The built jar will be in /target/BountyRedux-{version}.jar.
? License
This project is licensed under the GNU General Public License v3.0.
See LICENSE for details.
评论 0
登录后参与评分
还没有评论,来抢沙发吧