added combatlog

This commit is contained in:
2026-06-20 12:26:43 -04:00
parent 7aad977d66
commit 4d6fb8b213
7 changed files with 185 additions and 33 deletions
Binary file not shown.
+35 -15
View File
@@ -8,8 +8,8 @@ flight:
restore-flight-after-combat: false
bypass:
op-bypass: true
permission-bypass: true
op-bypass: false
permission-bypass: false
permission: "dirtpvp.bypass"
tag-triggers:
@@ -29,28 +29,43 @@ blocked-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: false
enabled: true
rewards:
money:
# money:
# enabled: true
# ip-check: true
# commands:
# - "eco give %killer% 1000"
shards:
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."
- "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: true
kill-player-on-logout: false
lightning-effect: false
notifications:
enabled: true
@@ -62,6 +77,7 @@ notifications:
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"
@@ -75,9 +91,13 @@ messages:
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."
+1 -1
View File
@@ -1,5 +1,5 @@
#Generated by Maven
#Sun Jun 14 18:05:11 EDT 2026
#Sat Jun 20 12:16:51 EDT 2026
artifactId=DirtPVP
groupId=com.bitnix
version=1.0