Spigot Bounty Hunter [Drop Head] [Customizable permission] 1.4

A very simple plugin to get bounty on players head

  1. AtomixSoldier submitted a new resource:

    Bounty Hunter - A very simple plugin to get bounty on players head

    Read more about this resource...
     
  2. Are there any commands to see all set bounties? like /bounty list
     
  3. No, but it's a good idea, I'll add this for the next update
    Edit : @Adnurmal Updated ;)
     
    #3 AtomixSoldier, Jun 25, 2015
    Last edited: Jun 25, 2015
  4. AtomixSoldier updated Bounty Hunter with a new update entry:

    Bounty Hunter V0.2

    Read the rest of this update entry...
     
  5. What do you mean ?
     
  6. AtomixSoldier updated Bounty Hunter with a new update entry:

    BOunty Hunter V0.3

    Read the rest of this update entry...
     

  7. Cant Start the plugin because of this:

    Could not load 'plugins/MySQLAPI_V1.7.9.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: Cannot find main class `com.noliver92.cmg.api.mysql.MySQL'
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:66) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
    Caused by: java.lang.ClassNotFoundException: com.noliver92.cmg.api.mysql.MySQL
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[?:1.7.0_75]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_75]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_75]
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_75]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_75]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_75]
    at java.lang.Class.forName0(Native Method) ~[?:1.7.0_75]
    at java.lang.Class.forName(Class.java:274) ~[?:1.7.0_75]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    ... 7 more
    [19:43:34] [Server thread/ERROR]: Could not load 'plugins/BountyHunter 0.3.jar' in folder 'plugins'
     

  8. Yep i have it from your link, but im on 1.8.7
     
  9. That should work even if you are in 1.8.7 (it work fine for me). Try uninstall and reinstall (both MySQL API and BountyHunter), if it don't work try local saving (set database using to false in config) and tell me if it still don't work

    This means that the main class was not found for MySQL, I think it's the problem. Normally it would be fixed by reinstalling
     

  10. I will wait that you remove the mysql dependance :/ i really need this plugin for my people
    www.minesquare.fr
     
  11. Working on it, trying to get the update for tomorrow
     
  12. How you find our website :)

    Come IG to see all the features
     
  13. hey man how you doing?

    we have this sometimes do you know why it happens?
    cheers

    ould not pass event PlayerDeathEvent to BountyHunter v0.3
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:382) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityPlayer.die(EntityPlayer.java:417) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:811) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityHuman.damageEntity(EntityHuman.java:800) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityPlayer.damageEntity(EntityPlayer.java:496) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityLiving.e(EntityLiving.java:938) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityHuman.e(EntityHuman.java:1440) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.Block.a(Block.java:640) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.Entity.a(Entity.java:810) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityLiving.a(EntityLiving.java:160) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.EntityPlayer.a(EntityPlayer.java:621) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:455) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PacketPlayInFlying.a(SourceFile:126) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_75]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_75]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot.jar:git-Spigot-f928e7a-994b2aa]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
    Caused by: java.lang.NullPointerException
    at bountyhunter.events.PlayerDie.onPlayerDie(PlayerDie.java:45) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor535.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-f928e7a-994b2aa]
    ... 26 more
     
  14. Hi all, I'm wondering what else I can add to BountyHunter. If you have any idea ...
     
  15. Permissions to place a bounty, to see the bounty list and to claim a bounty - if you kill a person without the permission the bounty is still in place.

    And if you wish to be a bit more complicated, perhaps allow specific permission nodes per playername, or allow the server to set bounties for named NPCs / specific (amounts of) mobs.