Configuration

Plugin configuration

config.yml

economy-provider: Auto
 
license-key: ""
 
database:
  type: SQLITE
  file: bounties.db
 
bounty:
  min-amount: 100
  max-amount: 1000000
  tax-percentage: 5
  anti-team-abuse: true
  max-bounties-per-target: 0
 
permissions:
  admin-permission: "laagbounty.admin"
  
messages:
  prefix: "&8[&6Bounty&8]&7"
  no-permission: "&cYou don't have permission!"
  bounty-added: "&aSuccessfully placed &e$%amount%&a bounty on &e%player%&a!"
  bounty-removed: "&aBounty on &e%player%&a has been removed!"
  bounty-claimed: "&aYou claimed &e$%amount%&a for killing &e%player%&a!"
  player-not-found: "&cPlayer not found!"
  invalid-amount: "&cInvalid amount! Min: $%min%, Max: $%max%"
  insufficient-funds: "&cYou don't have enough money!"
  cannot-bounty-self: "&cYou cannot place bounty on yourself!"
  no-bounty-on-player: "&c%player% has no bounty!"
  bounty-already-exists: "&c%player% already has a bounty!"
  team-abuse-prevented: "&cYou cannot claim bounty on your teammate!"
  max-bounties-reached: "&c%player% has reached the maximum bounty limit (%max% players)!"
  bounty-received: "&c&l⚠ WARNING! &e%placer%&c has placed a bounty of &e$%amount%&c on your head!"

GUI.yml

gui:
  title: "&8Bounties | Page %page%/%maxpage%"
  size: 54
  
  items:
    refresh:
      slot: 4
      material: BELL
      name: "&e&lRefresh"
      lore:
        - "&7Click to refresh the bounties"
    
    next-page:
      slot: 53
      material: CYAN_SHULKER_BOX
      name: "&a&lNext Page"
      lore:
        - "&7Go to page %nextpage%"
    
    previous-page:
      slot: 45
      material: CYAN_SHULKER_BOX
      name: "&c&lPrevious Page"
      lore:
        - "&7Go to page %prevpage%"
    
    set-bounty:
      slot: 46
      material: DIAMOND
      name: "&e&lSet Bounty"
      lore:
        - "&7Click to set a bounty"
        - "&7on any player"
    
    search:
      slot: 49
      material: HOPPER
      name: "&e&lSearch Player"
      lore:
        - "&7Click to search for a player"
    
    my-bounty:
      slot: 52
      material: CHEST
      name: "&6&lMy Bounties"
      lore:
        - "&7Click to view bounties"
        - "&7you have placed"
        - ""
        - "&eRight-click to remove"
    
    filler:
      enabled: true
      material: BLACK_STAINED_GLASS_PANE
      name: " "
      slots: [0, 1, 2, 3, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 44, 45, 47, 48, 50, 51, 53]
    
    bounty-head:
      material: PLAYER_HEAD
      name: "&6%player%"
      lore:
        - "&7Bounty: &e$%amount%"
        - "&7Placed by: &e%placer%"
      slots: [10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 33, 34, 37, 38, 39, 40, 41, 42, 43]

add-bounty-gui:
  title: "&8Set Bounty on %player%"
  size: 27
  
  items:
    player-head:
      slot: 4
      material: PLAYER_HEAD
      name: "&6%player%"
      lore:
        - "&7Target Player"
    
    current-bounty:
      slot: 11
      material: GOLD_BLOCK
      name: "&e&lCurrent Bounty"
      lore:
        - "&7Current: &e$%amount%"
        - "&7Placed by: &e%placer%"
    
    no-bounty:
      slot: 11
      material: BARRIER
      name: "&c&lNo Active Bounty"
      lore:
        - "&7This player has no bounty"
    
    set-bounty:
      slot: 15
      material: EMERALD
      name: "&a&lSet Bounty"
      lore:
        - "&7Click to set a bounty"
        - "&7on this player"
        - ""
        - "&aMin: &e$%min%"
        - "&aMax: &e$%max%"
    
    cancel:
      slot: 22
      material: RED_CONCRETE
      name: "&c&lCancel"
      lore:
        - "&7Click to cancel"
    
    filler:
      enabled: true
      material: BLACK_STAINED_GLASS_PANE
      name: " "
      slots: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26]
      slots: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26]

manage-bounty-gui:
  title: "&8Manage Bounty: %player%"
  size: 27
  
  items:
    player-head:
      slot: 4
      material: PLAYER_HEAD
      name: "&6%player%"
      lore:
        - "&7Current Bounty: &e$%amount%"
    
    change-amount:
      slot: 11
      material: GOLD_INGOT
      name: "&e&lChange Bounty Amount"
      lore:
        - "&7Click to change the bounty"
        - "&7amount on this player"
        - ""
        - "&7Current: &e$%amount%"
    
    cancel-bounty:
      slot: 15
      material: RED_CONCRETE
      name: "&c&lCancel Bounty"
      lore:
        - "&7Click to remove the bounty"
        - "&7from this player"
        - ""
        - "&cThis action cannot be undone!"
    
    back:
      slot: 22
      material: ARROW
      name: "&7&lBack"
      lore:
        - "&7Return to My Bounties"
    
    filler:
      enabled: true
      material: BLACK_STAINED_GLASS_PANE
      name: " "
      slots: [0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26]