JustinxBounty – Bounty System Plugin
Commands
- /bounty set <player> <amount> – Place a bounty on a player. Usage: /bounty set Notch 5000
- /bounty remove <player> – Cancel an existing bounty. Usage: /bounty remove Notch
- /bounty list – View all active bounties and their amounts.
- /bounty claim – Claim the bounty you just earned (automatically given on kill, this command shows pending rewards).
- /bounty help – Show command help.
Permissions
- justinxbounty.admin – Allows use of set, remove, and list commands.
- justinxbounty.use – Allows use of claim and help commands.
Configuration (config.yml)
bounty:
storage-file: "bounties.yml" # file where active bounties are saved
reward-multiplier: 1.0 # multiplier applied to the bounty amount when paid out
announce-on-set: true # broadcast when a new bounty is placed
announce-on-claim: true # broadcast when a bounty is claimed
Key Features & Behaviors
- Data Persistence: All active bounties are saved to the file defined in storage-file and re‑loaded when the server restarts.
- Death Event Handling: When a player with a bounty dies, the killer automatically receives the bounty amount (modified by reward-multiplier) and the bounty is removed.
- Reward Claiming: If a bounty is paid out while the killer is offline, the amount is stored and can be claimed later with /bounty claim.
- Broadcasts: Optional announcements for bounty placements and claims (controlled via config).
- Thread‑Safe Management: Bounty data is handled through BountyManager to avoid race conditions.
Textures / Models
- No custom textures or models are used by this plugin.