PvPReward
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!
I'm using permissionsEx and the rank that isn't working contains - modifyworld.* - essentials.afk - essentials.me - essentials.suicide - bananaregion.use - pvpreward.givereward - pvpreward.getreward sorry if I linked it wrong, I rarely do this kind of stuff
@aedgar
I'm trying to get a better idea of wut you want. Would these points affect how much money you get? or is it solely to determine ranks?
@Finlet
what are you using for permissions? can I see your permissions yml file?
I seem to be having a problem where only admins give/receive karma, is there a way to change that?
I love this plugin - your doing a great job!
I was wondering if maybe the ranking system could be imrpoved in the future?
It would be a great edition if there was a system based on a points system instead of a KDR, even a simple thing where people start on 1000 points and every time they get killed in pvp they lose a point and if they kill someone they gain a point.
More advanced ranking systems could be implemented where people gain more points depending on the rank of the enemy they kill, for example if a low rank player kills a high rank player they get more points than the reverse - this would make the pvp ranking system much more competitive!
@Codisimus
Apologies for my vernacular, but you're a bloody legend!
Version 1.4.0 has all the features I needed to keep using this plugin effectively! Thanks.
@EarlyLegend
just let me know if you have any questions
Thanks for the source! Trying to learn Java, this is a great help! :D
@kianxineki
Perfect, fixed bug ;)
@Codisimus
oks!
just activate the plugin on the server, I get home in 2h / 3h when you get it reviews and responds:)
PS: I deleted the entire folder to avoid problems PvPReward ;)
@kianxineki
ok I think I found the issue, try the Dev Build
@kianxineki
version 1.3.1
NightWolfo;0;0;^@ Celiuski;0;0;^@ Daefix;0;0;^@ Anthraxxp;0;0;^@ Chulu;0;0;^@ OcraMaster;0;0;^@ maberalc;0;0;^@ Slimetastico;0;0;^@ Djroca95;0;0;^@ Sirkenji;0;0;^@ yoeckax;0;0;^@ kensin;0;0;^@ llesua09;0;0;^@ Little_Anzony;0;0;^@ MarcusFenix117;0;0;^@ DeLit0;0;0;^@ Shkat;0;0;^@ MrDanny98;0;0;^@ AdRiLoKo;0;0;^@ TheMrDekso;0;0;^@ kianxineki2;9;0;^R kianxineki;0;9;^@
@Codisimus
I deleted the plugin. "jar" and the entire folder "rm-r PvPReward" and it continues to generate the. save "broken" under review have 1.2.0 and going smoothly, I was about to 1.3.0
server info:
Linux magnanoziva.com 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 16:21:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Plugins: Permissions, Spout, CustomCrafting, TpC, UniversalLockPick, Vault, backstab, MapClone, SpongeRestore, AuthMe, DropChest, Appleseed, iConomy, WebAuction, PvPReward, Factions, MobBounty, DeathControl
version #1578
@kianxineki
wut the heck are those lol. you could change them to 0.
Hi, need help!
only solvent for delete .save
Dates type : kianxineki2;0;0; OcraMaster;0;0;P
THX FOR UPDATE!!
Nice plugin :D
PD: principal plugin in http://magnanoziva.com
@nxsBekz @MultiBana
It wasn't very asap but updated to 1.0.0 and it now supports Bukkit Permissions
@alexander_gq
they lose money, but whenever I try to do something with inventories quite a few errors occur. perhaps when I get more time
@Moe041991
None of my plugins are abandoned, I am working on updating them for 1.0.0 but it is slow going due to end of semester assignments and a recent death in my family. My last class is on Thursday so I should be able to release updates next weekend. Technically I have already updated everything, I am now just testing them. if people want to help test plugins for me just post the found errors as tickets but please create backups first. I haven't had any data loss/corruption issues yet but who knows.
I will also try to get to everyone else who posted comments/questions next weekend (though I think most of them are already fixed/addressed in these new updates.
Thank you for your patience.
PS I will also be creating a new Plugin that I'm pretty excited about. follow me on Twitter if you want to hear more information about it in the near future.
is this plugin abandonded?