Implemented the ability to toggle pvp (#97)

* Implemented the ability to toggle pvp

* Changed listener to  PrePlayerAttackEntityEvent

* ... Updated the formatting so I don't get screamed at !

* _
This commit is contained in:
james
2024-06-04 16:30:34 +01:00
committed by GitHub
parent 9e974ae737
commit e066d9b3a1
5 changed files with 90 additions and 6 deletions
+1
View File
@@ -119,6 +119,7 @@ playerFrozen: "<red>That player is already frozen!"
playerMuted: "<red>That player is already muted!"
playerLockedUp: "<red>That player is already locked up!"
muted: "<red>You are currently muted - STFU!"
pvpDisabled: "<red>PVP has been disabled!"
chatIsOff: "<red>Chat is currently toggled off!"
# 0 - The command sender
# 1 - The set value of the chat toggle
+3
View File
@@ -14,3 +14,6 @@ redstone: true
# Is chat enabled?
chat: true
# Is PVP enabled?
pvp: true