feat(protection): add configurable Strength effect
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Whether Leaf protection is available server-wide.
|
||||
enabled: true
|
||||
|
||||
# Visible Minecraft Resistance level (I-V).
|
||||
# Visible Minecraft Resistance and Strength levels (I-V).
|
||||
resistance-level: 1
|
||||
strength-level: 1
|
||||
|
||||
# Legacy color codes are supported.
|
||||
prefix: "&a🍃 "
|
||||
@@ -10,6 +11,6 @@ prefix: "&a🍃 "
|
||||
# Calendar-day onboarding window measured from first join.
|
||||
onboarding-days: 7
|
||||
|
||||
welcome-message: "&aLeaf protection is available: /leaf on, /leaf off, or /leaf status. Attacking another player opts you out."
|
||||
welcome-message: "&aLeaf Resistance and Strength are available: /leaf on, /leaf off, or /leaf status. Attacking another player opts you out."
|
||||
combat-disabled-message: "&cLeaf protection was disabled because you attacked another player. You may use /leaf on again when permitted."
|
||||
locked-message: "&cAn administrator locked your Leaf setting."
|
||||
|
||||
@@ -2,12 +2,12 @@ name: Leaf
|
||||
version: ${version}
|
||||
main: games.dmg.leaf.LeafPlugin
|
||||
api-version: "1.20"
|
||||
description: Voluntary visible Resistance protection for non-aggressive players.
|
||||
description: Voluntary visible Resistance and Strength protection for non-aggressive players.
|
||||
author: dmg.games
|
||||
commands:
|
||||
leaf:
|
||||
description: Control or administer Leaf protection.
|
||||
usage: /leaf <on|off|status|enabled|strength|player>
|
||||
usage: /leaf <on|off|status|enabled|effect|strength|player>
|
||||
permissions:
|
||||
leaf.use:
|
||||
description: Allows a player to control their own Leaf protection.
|
||||
|
||||
Reference in New Issue
Block a user