版本 1.9.0
注意:此插件要求你的服务器已启用 Vault 。
该插件增强了 PvP 体验。除了可能掉落的物品外,玩家击杀其他玩家时还会窃取其金钱。窃取金额可配置。
当玩家死亡时,也可以从其身上扣除金钱。
功能:
- 得益于 Vault,支持所有主流的经济和权限插件
- 你可以通过编辑 plugin.yml(位于插件 jar 包内)来更改此插件使用的命令
- 多世界支持(可在特定世界中禁用奖励和/或死亡惩罚)
- 可配置属性
- 自定义消息
- KDR 排行榜
- 多种确定损失/被窃金钱数量的方法(百分比、固定数值等...)
- 如果玩家击杀过多其他玩家,将其添加到特定的权限组
- 可选使用墓碑来持有物品,而不是让玩家直接掉落物品(Beta 功能)
- 可配置的战斗时间
- 可选在战斗中登出或传送时的惩罚措施
- 当玩家战斗登出时进行广播
权限节点:
- pvpreward.getreward = 用于从其他玩家处窃取金钱
- pvpreward.givereward = 用于允许自己的金钱被他人窃取
- pvpreward.ignoredeathtoll = 死亡时不支付死亡税
- pvpreward.reset = 用于重置任何玩家的击杀数/死亡数/业力值
命令:
用户命令:
() 表示必填字段。
如果未指定 Player,则默认使用命令发送者。
- /pvp outlaws - 列出当前的通缉犯
- /pvp karma (Player) - 列出指定玩家的业力等级
- /pvp kdr (Player) - 列出指定玩家的击杀/死亡比 (KDR)
- /pvp rank (Player) - 列出指定玩家的 KDR 排名
- /pvp top (Amount) - 列出排名前几的 KDR
管理员命令:
[] 表示必填字段。
- /pvp reset - 列出管理员重置命令
- /pvp reset kdr - 将你的击杀数和死亡数重置为 0
- /pvp reset kdr [Player] - 将指定玩家的击杀数和死亡数重置为 0
- /pvp reset kdr all- 将所有人的击杀数和死亡数重置为 0
- /pvp reset karma - 将你的业力等级重置为 0
- /pvp reset karma [Player] - 将指定玩家的业力等级重置为 0
- /pvp reset karma all- 将所有人的业力等级重置为 0
业力说明:
大多数设置均可配置
图片与文字说明由 riuthamus 提供
场景 01:
Bob 和 Jacob 都未做任何事,所有统计数据均为初始状态:
- 业力点数:0
- 掉落百分比:10%
- 账户中有 500 枚金币
场景 02: Bob 攻击并杀死了 Jacob,这将导致以下结果:
- Bob 将获得 2 点业力
- Jacob 将失去 1 点业力(如果他的业力为 0,则保持为 0)
- 如果 Bob 的业力低于 50,他获得金币掉落的几率将增加 2%(作为修正值)
- 如果从 Jacob(被击杀者)处掉落金币的几率判定成功,将从 Jacob 的银行账户中扣除一个随机数值(默认为 0%-5% 范围)
场景 03: Bob 变坏了,杀了很多人,现在拥有 48 点业力。他再次杀死 Jacob,发生以下情况。
- Bob 将获得 2 点业力,使其超过 50 点业力,从而成为通缉犯
- Jacob 将失去 1 点业力(不能低于 0)
- 由于 Bob 被视为(通缉犯),他获得金币掉落的几率将增加到 100%,并且仍然获得 +2 业力
- 如果从 Jacob(被击杀者)处掉落金币的几率判定成功,将从 Jacob 的银行账户中扣除一个随机数值(默认为 0%-5% 范围)
场景 04: 当 Bob 拥有 52 点业力后,Jacob 杀死了 Bob,发生以下情况:
- Bob 将失去 1 点业力,降至 51 点
- Bob 仍然是通缉犯,因此他获得金币/货币掉落的几率为 100%
- Jacob 不会获得业力点数,因为他杀死了一名通缉犯
如果修正值设置为 20,每当通缉犯杀死非通缉犯时,他将获得比原本奖励多 20% 的金币(前提是他首先成功获得了掉落)。同样地,如果修正值设置为 150,他将获得多 150% 的金币。
现在,进入更深入且复杂的模式:修改器会在达到特定的业力阈值后增加。例如:你在配置文件中设置了如下选项:karmaThreshold: 10, outlawModifier: 2, modifierMax: 50
在此设置下,每超过 50 点业力(即 60、70、80 等),就会使亡命之徒获得所有被盗掉落物 2% 的额外加成。当额外被盗掉落物达到 50% 时,它将停止增加(基于 modifierMax 变量)。这看起来可能比较复杂,未必适合所有人,但在我看来效果会很酷。
(请注意,这里指的是被盗金币的数量,而非它们的掉落率!)
教程:
设置(配置设置):
RewardType(奖励类型)可以是以下任意一种:
- Karma(业力)
- FlatRate(固定比率)
- Range(范围)
- Percent(百分比)
- PercentRange(百分比范围)
- PercentKDR(基于 KDR 的百分比)
所有其他设置都取决于所设置的奖励类型。
Karma(业力):
此类型拥有最多的功能,其详细说明位于本页底部,具体设置如下:
- Percent - 计算是否会产生掉落的基础百分比
- Amount - 被视为“亡命之徒”所需的业力量
- High - 可从被击杀玩家账户中扣除的最大百分比
- Low - 可从被击杀玩家账户中扣除的最小百分比
- OutlawModifier - 亡命之徒会额外盗窃 x%
- KarmaThreshold - 每经过 x 次击杀,增加 OutlawModifier
- ModifierMax - OutlawModifier 不会超过 x
FlatRate(固定比率):
杀手总是会从受害者处窃取特定数量的金钱,具体设置如下:
- Amount - 每次谋杀时将偷走的金额
- 所有其他设置均无效
Range(范围):
杀手将从目标账户中窃取一个给定范围内的金额,具体设置如下:
- High - 可从被击杀玩家账户中扣除的最大金额
- Low - 可从被击杀玩家账户中扣除的最小金额
- 所有其他设置均无效
Percent(百分比):
杀手将窃取被击杀玩家总余额的一定百分比,具体设置如下:
- Percent - 从被击杀玩家账户中扣除的金额百分比
- 所有其他设置均无效
PercentRange(百分比范围):
杀手将从给定范围内窃取一定百分比的金钱,具体设置如下:
- High - 可从被击杀玩家账户中扣除的最大百分比
- Low - 可从被击杀玩家账户中扣除的最小百分比
- 所有其他设置均无效
PercentKDR(基于 KDR 的百分比):
杀手将根据两名玩家的 KDR(击杀死亡比)窃取一定百分比的金钱。来自 KDR 较高的玩家会给予你更高的百分比(公式为 killedKDR/killerKDR)。该百分比取自被击杀玩家的总余额。此类型不使用任何设置。
视频:
即将推出!
使用自定义命令替代 /pvp
链接
Version 1.9.0
NOTE: This plugin requires you have Vault enabled on your server
This plugin adds to PvP, in addition to any items that may be dropped, players also steal money from the players they kill. The amount stolen is configurable.
Money can also be taken from a Player when they die.
Features:
- Supports all major Economies and Permission Plugins thanks to Vault
- You can change what command this plugin uses by editing the plugin.yml (found inside the plugin jar file)
- MultiWorld support (Disable rewards and/or death tolls in specific Worlds)
- Configurable properties
- Custom messages
- KDR Leaderboard
- Several methods of determining amount of money lost/stolen (percent, flat rate, etc...)
- Add Players to a specific Permission Group if they kill too many other Players
- Option of having tombstones to hold items instead of players dropping items (Beta feature)
- Configurable combat time
- Optional penalties for logging or teleporting while in combat
- Broadcast when a Player Combat Logs
Permission Nodes:
- pvpreward.getreward = Needed to steal money from another Player
- pvpreward.givereward = Needed to have money stolen from you
- pvpreward.ignoredeathtoll = Do not pay Death Toll when you die
- pvpreward.reset = Needed to reset any Player's Kills/Deaths/Karma
Commands:
User Commands:
() indicates a required field.
If Player is not specified, then the command sender is used
- /pvp outlaws - Lists current Outlaws
- /pvp karma (Player) - Lists the Karma level of the specified Player
- /pvp kdr (Player) - Lists the Kill/Death ratio of the specified Player
- /pvp rank (Player) - Lists the KDR rank of the specified Player
- /pvp top (Amount) - Lists the top ranked KDRs
Admin Commands:
[] indicates a required field.
- /pvp reset - Lists the Admin reset commands
- /pvp reset kdr - Sets your kills and deaths to 0
- /pvp reset kdr [Player] - Sets the specified Player's kills and deaths to 0
- /pvp reset kdr all- Sets everyone's kills and deaths to 0
- /pvp reset karma - Sets your Karma Level to 0
- /pvp reset karma [Player] - Sets the specified Player's Karma Level to 0
- /pvp reset karma all- Sets everyone's Karma Level to 0
Karma Description:
Most of these setting are configurable
Picture + Written Description by riuthamus
Scene01:
Bob and Jacob have done nothing, all stats are base:
- KARMA POINTS: 0
- DROP PERCENT: 10%
- 500 COINS IN ACCOUNT
Scene02: Bob attacks and kills Jacbob, this will do the following things:
- Bob will gain 2 karma points
- Jacob will lose 1 karma point ( if he is at 0, it will stay at 0 )
- Bob's chance for drop of gold will be increased by a 2% modifier if his karma is less than 50
- If the chance for drop of coins from Jacob ( the killed ) is a success, a random value ( default range of 0%-5% ) will be taken from Jacob's bank account
Scene03: Bob has been bad, and has killed lots of people and now has 48 karma. He kills Jacob again, the following things occur.
- Bob will gain 2 karma points putting him over the 50 karma making him an outlaw
- Jacob will lose 1 karma point ( cannot go below 0 )
- Bob's chance for drop of gold will be increased to 100% since he is considered an ( outlaw ) and still gains +2 karma
- If the chance for drop of coins from Jacob ( the killed ) is a success, a random value (default range of 0%-5% ) will be taken from Jacob's bank account
Scene04: Jacob kills bob after bob has 52 karma, the following occurs:
- Bob will lose 1 point of karma taking him down to 51
- Bob is still an outlaw so he has 100% chance of drop of gold/coins
- Jacob WILL NOT earn karma points because he killed an outlaw
If the modifier is set to 20, whenever an outlaw kills a non-outlaw, he gets 20% more coin on top of the rewards he already would have gotten (if he successfully gets the drops in the first place). Likewise, if the modifier was set to 150, he'd get 150% more coin.
Now, more in-depth and complex mode: The modifier increases after certain karma thresholds. For example: You have set your options in the config file as follow: karmaThreshold: 10, outlawModifier: 2, modifierMax: 50
With this, every 10 karma after 50 (60, 70, 80, etc.) will grant the outlaw a 2% bonus to all drops stolen. After it reaches 50% extra drops stolen, it stops increasing (as based on the modifierMax variable). It seems complex, and it's probably not for everyone, but it'd be cool in my opinion.
(All of that is amount of coin stolen, not the rate at which they drop them, to make it clear!)
Tutorials:
Setup (Config settings):
RewardType may be any of the following:
- Karma
- FlatRate
- Range
- Percent
- PercentRange
- PercentKDR
All other settings depend on what the reward type is set to.
Karma:
This type has the most features, It is explained at the bottom of this page, the settings are as follows:
- Percent - The base percentage for calculating whether there will be a drop
- Amount - The amount of Karma needed to be considered an Outlaw
- High - The maximum percentage that could be taken from a killed players account
- Low - The minimum percentage that could be taken from a killed players account
- OutlawModifier - Outlaws steal an additional x%
- KarmaThreshold - Increase OutlawModifier every x kills
- ModifierMax - OutlawModifier will not go beyond x
FlatRate:
The Killer will always steal a specific amount from the killed, the settings are as follows:
- Amount - The amount of money that will be stolen upon each murder
- All other settings don't matter
Range:
The Killer will steal an amount of money within a given range, the settings are as follows:
- High - The maximum amount that could be taken from a killed players account
- Low - The minimum amount that could be taken from a killed players account
- All other settings don't matter
Percent:
The Killer will steal a certain percent of the killed players total balance, the settings are as follows:
- Percent - The percent of money that will be taken from a killed player account
- All other settings don't matter
PercentRange:
The Killer will steal a percent of money within a given range, the settings are as follows:
- High - The maximum percent that could be taken from a killed players account
- Low - The minimum percent that could be taken from a killed players account
- All other settings don't matter
PercentKDR:
The Killer will steal an percent of money based on the two players KDRs. You receive a higher percent from players with a higher KDR (formula is killedKDR/killerKDR). This percent is taken from the killed players total balance. No settings are used.
Video:
Coming soon!
Use Custom Command Instead of /pvp
Links
下载 PvPReward
下载 PvPReward
下载 PvPReward
下载 PvPReward
下载 PvPReward
下载 PvPReward
下载 PvPReward
下载 PvPReward
下载 PvPReward
下载 PvPReward
- 添加了增强的战斗日志惩罚
- 各种修复
- 我没有发现重置问题,但错误仍可能会出现
- 坟墓功能是测试版
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
更快速的直线轨道矿车、链式连接列车、熔炉机车,以及原版红石信号!
插件
城镇现在可以要求建造具有特定功能的建筑
插件
具有队列可见性、运行预览、持久化玩家档案、首领战、战利品以及每周排行榜进度的程序化生成派对地下城。
评论 0
登录后参与评分
还没有评论,来抢沙发吧