Its a really simple plugin.
Here's the config, its pretty self explanatory:
Code (Java):
# NewbieProtection config
# Change these values to alter behavior
# How
long the newbie protection lasts
(in seconds
) when given on first join.
protection
-duration
-seconds
:
900 #
900 seconds
=
15 minutes
# Protect players automatically on their FIRST join
?
protect
-on
-first
-join
:
true
#
If
true, players with newbie protection will NOT take environmental damage
(fall, lava, fire, drowning, etc
).
#
If
false, environmental damage still affects them
(but PvP
/ arrows
/ explosions are still handled
).
allow
-environmental
-damage
:
false
# Messages
(use
{duration
} and
{target
} placeholders
)
messages
:
enabled
:
"&aYou have PvP protection for {duration} seconds. Use /newbie disable to turn it off early."
disabled
:
"&aYour PvP protection has been disabled."
no
-protection
:
"&7You don't have PvP protection enabled."
expire
:
"&eYour PvP protection has expired after {duration} seconds."
cannot
-attack
:
"&cYou cannot attack players while PvP protection is enabled. Use /newbie disable to turn it off."
target
-
protected
:
"&e{target} has PvP protection enabled."