Bounty
Bounty
Short Summary
This plugin allows players on your server to place bounties on other players and complete existing bounties by killing their targets. After performing a targeted kill, the assassin will be compensated with an in-game money reward, and any player who set a bounty on the killed player will receive a copy of this dead player's head. Bounty is meant to be a fun way to add incentive for combat on PvP servers.
Video
Dependencies
Bounty requires Vault for economy integration and permission management.
Commands
The following commands allow players to create, check, and delete bounties:
- /bounty [-ao] <player> <$$$> Allows you to take out a bounty on another player (using -a makes the bounty anonymous, and using -o sets a bounty on the player even if they have never appeared on the server)
- /bounties Shows all bounties
- /bountyon <player> Shows the total bounty on a player
- /unbounty <player> Cancels the bounty on a player and refunds part of the reward
Permissions
Bounty relies on Vault for Permissions and will thus detect many different Permissions systems. This feature was added in version 3.0 and will not work in any version below that. The following nodes are recognized by the plugin in:
- bounty.set Gives access to the /bounty command
- bounty.view Gives access to the /bounties and /bountyon commands
- bounty.cancel Gives access to the /unbounty command
Customization Options
Admins can customize Bounty in the config.yml file by editing the following values:
- minBounty The smallest amount of cash which a player can use to create a Bounty
- cancelPenalty The percentage of money which is lost when a player cancels a bounty
- markSkulls If true, reward skulls will be watermarked with "(BOUNTIED)"
- globalBroadcast If true, global broadcasts will be made when a bounty is created or completed
- anonymousName The name to display for the creator of a bounty which has been marked as anonymous
- enableInAllWorlds If true, assassins will receive a bounty for a kill in any world
- enabledWorlds The list of worlds in which bounties are turned on (does nothing of enableInAllWorlds is set to true)
- colors A list of the colors which are used by the plugin
- awardHeadChance The probability that a skull will be given to anyone who sets a bounty (1 means always, 0 means never, and anything in between gives a percent chance)
To manually create a bounty, admins can add entries to the list which exists at the bottom of the config.yml file.
Common Issues
If edits to the config appear to be getting overridden for some reason, stop the server completely, make your edits, and then restart the server. However, this issue shouldn't be happening on newer versions of the plugin.
Language Customization
All text used by the plugin is available to be edited in the languageConfig.yml file. Change or translate it to your heart's content.
What to Do if You Love Bounty!
Please like our Bounty video or subscribe to our YouTube channel! We also appreciate any comments and feedback that we get.
Source for Developers
You can find the source here on GitHub. I appreciate any improvements that you might suggest.
Official Bounty Servers
- SSS (IP: 96.239.55.122)
- Wars of Minecraft (IP: Play.WarsOfMinecraft.com)
- Darkcraft (IP: 37.120.160.242:25565)
@Dr0lf
Oh, that's a problem with a half-implemented scoreboard system that I put in. I'll release a quick update that disables it soon :P
As far as the reload command, do you mean something which will read new values from the config? I can definitely add that, but I'm going to wait to see what happens with Bukkit before I add any new features since I might have to re-write the whole plugin anyway.
@waco2
Oh ok, sorry for the second part, I had not seen the 3-5 update ^^
Thank you for your reply :)
Edit : For the next update, can you add a /bounty reload command ? ^^
And I have a strange bug on my server, the players' lives are seen above their heads but sometimes "X showbounty" appears instead, how can I disable this ?
@Dr0lf
The next update which I released should address the issues you mentioned. You can choose how long the /bounties list is with an option in the config.yml. It hasn't been officially approved (maybe because of the problems going on with Bukkit right now) but you can download it at the link in the post below.
Very good plugin but I have a big problem. When I reload or restart my server, the first bounty placed on each player reappears and when they are killed, the murderer win the bounty, so it duplicates the money...
And I don't know if it's normal but with /bounties, we can't see more than 5 bounties. It would be better to see all bounties, or the five highest.
Sorry for my bad english. And thank you for this really cool plugin.
New development build released and pending approval: http://dev.bukkit.org/bukkit-plugins/bounty-snorri/files/10-bounty-3-5/
@HastyShadow
I think the problem which you guys found is fixed in the newest version that I just uploaded which will be approved in a few days probably. If not, I know for a fact that the bug won't happen in any version of Bukkit newer than 1.7.9R2.0, so you can just update your craftbukkit.jar.
@waco2
I have the same problem! Any idea when this can be fixed? I need it ASAP!
@liltyskie
I'll take a look at what might be causing this as soon as possible. Has anyone else experienced similar issues?
I'm getting an internal error when using the newest version.
I didn't see a place to report bugs so I'm doing it here.
It's kind of weird, the first command after a restart or reload works, but the second one doesn't.
For example if I put a bounty on one person, and after that I can't use any other command from this plugin.
This is what happens in the console: http://pastebin.com/wPxqj1W5
and in-game: An internal error occured while attempting to perform this command.
@waco2 We tested the latest version, and it looks like it works perfectly!
Sorry about my previous reports regarding double rewards! I forgot that we have a plugin called HeadDrops that gives a skull when you kill a player. So when a bounty hunter previously received two heads, they actually got one head from Bounty and one from HeadDrops. Whoops... But now the only one who receives a skull from Bounty is the bounty setter, so that's good.
A new development build can be downloaded here: http://dev.bukkit.org/bukkit-plugins/bounty-snorri/files/9-bounty-3-4/
This update should address many of the issues which people experienced with the skull rewards. Thanks to everyone for their great feedback so far, and please keep reporting any issues you have with skull rewards or anything else. It would be great if you can include a detailed description of the specific scenario of the bug (person who set the bounty online/not online, what text was displayed in the console, etc.) so that I can more easily recreate the issue you are experiencing.
@MisterVade
Thanks for your feedback! Glad you like the plugin.
I haven't heard from anyone else that the config.yml file has been rewriting itself. When I test changing the minBounty parameter everything seems to work fine for me. The one thing I can think of is that you edited the config.yml file while the plugin was open. Depending on what version of the plugin you have, it might overwrite your changes when you turn the server off, so try making the same changes while the server isn't running.
I have been getting reports that glitches out/rewards double from many other users. I am currently unable to work on the plugin, but as soon as I get back to normal development I'll take a look and see what is causing the issues.
As far as a list of top bounties, that is definitely a planned feature, but I want to finish addressing a couple bugs in the UUID-beta version of the plugin before I start adding anything new. For now, you can check some of the top bounties with the /bounties command [I'll probably also add another parameter which controls the length of the /bounties list].
I am sorry for all of the reports (on unapproved files no less), but this one is huge... and simple. I'm surprised I overlooked it. If you have a bounty on your own head, then kill yourself with a bow and arrow, you get the rewards. This, unfortunately, undermines the whole plugin, since you can get rid of the bounties on your head, keep your own head, and make money off of them. Tested with 3.3 Also, both heads still go to the bounty hunter, the setter never gets one.
I hope the updates don't put off Bukkit's approval of your latest file. It would be great if you could provide a link to your dev builds, since I don't think most people know how to download unapproved Bukkit files.
I'm sorry, though; I know it takes a lot of time and energy to make a plugin, and it is looking good so far.
I'm having an issue with the min bounty, I want to change it to $50,000 but the config seems to rewrite itself back to $50..
Also I'm not sure about the Skull reward. What i mean: The bounty hunter kills the "bounty" gets a head. But i thought both would get a skull. So the bounty hunter gets a skull and the person who placed/paid for the bounty would get one too?
Great mod tho, beats some of the others - its nice and clean. Some players thought a top bounties list would be cool..... a more glamorous version that can be used on a side bar?
Regards
Awesome! I tested 3.2, and it looks like it works! I tested twice it on a player who logged out and returned, and the bounty rewarded money and completed as it should. So we can use it now!
I only have a couple small complaints. Both heads go to the bounty hunter. And when we tested with a bow, the hunter only received one head. The person who sets the bounty never receives a copy.
@waco2
Yes, the transition to UUIDs has been tough. I hope you can figure it out!
@ApparitionX
Thanks for the detailed feedback. Updating the plugin to the new UUID system has been more annoying than I initially expected, although I believe I know what might be causing the issue you are describing. I'll see if I can find a way around it tonight.
Thank you for your replies and hard work! I changed the 2.7 link and downloaded version 3.1 early again, but after some testing, I'm afraid I'm still having issues.
The plugin appears to work at first. If you put a bounty on someone, then someone kills them, they get rewarded. The problem starts as soon as the bountied player leaves the server. When they return, if you try to kill that bountied player, you don't get rewarded at all, and the bounty remains in the list. It's as if the plugin forgot what the player looks like. What's more is that any new bounties made on the player are treated separately, and will work until the player leaves. So all old bounties are essentially dead.
It does look like the issue with /bounties and /bountyon saying different things was fixed, at least.
I just uploaded a new version of the plugin (3.1) which addresses some of the issues that users experienced with the 2.8 build. Hopefully it gets approved soon so the plugin is UUID-compatible!
@ApparitionX
Those are some very weird errors. I have been having some hardware issues on my development computer, and while I was able to recover the most recent source code for Bounty, I haven't been able to do much development. Let me take a look at the source and see what might be causing the problems you found. When I tested v2.8, everything appeared to be working fine.