This plugin is just like a normal bounty plugin, but it runs a console command when a bounty is placed & when a player with bounty is killed. Commands: /bounty <player> - places a bounty on the player /bounty remove <player> - removes the bounty on the player /bounty reload - reloads the plugin Permission: bounty.use - ablity to use /bounty & /bounty remove bounty.admin - ability to reload the plugin In the config you can set which commands you can run when /bounty <player> is placed and when a player withbounty is killed, for exmaple Bounty_Place: - broadcast Bounty was placed on %Placedplayer%! - eco take %Placerplayer% 100 Bounty_Player_Killed - eco give %Killer% 100 Variables: %Placedplayer% - player that the bounty was placed on %PlacerPlayer% - The player who placed a bounty %Killer% - the person who killed the person with bounty
I don't mean to intrude, but I found this with a quick google search. https://dev.bukkit.org/bukkit-plugins/bounty-snorri/
I made a plugin that does this not too long ago. It's just on GitHub right now, though. Once I get home I could recompile everything, make sure it's working and such then upload it to Bukkit for you if you want It does (I believe) everything you asked for, except you don't need to set a command for it to run to give money since it uses Vault to transfer the money on its own.
@SethxGaming I'm not sure if Jezzerdo4 started it @zmaster007 The money was just an example, I have a custom coin system on my server thats why I require this plugin so my coin system can be used to pay for bountys.
Ah, so I assume your coin system doesn't work with Vault?-- oh well, I've been meaning to upload my bounty plugin to Bukkit anyway
@adi0115 I have, and I'm nearly done. I can get it to you in the next 2 days if there are few/no bugs.
Ill do this for you. Working on it now. Done! https://www.dropbox.com/s/0fzzdkf6wduznsg/BountyCommand.jar?dl=0
Thanks a lot, I will test it as soon as I can. EDIT: After quick test, I noticed you can place a bounty on yourself, could you block that? Thanks.
Done. https://www.dropbox.com/s/0fzzdkf6wduznsg/BountyCommand.jar?dl=0 Also now player names are no longer case-sensitive A mod was editing my posts before and removed the information I put in so here it is again: Commands: /bounty help /bounty place <player> /bounty remove <player> /bounty reload Permissions: bounty.use bounty.reload EDIT: I didn't test the changes so let me know if anything doesn't work. Feel free to ask if you need other changes.
Works very well, but could you add a command /bountys that would display a GUI with heads of the current players that ahve bountys on them? Maybe even show online/offline tag below it to show if they're offline or not. Thanks
Working on it now. EDIT: Done. https://www.dropbox.com/s/0fzzdkf6wduznsg/BountyCommand.jar?dl=0 Command is /bounty list If a player is online, the name on his head will be green. If offline, it will be red.
Thanks a lot, could you only add a variable %amount%, so when a player types /bounty <player> <amount> the amount is made into %amount% variable so it can be used in command such us /broadcast %placer_player% has placed a bounty on %placed_player% for %amount% and so it could also be used in command, but since it has to be a number, if someone enters anything else except a number in the %amount% arg, it would come back with an error? Thats the last thing and then the plugin will be perfect, thanks.
Done. https://www.dropbox.com/s/0fzzdkf6wduznsg/BountyCommand.jar?dl=0 Changes: https://github.com/Agazed/BountyCommand/commit/5ce653904b11c8eff1c9a0007b0f045dd49ca54a Also, you may need to clear the bounties section of the config as there is a new way of storing data.
@danielfr789 I have noticed a lot of people were placing bountys that are $1 and just spamming the server and giving everybody $1 bountys, could you add an option in the config that a minimum amount can be set, so if a player enter the amount below the minimum amount set, it will tell them that the minimum amount is %min_amount%? Thanks
Yes working on it now. Done: https://www.dropbox.com/s/0fzzdkf6wduznsg/BountyCommand.jar?dl=0 Changes: https://github.com/Agazed/BountyCommand/commit/ed41536dd04c415f11a5262aafbf31d3e3fa1152 Backup and refresh your config so the new option generates.
there is a bug in the plugin, i tested on my server and i can place a bounty but it dont take the money from me and when another players kill the person with a bounty on the person dont get the money from the kill.
You're right. There isn't a check in the plugin for how much money the player has. Fixing this now. Done. https://www.dropbox.com/s/0fzzdkf6wduznsg/BountyCommand.jar?dl=0 Commit: https://github.com/Agazed/BountyCommand/commit/17197b7b01f16f4021a32151b7a221b046e64bac Now requires Vault.
Hey agean. Thx for updating it so fast its just 1 problem i am having i get this error message when i type in the command. "An internal error occurred while attempting to preform this command." and in the consol i get this: https://github.com/reopkopres/bountycommands/wiki
Oops, fixed now. Tested and everything. https://www.dropbox.com/s/0fzzdkf6wduznsg/BountyCommand.jar?dl=0
Hey after alot of testing it looks like it still wont work, can you check again if you uploaded the right file or look at the code again? I still have the money problem dont take the money out of the persons bal or adds it to the person that kills the person with the bounty on.
Do you have Vault installed on your server? If not, this is the link: https://dev.bukkit.org/bukkit-plugins/vault/