?☠️ Bounty Redux
一款面向 Paper 服务器的免费开源赏金插件。灵感来源于 DonutSMP 赏金插件。
⚡ 功能特性
- 带有分页玩家头颅显示的流畅赏金 GUI
- 通过命令或 GUI 为任意玩家添加赏金
- 确认菜单以防止误操作放置赏金
- 冷却时间以防止赏金刷屏
- 按金额或名称对赏金进行排序
- 按玩家名称搜索赏金
- 支持 Vault 经济系统
- 通过
config.yml完全自定义消息 - 所有命令均支持 Tab 补全
- SQLite 持久化存储 — 重启后赏金数据不丢失
- ? 完全支持离线模式服务器 — 即使玩家处于离线状态,所有玩家的头颅皮肤也能正确渲染,即使使用了 SkinRestorer
? 依赖项
| 依赖项 | 链接 |
|---|---|
| Vault | SpigotMC |
| EssentialsX (可选) | SpigotMC |
| SkinRestorer (可选,推荐用于离线模式服务器) | SpigotMC |
? 离线模式服务器支持
大多数赏金插件使用 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。
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包事件PacketEvents
retrooper
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
前置科技
46
Beds Always Explode
rabiesland
使床在所有维度中爆炸的模组
诅咒玩法机制
30
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
ProAuthMeLogin
3623813757
通过对话框或铁砧界面帮助你的 Anthme
实用
16
可自定义玩家模型
tom5454
自定义你的Minecraft头像!
装饰社交
16
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
评论 0
登录后参与评分
还没有评论,来抢沙发吧