Files
DirtPVP/target/classes/config.yml
T
2026-06-20 12:07:10 -04:00

90 lines
2.7 KiB
YAML

combat:
duration-seconds: 300
flight:
disable-on-damage: true
disable-on-attack: true
disable-on-join-if-tagged: true
restore-flight-after-combat: false
bypass:
op-bypass: true
permission-bypass: true
permission: "dirtpvp.bypass"
tag-triggers:
any-damage: true
player-vs-player-only: false
attack-any-entity: true
projectile-counts: true
worlds:
mode: "blacklist"
list:
- "spawn"
blocked-commands:
enabled: true
commands:
- "spawn"
- "home"
- "rt"
- "wild"
- "tpa"
- "tpahere"
kill-rewards:
enabled: false
rewards:
money:
enabled: true
ip-check: true
commands:
- "eco give %killer% 1000"
shards:
enabled: false
ip-check: true
commands:
- "shards give %killer% 5"
broadcast:
enabled: false
ip-check: false
commands:
- "broadcast &e%killer% &7killed &e%victim%&7."
notifications:
enabled: true
notify-console: false
require-permission: true
permission: "dirtpvp.notify"
send-on-combat-tag: false
send-on-command-block: true
send-on-flight-block: false
send-on-kill-reward: false
send-on-kill-reward-blocked-by-ip: false
messages:
prefix: "&8[&6DirtPVP&8] &r"
combat-start-damaged: "&cFlight disabled: you were damaged and are now in combat for &e%time%&c seconds."
combat-start-attack: "&cFlight disabled: you attacked something and are now in combat for &e%time%&c seconds."
combat-fly-blocked: "&cYou cannot fly while in combat. Time left: &e%time%&c seconds."
combat-ended: "&aYour combat timer ended. You may fly again if you still have permission."
command-blocked: "&cYou cannot use &e/%command% &cwhile in combat. Time left: &e%time%&c seconds."
notify-command-blocked: "&e%player% &7tried to use &f/%command% &7while in combat."
notify-combat-tagged: "&e%player% &7was combat tagged."
notify-flight-blocked: "&e%player% &7tried to fly while in combat."
notify-kill-reward: "&eExecuted kill reward '&f%reward%&e' for &f%killer% &7after killing &f%victim%&7."
notify-kill-reward-blocked-by-ip: "&cSkipped kill reward '&f%reward%&c' for &f%killer% &7because killer/victim IP matched."
reload-success: "&aDirtPVP config reloaded."
no-permission: "&cYou do not have permission."
notify-enabled: "&aYou will now receive DirtPVP notifications."
notify-disabled: "&cYou will no longer receive DirtPVP notifications."
usage: "&eUsage: /dirtpvp reload &7| &e/dirtpvp notify &7| &e/dirtpvp status [player]"
status-self: "&eCombat status: &f%status% &7| Time left: &f%time%s"
status-other: "&e%player%'s combat status: &f%status% &7| Time left: &f%time%s"
player-not-found: "&cPlayer not found."
only-players: "&cOnly players can use this command."