PvPBounty
PvPBounty
Notice: If you are upgrading from V3 to V4, please delete your config so it can generate a new one!!
Ever wanted to assign a bounty on your enemy and pay someone to take him on instead of you, while you sit peacefully in your base and do stuff? Now you can! PvPBounty allows you to do so. For another example, say you got raided on a pvp server, and want revenge on the person who raided you... Assign a bounty to them and then you may entice other users to come murder them for you! :D
Most recent version: Here!
All that aside
PvPBounty is meant to be a PvP oriented bounty system. It runs off both -MySQL- and flatfile, depending on what your preference is.It's main purpose is so that users can post bounties over other user's heads in order to get more people active in pvp and finding others. The bounty system works in this way: A user (whom has permission to post bounties) may post a bounty over another users head. Now at this point, there is an option based on your configuration. You can make it so that users either have to accept bounties to get the reward, or make it so that anyone who kills the person can get the bounty. There are also configurable messages for bounty Assigning and when a bounty is payed out. You can also set the min and max bounties.
Configuration
There is a main configuration file in the plugin's data folder, config.yml.
There are many configuration options, such as the following:
acceptbounty
This says whether or not users will have to accept bounties in order for them to be payed when the bounty's target is killed.
canstackbounties
This is whether or not bounties can stack after a first one over a person is assigned. If they can't, then if a user tries to set a bounty over someone who already has a bounty over their head, they will get a message telling them to wait till the current bounty is payed off.
bam (Bounty assign message) & bountypaymessage
These both have to do with the type of message that gets put out to the server when a bounty is assigned, and when a bounty is payed.
Read the configuration file for more information on this.
canmultikillbounty
This allows users to set diff amounts of people to be killed per bounty.
- This is going to be added in a later release, as it will take some decent recoding of the way this works.
Min/max bounty
These allow you to set a minimum bounty and a max bounty. if you set the maxbounty to -1, it will be considered the highest number possible in java.
DeathPayoutEnabled & DeathPayoutPercent
Death payout has to do with a bit of a user's money being taken upon their death. EG The DeathPayoutPercent is set to 7. That means whenever someone is killed, the person killing them gets 7% of the dieing person's money.
BountyAcceptanceFeeEnabled/Increment
These are in now, they allow for making it so that users can't accept too many bounties and have to pay portions of the bounty to accept them after having so many.
DeathPayoutMessageEnabled
This says whether or not users will be told that they lost/get money upon the death of themselves or someone else.
TrackingEnabled & TrackingFee & Tracking-radius
Assuming you give the users permission to track people they have a bounty on, this is the stuff related to it. The first is self-explanatory, the second is the fee required to track a person, and the tracking-radius is the radius at which tracking stops working if the tracker is within the radius of the target.
Broadcasting-enabled & broadcast-interval
This allows the plugin to broadcast messages about a random bounty every x amount of time. The default is set to 5 minutes. The interval is the # of seconds between each broadcast.
The rest of the configurations are doing with -sql- & factions if it is had. You can read more about them in the yml file.
NOTICE: Do not enable sql support at this point. It is still extremely buggy and chances are it won't work. I will work on getting this working in the coming days. For now, just keep all of the sql stuff as it is by default.
Perimissions
There are currently 3 permissions:
pvpbounty.bountyassign - Gives users the ability to assign a bounty
pvpbounty.bountylist - Gives users the ability to look into the bounty list
pvpbounty.bountyaccept - Gives users the ability to accept bounties
pvpbounty.remove - allows the user with the permission to remove bounties
pvpbounty.track - allows users to track someone that they have a bounty on
pvpbounty.bountynotice - For admins to see when a user is spamming bounties
Commands
/bountyassign [playername] [amount] - this allows you to assign bounties to a person
Aliases: assign, assignbounty
/acceptbounty [person] - allows you to accept a person's bounty
Aliases: accept, bountyaccept
/bountylist [page] - allows you to see the bounties
Aliases: blist
/remove
/bounty - shows all the bounty commands.
Dependencies
This plugin only has 1 dependency which may be done away with soon: Vault
That's all
Leave any comments and suggestions in the comments please =).. if you have a issue, please put a ticket about it: http://dev.bukkit.org/server-mods/pvpbounty/tickets/ !
Is there a possibility to get a bounty on an offline Player?
Just uploaded 2.4... Hopefully this is the last update bugfix wise for a while. Thanks guys! :)
@Iaintee
Just because i dont bathe doesnt mean i cant smell a fecund hero craft fanboy. yer plugins suck too, thats why we started releasing OUR code!!!
Thanks everyone for making this my first plugin to pass 1k downloads! :D I'll make sure to try my best to keep it up to date and keep adding new features.
@GarretSidzaka
What's that stench? You I'm pretty sure.
@GarretSidzaka
Cool story bro tell us more.
@VoidWhisperer
Even though they did explain that it didn't need an update, plus they got ddosed so they moved to spout.org to update
anywho this has been a big hit on my server!! ppl setting all kinds of bounties it was super fun!
@Iaintee
It's probably better than it for the fact that it's been updated in the past year..
@Iaintee
whats that stench?? hmm must be a kainzo fanboy. go crawl back to your master
@Iaintee
What can I do to make it different then? :D
This is better than HeroBounty because? As far as I can see it looks exactly the same.
@EssenceZinio
Yep! The factions-compatible version is!
Is this plugin compatible with Factions? I need to know before i get this plugin, Thanks! ;D
@Prison_break
Fixed that. ALSO, to everyone: when you post an error, tell me if your using the factions/non-factions jar.
ok, i solved that problem, now im having this one:
12:54:01 [SEVERE] Error occurred while enabling PvPBounty v2.0 (Is it up to date ?) java.lang.NoClassDefFoundError: com/massivecraft/factions/P at pvpbounty.PvPBounty.setupFactApi(PvPBounty.java:209) at pvpbounty.PvPBounty.onEnable(PvPBounty.java:96) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:365) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247 ) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ClassNotFoundException: com.massivecraft.factions.P at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source)
The only plugins i have on my test server are this and vault
@JadenElite
Are there any errors in the console when the person w/ the bounty dies? :o
@Prison_break
I'm looking into it.. what do you have the max bounty set to?
@VoidWhisperer
Hey, can you take a look at my question? I'd really love to use this plugin, but i can't get it to work
Make it so they dont have to accept the bounty please I disabled it in the config but it still doesnt work when players try to kill the players with the bounties on there head