Bounty Guard icon

Bounty Guard -----

Better bounty system for minecraft smps



Code (YAML):
# -----------------------------------------------------
# BountyGuard
# -----------------------------------------------------

# Written by Broomestick

# Version 1.0

# Last update: 23 June 2025

# For support, please message me on discord @broomestick


# -----------------------------------------------------
# Configuration
# -----------------------------------------------------

# Should the player with the bounty on their head receive the reward if they survive?
survive-reward
: true

# The URL for your Discord webhook. Leave empty to disable Discord notifications.
discord-webhook-url
: " "

# -- Message Formatting --
# You can use color codes with '&' and placeholders.
# Placeholders for bounty-start: {target}, {reward_name}, {reward_amount}, {time}
# Placeholders for bounty-claimed: {target}, {killer}, {reward_name}, {reward_amount}
# Placeholders for bounty-expired: {target}
# Placeholders for bounty-stopped: {target}
messages
:
  prefix
: "&c&lBounty &8» "
  no-permission
: "&cYou do not have permission to use this command."
  reload
: "&aBountyGuard configuration has been reloaded."
  invalid-usage
: "&cInvalid command usage. Use: /bounty start <player|Random> <amount> <time> <reward_item> <reward_amount>"
  player-not-found
: "&cPlayer '{player}' not found."
  invalid-number
: "&c'{number}' is not a valid number."
  invalid-time-format
: "&cInvalid time format. Use s, m, h, d (e.g., 1h30m)."
  invalid-item
: "&cThe item '{item}' does not exist."
  bounty-already-active
: "&cPlayer {target} already has an active bounty."
  bounty-start-broadcast
: "&eA bounty has been placed on &c{target}&e! Reward: &a{reward_amount} {reward_name}&e. Expires in &6{time}&e."
  bounty-claimed-broadcast
: "&a{killer} has claimed the bounty on &c{target}&a and received &e{reward_amount} {reward_name}&a!"
  bounty-expired-broadcast
: "&eThe bounty on &c{target}&e has expired."
  bounty-stopped-broadcast
: "&eThe bounty on &c{target}&e has been stopped."
  bounty-not-found
: "&cNo bounty found for player {target}."
  bounty-stopped
: "&aYou have successfully stopped the bounty for {target}."
  survived-bounty
: "&aYou survived the bounty and received {reward_amount} {reward_name}!"


# -- Discord Message Formatting --
# You can use placeholders available in the in-game messages.
# For more advanced formatting, you can use Discord's JSON embed structure.
# Example simple message:
# discord-messages:
#   bounty-start: "A new bounty has been placed on {target}! Reward: {reward_amount} {reward_name}. Expires in {time}."
# Example embed message:
discord-messages
:
  bounty-start
: |
   {
      "embeds": [{
        "title": "⚔️ New Bounty Started ⚔️",
        "color": 16776960,
        "fields": [
          {"name": "Target", "value": "{target}", "inline": true},
          {"name": "Reward", "value": "{reward_amount} {reward_name}", "inline": true},
          {"name": "Expires In", "value": "{time}", "inline": false}
        ],
        "footer": {"text": "BountyGuard"}
      }]
    }

  bounty-claimed
: |
   {
      "embeds": [{
        "title": "✅ Bounty Claimed ✅",
        "color": 65280,
        "description": "**{killer}** has claimed the bounty on **{target}**!",
        "fields": [
          {"name": "Reward", "value": "{reward_amount} {reward_name}", "inline": true}
        ],
        "footer": {"text": "BountyGuard"}
      }]
    }

  bounty-expired
: |
   {
      "embeds": [{
        "title": "⏳ Bounty Expired ⏳",
        "color": 16711680,
        "description": "The bounty on **{target}** has expired.",
        "footer": {"text": "BountyGuard"}
      }]
    }

  bounty-stopped
: |
   {
      "embeds": [{
        "title": "❌ Bounty Stopped ❌",
        "color": 16711680,
        "description": "The bounty on **{target}** has been stopped.",
        "footer": {"text": "BountyGuard"}
      }]
    }
Resource Information
Author:
----------
Total Downloads: 22
First Release: Jun 23, 2025
Last Update: Jun 23, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings