An alternate bounty plugin for pocketmine using EconomyAPI.
- Download the phar from poggit.
- Add it to your server's plugin directory.
- Restart your server!
-
/bounty me - Informs sender of how much bounty is currently on their head.
-
/bounty see - Check how much bounty is on the head of another player.
-
/bounty add - Add bounty to a player.
-
/bounty reset - Reset the bounty of another player.
Permissions:
bounty.command.me: default: true description: Allows players to use /bounty me. bounty.command.see: default: true description: Allows players to use /bounty see. bounty.command.add: default: true description: Allows players to add bounty to other players with /bounty add. bounty.command.reset: default: op description: Allows players to reset the bounty of another player.
- All messages are configurable in messages.yml.
- Configurable cooldown for /bounty add in config.yml to prevent exploiting!
- Ability to set minimum and maximum bounty added in config.yml.
- Compatibilty with EconomyAPI.
- When a player with a bounty is killed, their bounty is reset to 0 and whatever they were worth goes to the killer.
~ Main configuration file for bounty
~ Minimum amount a player can set a bounty for:
minimum-amount: 1000
~ Maxiumum amount a player can set a bounty for:
maximum-amount: 100000000
~ Cooldown for adding a bounty to a player in seconds:
bounty-cooldown: 600
- There is also a messages.yml file that you can edit to change messages!
Get a players bounty worth by first getting this plugin, then do:
$bounty->getBountyWorth($player);
Set a players bounty worth with:
$bounty->setBountyWorth($player, $amount);
Claim the bounty with:
$bounty->claimBounty($victim, $killer);
- Cost for adding bounty to players.
Need help or have any suggestions? Contact me on discord TPE#1061 or leave an issue on github or review on poggit, enjoy!