Sueta

Discontinued - Bounty Hunting

1.3

A plugin to stop unpunished killing of mobs and players!

·Plugin

Do not forget to leave a rating if you like the plugin, or request changes and/or suggest features in the Discussion!

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Players get bounties based on "inhumane" actions, for example killing players or killing non-hostile mobs.
Every player that currently does not have a bounty can sign up to become a Bounty Hunter. Only Bounty Hunters can claim bounties and craft handcuffs.

Bounty Hunters can craft cuffs.

Produces 2 cuffs (Represented by a lead)
These cuffs have special data in-game such that the handcuffs cannot be crafted with standard leads.


Produces Handcuffs (Shapeless recipe)
Once again this tripwire hook has special data such that players cannot be restrained with standard tripwire hooks.

Right-clicking a player with these handcuffs will restrain the player with the bounty. If the restrained player has a bounty, the bounty hunter can claim the bounty using /claimbounty.

Killing a player that has a bounty will reward you with a part of the bounty money, however, this can be fully customized in the config.

Keeping the player restrained will lower the bounty by a standard set amount every second. If the restrained player does not have a bounty, they will instantly be set loose and the Bounty Hunter will get a fine. When a non-bounty hunter uses a handcuff, it will not work and will ask the player to register as a bounty hunter first.

When a player that has a bounty on him gets killed, or gets restrained and then gets their bounty claimed, it will be deducted from their bank account, instead of having the government pay the bounty.

The plugin checks the offenders balance every 10 seconds to see if they have money and if so, it will automatically pay their debts as much as possible, restricting them from buying anything until their debts are paid. If the offender is offline they will be notified of this transaction happening.

Commands:

  • /registerbh - Register as Bounty Hunter
    • This can not be done if the player has a bounty
    • This will be removed once the player receives a bounty
  • /deregisterbh - Deregister as Bounty Hunter
  • /paybail - Players with a bounty can pay their own bail to remove their bounty (2 * Bounty)
  • /bountytop - Get top 10 player bounties
  • /getbounty [player] - Return the bounty of said player
  • /claimbounty - Claim bounty
    • The player needs to be near another player that has the bounty
    • The player that has the bounty needs to be handcuffed

If you find bugs or features that don't work how they should, please provide me your stack trace and I'll try to fix it asap!

Discord: Serum#6994

Similar projects

Plugin →