Files
DirtPVP/target/classes/config.yml
T
2026-06-21 07:43:22 -04:00

112 lines
3.2 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: false
permission-bypass: false
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"
- "rtp"
- "wild"
- "tpa"
- "tpahere"
- "cmi spawn"
- "cmi home"
- "cmi rt"
- "cmi rtp"
- "cmi wild"
- "cmi tpa"
- "cmi tpahere"
kill-rewards:
enabled: true
rewards:
# money:
# enabled: true
# ip-check: true
# commands:
# - "eco give %killer% 1000"
shards:
enabled: true
ip-check: true
commands:
- "shards give %killer% 10"
# broadcast:
# enabled: false
# ip-check: false
# commands:
# - "broadcast &e%killer% &7killed &e%victim%&7."
combat-log:
enabled: true
drop-inventory-on-logout: true
clear-inventory-on-logout: false
kill-player-on-logout: false
lightning-effect: false
console-commands:
- "cmi clear %player%"
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
send-on-combat-log: true
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."
combat-log-self: "&cYou logged out during combat and lost your inventory."
notify-combat-log: "&c%player% logged out during combat and dropped their inventory."
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."