PlayerBounty | Place bounties on players | [1.8 - 1.14.2] 4.7.2 [提交至百度][查看百度是否已收录此帖]

4798 0
2023-2-19 09:47:58
显示全部楼层
生活圈制作
PlayerBounty | Place bounties on players | Great incentive for PVP [1.8 - 1.14.2] 4.7.2
玩家赏金 | 为玩家设置赏金 | PVP 的巨大激励 [1.8 - 1.14.2] 4.7.2
下载地址
提取码:2f29
20
您未购买

人民币



这个插件是在 2016 年 3 月创建的,作为我的第一个官方公共资源,当时它很火,但后来我停止更新它,它变得相当安静。所以我在这里,再次更新它,让它比以前更好。该插件为您提供了一种虚拟方式,可以在玩家背部设置一个“目标”,其他玩家可以声称杀死他们。


  • 支持通过保存赏金数据。MySQL 数据库、SQLite 数据库或 YML 文件。
  • 100% 可定制的消息。
  • 能够设置玩家可以在某人头上设置的最小数量。
  • 能够设置玩家可以在某人头上设置的最大数量。
  • 能够设置某人在被杀时广播消息所必须拥有的最低赏金。
  • 当玩家执行 /bounty 列表时,针对在 GUI 中显示的玩家进行自定义。
  • 多个权限以添加更多支持以允许功能作为额外津贴。
  • 所有货币输入均以每 3 位逗号隔开。
  • 所有版本支持。
  • 领取赏金后,头颅会掉落带有可自定义名称/传说的赏金。
  • 自定义粒子以显示谁在游戏中有赏金。
  • 1.9+ 的自定义发光效果(如果您使用的是 1.8 或以下,请禁用发光,否则会导致错误)。
  • 在 GUI 中和通过 /bounty get 查看在线和离线赏金。
  • BountyStreak 自定义广播消息 + 奖励。
  • 自定义 LastSeen 功能,将显示玩家最后看到的位置。

  • /bounty add [player] [amount] - 增加/设置某人的赏金。
  • /bounty get (player) -将显示有关目标玩家或您自己的信息。
  • /bounty list -将打开一个 GUI 来显示所有赏金。
  • /bounty reload - 重新加载 yml 文件。
  • /bounty remove <player> -悄悄地从指定的玩家赏金中拿走那笔钱。
  • /bounty set <player> <amount> -静默设置指定玩家的赏金。
  • /bounty streak (player) -将显示你在连杀中有多少赏金击杀。

pbounty.admin - 在游戏中重新加载插件的权限,以及可以访问此插件的所有其他功能的权限。
pbounty.bountyset -允许您设置玩家赏金。
pbounty.bountyclaim -使您能够获得赏金。

















config.yml
代码(YAML):

赏金:
BroadcastsWhen:
minBountyDeath:1000.0
minBountyIncrease:100.0
BountysExpire:
启用:false
time:3600
BountyList:[]
Items:
BountyGet:
type:'397:3'
name:'&b&l {playerName} {status }'
lore:
- '&eAmount: &a$&f{amount}'
- '&eCurrent Streak: &f{streak}'
- '&eBounties Claimed: &f{bountiesClaimed}'
- '&eLast Seen: &f{lastSeen}'
BountyList:
type: '397:3'
name: '&b&l{playerName} {status}'
lore:
- '&eAmount: &a$&f{amount}'
- '&eCurrent Streak: &f{streak}'
- '&eBounties Claimed: &f{bountiesClaimed}'
- '&eLast Seen: &f{lastSeen}'
HeadItem:
type: '397: 3'
name: '&fSkull of &b&l{player}'
lore:
- '&7Defeated by &f{killer} &7on'
- '&f{date}&7 with their'
- '&f{weapon}'
- '&7to claim a bounty on their head'
- '&7worth: &a$&a{amount}&7.'
- '&7'
- '&7把它作为战利品来证明这一点'
- '&7你领取了这笔赏金。
LastSeen:
默认:'无处可见'
离线:'-'
towny:'{x} Town'
displayCoords:false
displayRegions:true
displayWorlds:true
displayTowny:false
Priorities:
'1':坐标
'2':区域
'3 ': Worlds
'4': Towny
Regions:
spawn: 'On the Main Island'
Worlds:
ASkyBlock: '
ASkyblock_nether: 'Somewhere among the Island Nether's'
Skyblock: 'Somewhere among the Islands'
Skyblock_nether: 'Somewhere among the Island Nether's'
限制:
minBounty:500.0
minIncrease:500.0
maxBounty:2147483647.0
RegionClaiming:
启用:错误
区域:
- 'spawn'
设置:
占位符:
HasBounty:
是:“是”
否:“否”
发光:
启用:真
彩色:红色
HeadDrop:
启用:真实
机会:30.0
列表:
playersPerPage:45
粒子:
启用:true
每:1
Streaks:
'1':
oneTimeReward:true
cashPrize:500.0
项目:
a:
类型:DIAMOND_BLOCK
数量:32
name:'&b&lBounty Blocks'
lore:
- '&7Some special lore for'
- '&7special bounty blocks .'
enchants:
- PROTECTION_ENVIRONMENTAL:3
privateMessage:
- '&5&l[ &f&lBOUNTY &5&l] &7你已获得连续赏金 1 的奖励。
'3':
一次奖励:

broadcastMessage:
- '&7'
- '&5&l[ &f&lBOUNTY &5&l] &f{player} &7 已连续领取赏金 3 次。
- '&7'
cashPrize: 5000.0
privateMessage:
- '&5&l[ &f&lBOUNTY &5&l] &7你已获得连续赏金 3 的奖励。
'5':
oneTimeReward: false
broadcast: true
broadcastMessage:
- '&7'
- '&5&l[ &f&lBOUNTY &5&l] &f{player} &7 已连续领取 5 次赏金,他们的赏金设置为 &f$5,000&7。
- '&7'




- '&5&l[ &f&lBOUNTY &5&l] &7你已获得连续赏金 5 的奖励。
数据库:
已启用:false
表名:赏金

MySQL:
已启用:真
主机:localhost
端口:3306
数据库:赏金
用户名:root
密码:''


inventories.yml
代码(YAML):
赏金:
GetGUI:
名称:'&b&lBounty &3&lGet'
插槽:9
项目:
“1”:
类型:THIN_GLASS
名称:“&7”
“2”:
类型:THIN_GLASS
名称:“&7”


名称:'&7'
'4':
类型:THIN_GLASS
名称:'&7'
'5':
BountyGet:true
'6':
类型:THIN_GLASS
名称:'&7' '
7':
类型:THIN_GLASS
名称:'&7'
'8 ':
类型:THIN_GLASS
名称:'&7'
'9':
类型:THIN_GLASS
名称:'&7'
ListGUI:
名称:'&b&lBoosted &3&lBounties'
插槽:54
项目:
'46':
类型:PAPER
name: '&b&l&m<-&e&l Previous Page'
知识:
- '&7单击此处转到'
- '&7上一页。
'47':
类型:THIN_GLASS
名称:'&7'
'48':
类型:THIN_GLASS
名称:'&7'
'49':
类型:THIN_GLASS
名称:'&7'
'50':
类型:THIN_GLASS
名称:'&7'
'51 ':
类型:THIN_GLASS
名称:'&7'
'52':
类型:THIN_GLASS
名称:'&7'
'53':
类型:



name: '&e&lNext Page &b&l&m->'
lore:
- '&7Click this to go'
- '&7the next page.'

data.yml
在玩家加入之前保持为空,因为这是存储数据的地方。

lang.yml
代码 (YAML):
GeneralErrors:
date-format: MM-d-yyyy hh:mm:ss
NoPermission: '&c&l(!) &cYou do not have permission to use that.'
MustBePlayer: '&c&l(!) &c你必须是玩家才能使用它。
InvalidNumber: '&c&l(!) &c你指定了一个无效的数字,试试 1
或 5000。
InvalidDouble: '&c&l(!) &c你指定了一个无效的double,

InventorySpace: '&c&l(!) &c你没有足够的库存空间。
NotOnline: '&c&l(!) &c指定玩家离线.'
MinItemStack: '&c&l(!) &cThe minimum ItemStack size is 1.'
MaxItemStack: '&c&l(!) &cThe maximum ItemStack size is 64.'
NullItemStack: '&c&l(!) &cThe specified ItemStack cannot be null or air.'
InsufficientFunds: '&c&l(!) &c您没有足够的资金进行该交易!
MoneyTaken:'&c&l- ${0}'
MoneyGiven:'&a&l+ ${0}'
赏金:
命令:
添加:
InvalidArgs:'&c&l(!) &cInvalid args!尝试使用 & n/bounty add [player] [amount]&c.'
获取:
无效参数:'&c&l(!) &c无效参数!尝试使用 &n/bounty get (player)&c.'
InvalidArgs: |-
&3&m------&b&l BOUNTY HELP &3&m------
&c/bounty add [player] [amount] &7- &f为玩家添加赏金。
&c/bounty get (player) &7- &f获取目标玩家或你自己的详细信息。
&c/bounty list &7- &f列出所有赏金。
&c/bounty reload &7- &f重新加载与赏金相关的所有数据(不包括文件)。
&c/bounty remove [player] &7- &f移除指定玩家的赏金。
&c/bounty set [player] [amount] &7- &f悄悄设置指定玩家的赏金。
&c/bounty streak (player) &7- &f获取目标玩家或你自己的详细信息。
列表:

NotPlayed: '&c&l(!) &c那个玩家以前从未玩过。
Reload:
Reloaded: '&b&l(!) &3You have reloaded the bounty plugin.'
删除:
InvalidArgs: '&c&l(!) &cInvalid args! 尝试使用 &n/bounty remove [player]&c.'
设置:
InvalidArgs: '&c&l(!) &cInvalid args! 尝试使用 &n/bounty set [player] [amount]&c.'
Set: '&b&l(!) &3You have set &b{0}'s&3 bounty to: &a$&f{1}&3.'
Streak:
InvalidArgs: '&c&l(!) &c无效参数!尝试使用 &n/bounty streak (player)&c.'
已声明:|-
&3&l&m----->



&7
&3&l&m----->------------*-----*------------<-----
已过期: | -
&3&l&m----->------------*-----*------------<-----
{c} &b&lBOUNTY
{c}&c{0}&7 在他们的赏金
{c}&7worth &a$&f{1} 中幸存下来并收到了钱。
&7
&3&l&m----->------------*-----*------------<-----
增加: | -
&3&l&m----->------------*-----*------------<-----
{c} &b&lBOUNTY
{c}&c{0}&7 将 {c}&c{1}&7 的赏金增加到
&a$&f{2}
&7
&3&l&m----->------------* ------*------------<

MinSet: '&5&l[ &f&lBOUNTY &5&l] &c最低赏金是:&f{0}&c.'
MinToIncrease: '&5&l[ &f&lBOUNTY &5&l] &c增加赏金的最低金额
是:&f{0}&c.'
NeverPlayed: '&5&l[ &f&lBOUNTY &5&l] &c指定的玩家从未玩过这个
服务器。
NoClaimPermission: '&5&l[ &f&lBOUNTY &5&l] &c您无权领取
赏金。
NoSetExpire: '&5&l[ &f&lBOUNTY &5&l] &c您不能设置赏金,直到另一个过期
或被认领。
NoSetPermission: '&5&l[ &f&lBOUNTY &5&l] &
c你无权增加/设置其他玩家的赏金。
NotInRegion: '&5&l[ &f&lBOUNTY &5&l] &c你不在有效的地区,无法领取赏金。
设置:|-
&3&l&m----->------------*-----*------------<-----
{c} &b&lBOUNTY
{c}&c{0}&7 在
{c}&c{2} &
7
&3&l&m----->------------设置 &a$&f{1} 赏金*------*------------<-----
Timer: '&5&l[ &f&lBOUNTY &5&l] &c你必须等待赏金到期或被领取才能
增加它.'






作为我包含在此插件中的众多功能之一,API 就是其中之一。要在插件中使用 API,只需将其添加到 IDE 中的构建路径外部 jar 中,然后您需要做的就是获取播放器的 BountyPlayer 实例,下面是一个示例:






  • 禁止拒付。如果您对插件有任何疑问,请在 Spigotmc.org 上给我发消息,我会帮助您解决问题。
  • 购买此插件 1 次对整个 Minecraft 网络有效*。随意在任意数量的服务器上使用它,前提是它们在同一个 Minecraft 网络中*。请为您计划使用它的每个 Minecraft 网络*购买 1 个许可证(有关购买额外许可证的信息,请联系我)。
  • 您可以根据需要编辑代码,只要它们是私人更改,并且不会发布在其他任何地方。不会对修改后的版本提供支持。
  • 禁止分发插件或任何修改版本。
  • 您不得在任何其他插件中使用此插件中的代码。
  • 您不得将插件更改为在游戏中无法识别的位置。
您在购买时同意这些条款。单击上面的“购买”按钮表示您同意这些条款,并将遵守这些条款。
*-
在这种情况下,“Minecraft 网络”是由类似代理系统连接的 Minecraft 服务器网络定义的。您必须能够在不断开连接的情况下在网络内的任何服务器之间切换。

手机扫码浏览