Files
DirtBounties/target/classes/config.yml
T
2026-06-24 18:38:15 -04:00

155 lines
4.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DirtBounties main configuration
# Paper 1.21.x, Java 21
#
# Color formatting supports normal ampersand colors, hex colors like &#D4AF37,
# and the DirtbagMC gradient style shown below.
server:
brand-name: "DirtbagMC"
brand-gradient: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ&#7A4A2A&lʙ&#8B6B35&lᴀ&#A8873F&lɢ&#D4AF37&lᴍ&#B9C63F&l"
debug: false
storage:
# Active bounty data is saved after important mutations and on this autosave interval.
autosave-interval: "5m"
cleanup-expired-interval: "10m"
save-player-ip-cache: true
write-history-to-disk-immediately: true
economy:
enabled: true
# DirtBounties uses Bukkit ServicesManager economy registration.
# This supports normal Vault and CMI's Vault injector.
fail-if-missing: false
provider-log-on-enable: true
minimum-balance-after-withdraw: 0.0
currency-format: "${amount}"
fees:
# Placement fee can be charged as extra money or deducted from the bounty value.
placement-percent: 5.0
placement-mode: "extra" # extra, deduct
add-percent: 5.0
add-mode: "extra" # extra, deduct
claim-tax-percent: 0.0
claim-sink-percent: 0.0
broadcasts:
enabled: true
placed-threshold: 5000.0
claimed-threshold: 5000.0
milestone-thresholds:
- 10000.0
- 25000.0
- 50000.0
bounties:
min-amount: 100.0
max-amount: 1000000.0
stack-existing: true
allow-self-target: false
allow-offline-targets: true
# If false, targets must be online or have joined before.
# If true, Bukkit may create an OfflinePlayer profile for unknown names.
allow-never-joined-targets: false
allow-banned-targets: false
allow-anonymous: true
anonymous-requires-permission: true
allow-reasons: true
max-reason-length: 80
default-reason: "No reason given."
placement-cooldown: "30s"
require-confirmation-gui: true
expiration:
enabled: true
default-duration: "14d"
max-duration: "30d"
# If true, a bounty without contributions gets removed during cleanup.
remove-empty-bounties: true
banned-player-action: "keep" # keep, expire
deleted-player-action: "keep" # keep, expire
refunds:
# Refund percentage is based on the active contribution value, not placement fees.
on-admin-remove-percent: 100.0
on-expire-percent: 50.0
on-invalid-percent: 100.0
refund-fees: false
refund-offline-players: true
minimum-refund: 0.01
claim-rules:
require-permission: true
require-pvp-kill: true
block-environmental-deaths: true
prevent-self-claims: true
prevent-same-ip-claims: true
prevent-shared-known-ip-claims: true
allow-bypass-permission: true
require-target-online-at-death: true
blocked-killer-game-modes:
- CREATIVE
- SPECTATOR
worlds:
mode: "blacklist" # disabled, whitelist, blacklist
list:
- spawn
- events
combat:
enabled: true
window: "30s"
min-damage: 4.0
min-hits: 1
min-combat-duration: "0s"
anti-abuse:
enabled: true
log-failed-claims: true
log-same-ip-attempts: true
killer-claim-cooldown: "2m"
target-claim-cooldown: "2m"
killer-target-pair-cooldown: "12h"
same-victim-cooldown: "10m"
pair-window: "7d"
max-pair-claims-in-window: 2
suspicious-history-limit: 500
run-console-commands-on-suspicious: false
suspicious-commands:
- "staffmsg Suspicious bounty claim: {killer} -> {target}: {reason}"
history:
enabled: true
max-records: 2000
max-records-per-player-command: 10
prune-older-than: "90d"
gui:
enabled: true
open-sound: "BLOCK_BARREL_OPEN"
click-sound: "UI_BUTTON_CLICK"
success-sound: "ENTITY_PLAYER_LEVELUP"
error-sound: "ENTITY_VILLAGER_NO"
items-per-page: 28
refresh-after-action: true
close-on-confirm: true
chat-input-timeout: "60s"
webhooks:
enabled: false
url: ""
username: "DirtBounties"
large-bounty-threshold: 25000.0
large-claim-threshold: 25000.0
notify-placements: true
notify-claims: true
notify-admin-actions: true
timeout-seconds: 8
logging:
console:
economy-status: true
placements: true
claims: true
admin-actions: true
suspicious: true
file-history: true