added
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,89 @@
|
||||
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."
|
||||
@@ -0,0 +1,29 @@
|
||||
name: DirtPVP
|
||||
version: 1.0
|
||||
main: com.bitnix.dirtpvp.DirtPVPPlugin
|
||||
api-version: '1.21'
|
||||
author: bitnix
|
||||
description: Advanced anti-flight and combat restriction plugin.
|
||||
|
||||
commands:
|
||||
dirtpvp:
|
||||
description: Main DirtPVP command
|
||||
usage: /dirtpvp
|
||||
aliases: [antiflypvp]
|
||||
|
||||
permissions:
|
||||
dirtpvp.use:
|
||||
description: Allows use of DirtPVP
|
||||
default: true
|
||||
|
||||
dirtpvp.reload:
|
||||
description: Allows reloading DirtPVP config
|
||||
default: op
|
||||
|
||||
dirtpvp.bypass:
|
||||
description: Bypass combat restrictions
|
||||
default: op
|
||||
|
||||
dirtpvp.notify:
|
||||
description: Receive DirtPVP staff notifications
|
||||
default: op
|
||||
@@ -0,0 +1,5 @@
|
||||
#Generated by Maven
|
||||
#Sun Jun 14 18:05:11 EDT 2026
|
||||
artifactId=DirtPVP
|
||||
groupId=com.bitnix
|
||||
version=1.0
|
||||
@@ -0,0 +1,2 @@
|
||||
com/bitnix/dirtpvp/DirtPVPPlugin.class
|
||||
com/bitnix/dirtpvp/DirtPVPPlugin$KillRewardRule.class
|
||||
@@ -0,0 +1 @@
|
||||
/home/bitnix/Desktop/DirtPVP/src/main/java/com/bitnix/dirtpvp/DirtPVPPlugin.java
|
||||
Reference in New Issue
Block a user