Inactive [MISC] HeroBounty v1.9.0 - Bounty Board / Hit List [953]

Discussion in 'Inactive/Unsupported Plugins' started by DThielke, Feb 4, 2011.

  1. Offline


    HeroBounty Bounty Board / Hitlist Plugin (v 1.9.0)
    Download HeroBounty
    Source Code on GitHub This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

    Show your thanks! Maintaining plugins like this one is very nearly a full time job. If you enjoy my plugins and appreciate the support I provide, then please consider providing some support of your own. Donating even a tiny amount keeps me motivated and makes me feel loved so go ahead and donate!

    HeroBounty adds a whole new dimension to Minecraft PvP. For anyone who has ever been killed by another player and wanted them to pay, but just didn't want to spend the time hunting them down, here is your answer! HeroBounty adds a public hit list to your server, allowing players to anonymously post hits against their enemies for a reward paid out of their pocket. Other players can take on the role of bounty hunter, competing to fulfill bounties and earn the reward.

    HeroBounty is a plugin originally developed for the HeroCraft server and is now officially being released to the public.


    • Anonymously issue hits against your enemies!
    • Become a bounty hunter and kill for pay!
    • Economy support! Earn in-game money for completing hits! Supports any economy that Register supports.
    • And more!

    The available commands are summarized in the screenshot below. Any parameters in <angled brackets> are required. Any <id#> parameters require the position of the item in the relevant bounty list.


    1. Creating a bounty
    The /bounty new command posts a new bounty against the player and for the amount provided. A percentage based cut is taken out of the supplied amount; the remaining money is posted as the reward for the hit.


    2. Viewing available bounties
    The /bounty list command lists all available bounties and their associated rewards. Bounties are sorted from highest to lowest reward. This list keeps both the bounty issuer and the target anonymous. You will not discover the target of the bounty until you accept it.


    3. Accepting a bounty
    To accept a bounty, use the /bounty accept command and give it the id# of the bounty you'd like. Accepting a bounty incurs a small fee - usually 5% of the award value. Once accepted, you will be given the target's name and the duration of your issued bounty will start to count down. If you fail to kill the target in the given duration, the bounty will be retracted and you will have to purchase it again to continue.


    4. Finding a target
    To help in finding targets, use the /bounty locate command. This command displays a list of your targets and their approximate. Target locations are rounded to the nearest 100 blocks by default, but this value can be changed in the configuration. These locations are only meant to give you a rough idea of where your target is. It is up to you as the bounty hunter to actually track down the player and complete the hit.


    5. Completing a bounty
    If you manage to kill a player for whom you have purchased a bounty for, you will be given the reward associated with the hit. The server will be publicly alerted of your success. The target (now dead) will receive a small monetary penalty - usually 5% of the award value.


    1. Download the latest version of the plugin from the link at the top of this page.
    2. Extract the contents of the archive to your /plugins folder.
    3. Open /plugins/HeroBounty/config.yml and configure to your liking.
    4. Save the modified file and start your server.

    All of the settings related to HeroBounty are stored in your /plugins/HeroBounty/data.yml file in YAML format. If you are unfamiliar with YAML, simply follow the pattern found in the config.yml file in the archive you downloaded. The comments in this default file, prefaced with a #, describe what each of the configuration options do.

    If found, HeroBounty will make use of TheYeti's Permissions plugin. The three available permission nodes are described below:
    • - allows use of /bounty new
    • herobounty.accept - allows use of /bounty accept
    • herobounty.locate - allows use of /bounty locate
    • herobounty.list - allows use of /bounty list
    • herobounty.untargettable - makes a player unable to be targetted by bounties
    A Message to Users

    Thanks for all your support! I will do my best to keep this plugin updated and bug free. If you have any issues or feature requests, feel free to either leave a message here or find me on IRC.

    Thanks to Nijikokun for help with making the plugin display nicely formatted messages!

    Extra special thanks to my donors: wildshoetwt

    Change Log:
    Version 1.9.0
    • Added Register support. Removed the negative balances option.
    Version 1.8.0

    Version 1.7.7

    • Added additional NPE checks in Economy
    • Added the herobounty.list permission to regulate use of /bounty list
    Version 1.7.6

    • Updated for CB 612
    Version 1.7.4

    • Commands now load even if iConomy isn't found (woops)
    Version 1.7.3

    • Fixed a silly mistake regarding parameterized messages
    Version 1.7.2

    • Finished majority of internal rewrite
    • Made iConomy optional (although it might be buggy without it - please test!)
    Version 1.7.1

    • Added the bounty.locate permission
    Version 1.7.0

    • Added Permissions support, including the, herobounty.accept and herobounty.untargettable nodes
    Version 1.6.0

    • Added compass-based locations with /bounty locate <id#>
    • Revamped help menu
    • Added command specific help. Type /<command> ? to use it (ie. /bounty new ?)
    Version 1.5.0

    • Updated to work with iConomy 4.3
    Version 1.46

    • Removed a debug message I accidentally left in - no more console spam
    Version 1.45

    • Fixed bounty kills not registering.
    Version 1.44

    • Revamped the /bounty locate command
    • Added new configuration option to adjust location rounding
    Version 1.41

    • Updated to meet new Bukkit standards
    • Fixed long constructor spam
    • Now using new damage events
    Version 1.40

    • Added the option to allow a target's balance to go negative if they cannot afford the death penalty
    Version 1.30

    • Added the option to pay hunters an inconvenience fee for cancelled bounties
    Version 1.20

    • Introduced the /bounty locate command
    • Added new configuration options regarding location updating
    Version 1.10

    • Bug fix: players can no longer accept bounties on themselves
    • Redone message displays
    • Death penalty is now configurable
    • Plugin message prefix is now configurable
    • Server admins can now decide whether they want target names to show on the bounty list
    • Supports plugins that modify names such as iChat
    Version 1.01

    • A global message is now sent when a new bounty has been placed.
    Version 1.00

    • Initial public release!
    Zino, Dimochka, paste120 and 6 others like this.
  2. Offline


    I had the same problem with my plugin :p.

    public void onEntityDamage (EntityDamageEvent mainEvent) {
        if (mainEvent instanceof EntityDamageByEntityEvent) {
            EntityDamageByEntityEvent event = (EntityDamageByEntityEvent)mainEvent;
            //Put Code here
    If you haven't figured it out yet :p.

    I am sending you a PM about what I think is important on plugin-communication.
  3. Offline


    /bounty brings up the help menu. Any other command brings up "An internal error occured while attempting to perform this commnad"

    I see you guys are working on, just thought I'd say what i found.

  4. Offline


    Updated for CB 423.

    Change Log:
    Version 1.41
    • Updated to meet new Bukkit standards
    • Fixed long constructor spam
    • Now using new damage events
    --- merged: Feb 23, 2011 4:50 AM ---
    Note that as of this latest version, the /bounty locate command has been modified. It now provides real-time locations, but the locations are rounded to the nearest 25 blocks. I'm about to add in a configuration option to specify how much the locations are rounded. It should be posted in a few minutes.
    --- merged: Feb 23, 2011 5:01 AM ---
    Another update posted as promised. There is now an adjusted configuration file available in the archive in the original post. It provides a the location-rounding configuration option and removes the old location options.

    I have updated the original post's description of the locate command accordingly:
    To help in finding targets, use the /bounty locate command. This command displays a list of your targets and their approximate. Target locations are rounded to the nearest 100 blocks by default, but this value can be changed in the configuration. These locations are only meant to give you a rough idea of where your target is. It is up to you as the bounty hunter to actually track down the player and complete the hit.

    As always, please let me know of any issues you encounter. Provide your config.yml and CB revision number for more helpful responses!

    Change Log:
    Version 1.44
    • Revamped the /bounty locate command
    • Added new configuration option to adjust location rounding
  5. Offline


    I know it's been suggested, but any chance of an update to make the bounty automatic? So it basically just adds value to someones death rather then create a contract.
  6. Offline


    i have an idea, maybe make signs that have bounties, one sign has a contract someone can right click to accept, and to make it someone places it, that way you could make a bounty hunter hall and have alittle rpg?
  7. Offline


    plugin is awsome but when someone kills another player for a bounty, noone gets any money and the bounty is still there
  8. Offline


    Did the player accept the bounty? Bounties are only awarded if they are accepted first. We don't want people to randomly get bounty rewards, but rather have them purposely play the role of bounty hunter.
  9. Offline


    Same problem here even thought the bounty was accepter, all work only not killing and earning

    CB 440
  10. Offline


    Looking into it.

    Fixed and updated. Sorry about that.

    Change Log:
    Version 1.45
    • Fixed bounty kills not registering.

    Quick update because I accidentally left something in that shouldn't be there. If you're experiencing console spam, update to 1.46.

    Change Log:
    Version 1.46
    • Removed a debug message I accidentally left in - no more console spam

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 8, 2016
  11. Offline


    Can you add MySQL support ? So I will be able to use bounty on my multiservers :)
  12. Offline


    when i try to make a bounty i get internal error message
    MuffinCancer likes this.
  13. Offline


    This would be great, if it also worked for EssentialEco... Just saying :]
  14. Offline


    Any chance you could make this plugin work with iConomy4?
  15. Offline


     [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bounty' in plugin HeroBounty v1.46
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.NetServerHandler.c(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NoClassDefFoundError: com/nijikokun/bukkit/iConomy/iConomy
            at com.herocraftonline.dthielke.herobounty.HeroBountyPlugin.performListBounties(
            at com.herocraftonline.dthielke.herobounty.HeroBountyPlugin.onCommand(
            at org.bukkit.command.PluginCommand.execute(
            ... 12 more
    Icon 4.2
    CB 440
    1.46 BB
    This error.. please fix :)
  16. Offline


    I have the same issue,
    A fix for this epic mod would be greatly appreciated!
  17. Offline


    Updated to work with the new iConomy. I apologize for how long this update took. It really shouldn't have, but I've been dedicating a lot of time to HeroChat recently.

    Change Log:
    Version 1.5.0
    • Updated to work with iConomy 4.3
  18. Offline


  19. Offline


    Testing against the newest builds in a few moments...
  20. Offline


  21. Offline


    ty ♥
  22. Offline


    Just an FYI - I was away for the weekend but I'm now back in full capacity.
  23. Offline


    will this still work on 440 ?
  24. Offline


    My guess is yes, but there's only one way to find out. I'm only actively supporting the recommended builds.
  25. Offline


    This sounds great. But I only have one question. Can you accept to kill a target that isn't online? Cause it's normal that people sometimes don't login for 24 hours and then you've just wasted your money,
  26. Offline


    Any plans to include a messages config file? I'd love to be able to change the colors around and such :)
  27. Offline


    I plan on devoting a large chunk of time this week to doing some major internal cleanup of this plugin. Once that's done, then I can work on implementing your suggestion.
  28. Offline


    i am running Stats and Achievements, and deathBan, and HeroBounty. Unfortunately, DeathBan seems to render the kills/deaths associated with players unlogged. I mentioned this to nidefawl, developer of Stats and Achievements ( and he said he could fix this. I'm not sure if that's something on the S&A end, or DeathBan. I just thought I'd mention I'm having this issue in case you know of a way to also get your plugin to work. If nidefawl fixes deathBan, I assume that will allow for the registering of a player death to multiple plugins (including yours). However if he is fixing S&A perhaps his work will allow your plugin to also listen in on player deaths. (which is strange since HeroicDeath works).
    Using GhostBuster plugin, the spiritual (hehe pun intended) successor to the deathBan plugin, the events ARE passed to HeroBounty. Yay! Unfortunately, stats and achievements is not passed the death information. I assume that has nothing to do with HeroBounty, but could be wrong.
  29. Offline


    Happy to hear. HeroBounty doesn't do anything to prevent other plugins from monitoring deaths, so I also don't expect it would affect S&A.
  30. Offline


    any way to use this without economy?
  31. Offline


    /bounty locate is good, but /bounty compass would be bettter, again it should just point to their general location, not directly at the person in fact given the ease of using hte compass, it should be a more broad location than /locate

    obv just leave it to other plugins to have compass reorientation commands..

    id be willing to pay 10 dollars for a solid implementation of this

Share This Page