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

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

  1. Offline

    DThielke

    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.

    Enjoy!

    Features:
    • 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!
    Usage:


    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.

    [​IMG]

    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.

    [​IMG]

    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.

    [​IMG]

    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.

    [​IMG]

    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.

    [​IMG]

    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.

    [​IMG]

    Installation:
    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.
    Configuration:


    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.

    Permissions:
    If found, HeroBounty will make use of TheYeti's Permissions plugin. The three available permission nodes are described below:
    • herobounty.new - 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.new, 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

    solidsnake916

    Problem with money as well.
    CraftBukkit #556
    iConomy v4.5.5 (Permissions Enabled)
    HeroBounty 1.7.1 (Permissions Enabled)

    It seems like an iConomy Thing though, since no iConomy functions are working at all lol.
     
  3. Offline

    DThielke

    Localization is exactly what you're asking for.

    To the two of you having iConomy related issues: I just tested it with the latest iConomy and had no issues. Make sure iConomy is working on it's own (all the commands work) before you test it against HeroBounty. If you still have issues after, post your configs.
     
  4. Offline

    Odjit

    iCon commands are working just fine for me :( Config already posted.

    I guess I'll also show one of the data entries without the fees/penalties after using my last post's config:

    Data.yml (open)

    - !<bounty>
    contractFee: 0
    deathPenalty: 0
    expirations: {}
    hunters: []
    owner: Odjit
    ownerDisplayName: Odjit
    postingFee: 2
    target: Rorandes
    targetDisplayName: Rorandes
    targetLocation: !!java.awt.geom.Point2D$Double {x: 0.0, y: 0.0}
    value: 18
     
  5. Offline

    DThielke

    Aha! Some basic math:

    Bounty award: 18
    Contract fee: 0.05 * 18 = 0.9
    Death penalty: 0.05 * 18 = 0.9

    Those 0.9's are being truncated to 0. If you try setting higher bounties (consider increasing your minimum bounty?), you should see all the fees working properly.

    Update.

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

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

    solidsnake916

    After running for thorough tests i discovered the iConomy wasn't working correctly on an upgrade, i fixed that now, and BountyBoard works nicely. Thanks again for this fun plugin.
     
  7. Offline

    DThielke

    Happy to hear.
     
  8. Offline

    solidsnake916

    well your not going to be happy to hear this lol...

    Some weird error happened, and now bounty thinks players are money and coin is money or something similiar. Heres a picture of this weird occurrence, i upgraded from 1.7.1 to 1.7.2 and its like $1 or $2 on all forms of bounty. [$2 must be the person, and $1 must be the player name.]
    [​IMG]

    I tried 10 and it didnt like that so i typed the below.
    I typed this /bounty new NAME 100
     
  9. Offline

    DThielke

    Sorry - silly mistake on my part. Download the latest version and it should be fixed.

    Change Log:
    Version 1.7.3
    • Fixed a silly mistake regarding parameterized messages

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

    solidsnake916

    Tested: Still A Problem, Says Placed Bounty on $1 Head for $2.
    .jar file said 1.7.3 in plugin.yml so i did have the right version. So does the server need to be restarted, because i did a disable, delete, replace, and /reload. and it loaded like i did when i upgraded. but still the issue occurs in the plugin, or something horribly went wrong on my server.
     
  11. Offline

    DThielke

    Err sorry. Redownload the latest version - for some reason my fix wasn't applied.
     
  12. Offline

    solidsnake916

    Ok Works Perfectly Now. Wow what a night eh lol.. Anyways thanks for the fast fixes.
     
  13. Offline

    AntonyDream

    Great plugin!
    I just wonder, can you add something like disabling PVP for everyone but targets and killers?
     
  14. Offline

    DThielke

    I'll consider adding this in the future.
     
  15. Offline

    Olof Larsson

    This is a nice plugin :)
    However it would be great if you supported all economy systems. For example Essentials Econonmy.
    I use Essentials Economy as it has a good built in sign trading system.
     
  16. Offline

    Techcuron

    Still, the commands work but the just cause internal errors.

    Code:
    ddDeathRecord(HeroBountyEntityListener.java:88)
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.onEn
    tityDamage(HeroBountyEntityListener.java:56)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.j
    ava:356)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.Entity.H(Entity.java:234)
            at net.minecraft.server.EntityLiving.H(EntityLiving.java:116)
            at net.minecraft.server.Entity.f_(Entity.java:165)
            at net.minecraft.server.EntityLiving.f_(EntityLiving.java:230)
            at net.minecraft.server.EntityHuman.f_(EntityHuman.java:82)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:154)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:222)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    15:23:23 [SEVERE] Could not pass event ENTITY_DAMAGED to HeroBounty
    java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.tryA
    ddDeathRecord(HeroBountyEntityListener.java:88)
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.onEn
    tityDamage(HeroBountyEntityListener.java:56)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.j
    ava:356)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.Entity.P(Entity.java:277)
            at net.minecraft.server.Entity.H(Entity.java:250)
            at net.minecraft.server.EntityLiving.H(EntityLiving.java:116)
            at net.minecraft.server.Entity.f_(Entity.java:165)
            at net.minecraft.server.EntityLiving.f_(EntityLiving.java:230)
            at net.minecraft.server.EntityHuman.f_(EntityHuman.java:82)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:154)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:222)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    15:23:23 [SEVERE] Could not pass event ENTITY_DAMAGED to HeroBounty
    java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.tryA
    ddDeathRecord(HeroBountyEntityListener.java:88)
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.onEn
    tityDamage(HeroBountyEntityListener.java:56)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.j
    ava:356)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.Entity.a(Entity.java:603)
            at net.minecraft.server.Entity.c(Entity.java:546)
            at net.minecraft.server.EntityLiving.b(EntityLiving.java:522)
            at net.minecraft.server.EntityLiving.q(EntityLiving.java:668)
            at net.minecraft.server.EntityHuman.q(EntityHuman.java:160)
            at net.minecraft.server.EntityPlayer.q(EntityPlayer.java:197)
            at net.minecraft.server.EntityLiving.f_(EntityLiving.java:231)
            at net.minecraft.server.EntityHuman.f_(EntityHuman.java:82)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:154)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:222)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    15:23:23 [SEVERE] Could not pass event ENTITY_DAMAGED to HeroBounty
    java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.tryA
    ddDeathRecord(HeroBountyEntityListener.java:88)
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.onEn
    tityDamage(HeroBountyEntityListener.java:56)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.j
    ava:356)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.Entity.a(Entity.java:603)
            at net.minecraft.server.Entity.c(Entity.java:546)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:232)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    15:23:25 [SEVERE] Could not pass event ENTITY_DAMAGED to HeroBounty
    java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.tryA
    ddDeathRecord(HeroBountyEntityListener.java:88)
            at com.herocraftonline.dthielke.herobounty.HeroBountyEntityListener.onEn
    tityDamage(HeroBountyEntityListener.java:56)
            at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.j
    ava:356)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.Entity.H(Entity.java:234)
            at net.minecraft.server.EntityLiving.H(EntityLiving.java:116)
            at net.minecraft.server.Entity.f_(Entity.java:165)
            at net.minecraft.server.EntityLiving.f_(EntityLiving.java:230)
            at net.minecraft.server.EntityHuman.f_(EntityHuman.java:82)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:154)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:222)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    15:23:26 [INFO] [SpawnControl] Attempting to respawn player Flameman45 (respawni
    ng).
    15:25:10 [INFO] [º9[º2Adminº9]ºfºf] Flameman45: undo
    15:25:42 [INFO] [º9[ºbUserº9]ºfºf] parakoopa247: .  .  .
    15:25:48 [INFO] [º9[º2Adminº9]ºfºf] Flameman45: yes para
    15:26:45 [SEVERE] java.net.SocketException: Connection reset
    15:26:45 [SEVERE]      at java.net.SocketInputStream.read(Unknown Source)
    15:26:45 [SEVERE]      at java.net.SocketInputStream.read(Unknown Source)
    15:26:45 [SEVERE]      at java.io.FilterInputStream.read(Unknown Source)
    15:26:45 [SEVERE]      at net.minecraft.server.Packet.b(SourceFile:113)
    15:26:45 [SEVERE]      at net.minecraft.server.NetworkManager.f(SourceFile:155)
    
    15:26:45 [SEVERE]      at net.minecraft.server.NetworkManager.c(SourceFile:9)
    15:26:45 [SEVERE]      at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    15:26:45 [INFO] Flameman45 lost connection: disconnect.genericReason
    15:27:17 [INFO] Whitelist: Player bmxaaron195 is trying to join...
    15:27:17 [INFO] allow!
    15:27:17 [INFO] bmxaaron195 [/96.42.165.139:2107] logged in with entity id 22503
    
    15:27:20 [INFO] [º9[º2Adminº9]ºfºf] bmxaaron195: Hey
    15:27:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'boun
    ty' in plugin HeroBounty v1.7.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    29)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.HeroBounty.listBountiesAccept
    edByPlayer(HeroBounty.java:239)
            at com.herocraftonline.dthielke.herobounty.command.commands.LocateComman
    d.execute(LocateCommand.java:32)
            at com.herocraftonline.dthielke.herobounty.command.CommandManager.dispat
    ch(CommandManager.java:55)
            at com.herocraftonline.dthielke.herobounty.HeroBounty.onCommand(HeroBoun
    ty.java:123)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    15:27:53 [INFO] /50.23.30.168:56305 lost connection
    15:28:09 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'boun
    ty' in plugin HeroBounty v1.7.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    29)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.HeroBounty.listBountiesAccept
    edByPlayer(HeroBounty.java:239)
            at com.herocraftonline.dthielke.herobounty.command.commands.ViewCommand.
    execute(ViewCommand.java:32)
            at com.herocraftonline.dthielke.herobounty.command.CommandManager.dispat
    ch(CommandManager.java:55)
            at com.herocraftonline.dthielke.herobounty.HeroBounty.onCommand(HeroBoun
    ty.java:123)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    15:28:21 [SEVERE] java.lang.NullPointerException
    15:28:21 [SEVERE]      at com.herocraftonline.dthielke.herobounty.ExpirationChe
    cker.run(HeroBounty.java:350)
    15:28:21 [SEVERE]      at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:33)
    15:28:21 [SEVERE]      at java.lang.Thread.run(Unknown Source)
    15:29:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'boun
    ty' in plugin HeroBounty v1.7.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    29)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.command.commands.NewCommand.e
    xecute(NewCommand.java:38)
            at com.herocraftonline.dthielke.herobounty.command.CommandManager.dispat
    ch(CommandManager.java:55)
            at com.herocraftonline.dthielke.herobounty.HeroBounty.onCommand(HeroBoun
    ty.java:123)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    15:29:55 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'boun
    ty' in plugin HeroBounty v1.7.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    29)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.command.commands.ListCommand.
    execute(ListCommand.java:43)
            at com.herocraftonline.dthielke.herobounty.command.CommandManager.dispat
    ch(CommandManager.java:55)
            at com.herocraftonline.dthielke.herobounty.HeroBounty.onCommand(HeroBoun
    ty.java:123)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    15:30:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'boun
    ty' in plugin HeroBounty v1.7.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    29)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at com.herocraftonline.dthielke.herobounty.command.commands.NewCommand.e
    xecute(NewCommand.java:38)
            at com.herocraftonline.dthielke.herobounty.command.CommandManager.dispat
    ch(CommandManager.java:55)
            at com.herocraftonline.dthielke.herobounty.HeroBounty.onCommand(HeroBoun
    ty.java:123)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    >
     
  17. Offline

    DThielke

    First of all, you should update to the latest version of HeroBounty. Then, if you're still seeing these errors, please post your /plugins/HeroBounty/data.yml file.

    Minor update.

    Change Log:
    Version 1.7.4
    • Commands now load even if iConomy isn't found (woops)

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

    AZUMIKKEL

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'bounty' in plugin HeroBounty v1.7.3
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    	at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:599)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:562)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
    	at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:77)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:271)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    	at com.herocraftonline.dthielke.herobounty.HeroBounty.onCommand(HeroBounty.java:119)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
    Happens with whatever bounty command I use.
    Using Bukkit 556 and iConomy
    My whole data.yml consists of a []
     
  19. Offline

    DThielke

    Make sure you're using the latest version of HeroBounty. If you are, then post a log of your server starting up (first 10 seconds or so while it loads everything).
     
  20. Offline

    solidsnake916

    I have an issue, most of our admins have * in permissions, since the update node: herobounty.untargettable... The admins with * can no longer be targeted, is there a way of fixing this, or making it in the config to turn off targettables, because preferably on my server i want everyone to be a target, but i can see where some may not want it to be...

    Thanks!
     
  21. Offline

    d3x

    Code:
    2011-03-26 21:53:37 [INFO] [HeroBounty] HeroBounty version 1.7.3 enabled.
    2011-03-26 21:53:37 [SEVERE] java.io.FileNotFoundException: plugins\HeroBounty\data.yml (The system cannot find the path specified)
    2011-03-26 21:53:37 [SEVERE]     at java.io.FileInputStream.open(Native Method)
    2011-03-26 21:53:37 [SEVERE]     at java.io.FileInputStream.<init>(Unknown Source)
    2011-03-26 21:53:37 [SEVERE]     at java.io.FileReader.<init>(Unknown Source)
    2011-03-26 21:53:37 [SEVERE]     at com.herocraftonline.dthielke.herobounty.BountyFileHandler.load(BountyFileHandler.java:37)
    2011-03-26 21:53:37 [SEVERE]     at com.herocraftonline.dthielke.herobounty.HeroBounty.loadConfig(HeroBounty.java:74)
    2011-03-26 21:53:37 [SEVERE]     at com.herocraftonline.dthielke.herobounty.HeroBounty.onEnable(HeroBounty.java:137)
    2011-03-26 21:53:37 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    2011-03-26 21:53:37 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    2011-03-26 21:53:37 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    2011-03-26 21:53:37 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    2011-03-26 21:53:37 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    2011-03-26 21:53:37 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    2011-03-26 21:53:37 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    2011-03-26 21:53:37 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    2011-03-26 21:53:37 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    2011-03-26 21:53:37 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  22. Offline

    DThielke

    An option has been added to the next version - it'll be in the next update.

    As the error suggests, you're missing the data.yml file that comes with the .zip download. The newest prerelease automatically creates this file, but until that's made official you'll have to add it manually from the archive.
     
  23. Offline

    riuthamus

    Very cool, I am excited to finally test this plugin out!
     
  24. Offline

    solidsnake916

    Thanks, i await the new release.
     
  25. Offline

    compgurusteve

    Quick question about this exciting plugin. Whenever you place a bounty on someones head, does it flag that person for PvP regardless of where he's at in relation to lets say a PvP free region?
     
  26. Offline

    DThielke

    PvP status isn't touched, although I might provide an option to change this in the future.
     
  27. Offline

    compgurusteve

    Would really be nice in conjunction with some other mods out there. Look forward to more of your work in the future keep the awesome stuff coming. :)
     
  28. Offline

    Tyson Kaufmann

    Would it be possible for you to add the option of having a fee for using /bounty locate in the next update?

    I await your response, thanks again for creating this plugin! :)
     
  29. Offline

    Magesblood

    Code:
    17:44:44 [SEVERE] ENTITY_DAMAGED loading HeroBounty v1.7.3 (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGED
            at com.herocraftonline.dthielke.herobounty.HeroBounty.registerEvents(HeroBounty.java:168)
            at com.herocraftonline.dthielke.herobounty.HeroBounty.onEnable(HeroBounty.java:135)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    CB 612 HB 1.7.4
     
  30. Offline

    DThielke

    Updated for the latest RB.

    Change Log:
    Version 1.7.6
    • Updated for CB 612
     
  31. Offline

    Aaron Warshaw

    I really like this idea but I have a humble suggestion/request if possible(?)

    The way my server works, is faction based pvp. Two factions with ranks. Noone is aloud to cross the border unless they have Rank 3 (Soldier). The border, separates the factions by a great wall of china type deal.

    My Bounty's are randomly selected at which point the borders are open to the faction that has the player to target. So for example if Faction A has a target up, Faction B is allowed to cross for the amount of time the Bounty is up.

    I do this by using /say to spam global so EVERYONE knows there is a Bounty. I also reward the player who is the Bounty if he survives the time limit.

    I actually wrote a request plugin thread here if you want to see it to get a better idea if I am not clarifying this enough: http://forums.bukkit.org/threads/bounty-iconomy-reward-for-the-death-players.9784/

    I would appreciate it if you took a look. It one of 2 awesome games I have created on my server where everyone gets involved immediately. It has just become a pain in my *** to have to spam, monitor the killing blow, etc on the Bounty.

    The other game we have that needs a simple plugin in "Last Man Standing" with is basically a /tp all to me the giant thunderdome spleef arena where the last player standing wins the game. But that is another story...
     

Share This Page