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


    Could you also put download links for the older HeroBounty versions? I would like to get the one that works with build 556. I found the source at GitHub, but I have no idea how to make a .jar out of it (Yes, I'm noob).

    Thanks in advance! :)
  3. Offline



    I was looking to get into Bukkit coding and wanted to set up a bulletin board system for my server so people could post jobs of any sort for a price(such as gathering 1,000 wool for them, or helping build their pyramid). Your plugin looked like a good start to base it off of.

    1.) Does your license allow me to modify the code and use it on my own server?
    2.) If I write a plugin that is sufficiently different/general enough that I'd like to distribute it, could I? I'd mention that it was based off of your plugin but that my version wasn't written by you.

    Thank you,
    -- Michael Burge
  4. Offline


    I don't mind you modifying it for your own server's use. However, if you're going to distribute your modifications then I'd like to see them first, as this is specifically what the license disallows.
  5. Offline


    Hey, just downloaded this morning. It seems whenever anyone tries to place a new bounty it says "Internal error" in chat..Know any solution to this??
  6. Offline


    Post the full error from the console.
  7. Offline


    i get the same internal error

    Show Spoiler
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bounty' in plugin HeroBounty v1.7.6
    	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(
    	at net.minecraft.server.NetServerHandler.a(
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
    	at com.herocraftonline.dthielke.herobounty.util.Economy.hasAmount(
    	at com.herocraftonline.dthielke.herobounty.command.commands.NewCommand.execute(
    	at com.herocraftonline.dthielke.herobounty.command.CommandManager.dispatch(
    	at com.herocraftonline.dthielke.herobounty.HeroBounty.onCommand(
    	at org.bukkit.command.PluginCommand.execute(
    	... 12 more
  8. Offline


    Is there a way for us to take away the use of /bounty list? We're a roleplay community , and having an actual, physical bounty board is something we would love to do ourselves, and just use the bounty plugin to automate the payoffs.

    We want to create a bounty house for bounty hunters, but there's no need if you can just /bounty list
  9. Offline


    Getting issues with this plugin and the 'bounty.accept' permission - no one except admins seems to have permission, and yes I've verified the permission nodes several times, even added them individually to groups. Any thoughts? CB 617

    Nevermind, I'm an idiot with a typo.

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


    Added a permission for this command.

    Try the latest version.

    Minor update.

    Change Log:
    Version 1.7.7
    • Added additional NPE checks in Economy
    • Added the herobounty.list permission to regulate use of /bounty list
    Bashur and Gauntlet like this.
  11. Offline


    Working great now thanks for an awesome plugin
    DThielke likes this.
  12. Offline


    so i like this. it would be perfect for my server, but unfortunatly, i use boseconomy. is there a way you could support that?
  13. Offline


    This is what I came here to say too. It'd be great if you supported BOSEconomy.
    darthsiddious likes this.
  14. Offline


    Mod is working really fine. I ve got a little idea for a new Feature:

    Players could pay the bounty on their heads themselve to a configurable account, to get off the list.
  15. Offline


    im unable to set bountys it says and internal error has accured
  16. Offline


    Tested and works on 670.

    Next up for implementing - a "reason" for the bounties.

    /bounty new Kainzo "For being really AWESOME" (max char limit) so /bounty list - will show up nice and neat. - Also you would be able to accept bounties based on the reason "for PK'ing" "For theft"
  17. Offline


    Im getting "A internal error occured when trying to perform this command" help
  18. Offline


  19. Offline


  20. Offline


    Post approximately 20 lines surrounding the line you posted.
  21. Offline


    Ok do you know if there are any plugins that this conflicts with because i can type /bounty help and that menu comes up but when i type /bounty add then the player name and the other stuff it says there was an error when trying to perform this command so i dont know what is wrong. Please help i really want this on my server.
  22. Offline


    Post the error stack trace from your console/server log.
  23. Offline


    Would be nice if bounty's could be placed with rewards as ordinairy items.
  24. Offline


    Hi, how can i make on myself (admin of server) a bounty?
  25. Offline


    [SIZE=3][FONT=Lucida Console][COLOR=rgb(255, 255, 255)][[COLOR=rgb(0, 0, 0)]SEVERE] Could not pass event PLUGIN_ENABLE to HeroBounty[/COLOR][/COLOR][/FONT][/SIZE]
    [COLOR=rgb(0, 0, 0)][SIZE=3][FONT=Lucida Console]java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at com.herocraftonline.dthielke.herobounty.HeroBounty.loadIConomy(
    at com.herocraftonline.dthielke.herobounty.HeroBountyServerListener.onPluginEnable(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at net.minecraft.server.MinecraftServer.e(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    [COLOR=rgb(0, 0, 0)][SIZE=3][FONT=Lucida Console]... 14 more[/FONT][/SIZE]

    I have iConomy 5.
  26. Offline


    This plugin has been placed on the back burner for a bit - Heroes RPG is going ahead full speed.

    iConomy 5 isnt fully supported.

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


    Anyway to add an option to the config.yml to allow multiple bounties to be placed on a single target? as well as possibly one to say if someone placed a larger bounty on that person than the previous bounty would be replaced completely from the larger priced bounty?
  28. Offline


    Luckily it still works - my users love it to death :D
  29. Offline


    A larger bounty replacement will be possible - multiple bounties on one target defeats the purpose.
  30. Offline


    Yes, the more I ponder on it, the more I think that the greater bounty replacement makes more sense. Would appreciate it if ya implement it :) We've quite a server that uses this fun and amazing plugin.
  31. Offline


    Darn, seems like in the end we do need to update, most plugin devs only continue to develop for 5.0 and dont leave 4.0 compatible versions up.

    Any way you could get someone to include the API change into Bounty? It *looks* as if it isnt too much trouble.

Share This Page