The plugin adds protection for new players, the user can't get damaged for a certain period of time. In config, you can edit everything.
Installation: Just install snNewbieProtection.jar in the plugin folder. Then you can either restart the server.
In plugin is included:
nameTag system
actionBar message with remaining time
title messages
command for checking status and turn off protection
and more.
Commands:
/protection - shows how much protection is left
/protection disable - turning off protection
Permissions: null
Configuration:
Code (Text):
# Protection time in seconds
protectionTime: 300
nameTag:
# Whether nameTags should be enabled
status: true
# To choose a prefix or suffix (PREFIX, SUFFIX)
type: 'SUFFIX'
# Appearance of nameTag
view: " &ePROTECTION"
actionBar:
# Whether actionBar should be enabled
status: true
# Appearence of actionBar message
message: "&eYour protection ends in: &f{TIME}"
title:
settings:
fadeIn: 20
stay: 60
fadeOut: 20
start:
# Whether title message on join should be enabled
status: true
up: "&6Protection"
down: "&eYou have received a protection for &f5 minutes!"
end:
# Whether title message on protection end should be enabled
status: true
up: "&6Protection"
down: "&cYour protection is over!"
protection:
# message when you hit player while you have protection
youhave:
up: "&6Protection"
down: "&eYou can't hit players while you have protection."
someonehave:
up: "&6Protection"
down: "&eThis player have protection!"
# Whether command /protection should be enabled
protectionCommandStatus: true
# Whether subcommand /protection disable should be enabled
protectionDisablerCommandStatus: true
protectionDisablerCommandName: "disable"
messages:
# message when you are not protected
noProtection: "&cYou have no protection!"
# message when you have protection
haveProtection:
- "&6Your protection ends in: &f{TIME}"
- "&6to disable it, type: &c/protection disable"
# message when you disable protection
disableProtection: "&cYou turned off protection!"