- Tags
-
- Tags
- hcf new protection pvp
This plugin gives new players protection from pvp when they first join the server or after death.
Config
Commands:
/pvp enable - Removes the pvp protection
/pvp time - Displays how long you have left on your protection.
/pvp give <name> - Gives default protection time to a player (perm: protection.admin)
/pvp remove <player> - Removes protection from a player (perm: protection.admin)
If you have any issues with the plugin PM and i'll fix the issue.
Config
Code:
Settings:
DefaultTime: 30 #Time in mins
PickUpItems: false
DropItems: true
LoseHunger: true
AddProtectionOnRespawn: true
IntervalMessages: true
IntervalTime: 5 #Messages will be sent every 5 mins to the player
Scoreboard:
Enabled: false
Title: '&7&lScoreboard Title'
Objective: '&9&lProtection: &7%time%'
Messages:
TimerPaused: '&eYour protection has been paused'
TimerUnPaused: '&eYour protection is no longer paused'
AttackPlayer: '&cYou are currently protected. use /pvp enable to remove protection'
AttackProtectedPlayer: '&cThis player is currently protected'
TimeLeft: '&cYou currently have %mins% minutes and %secs% seconds left'
NoTimeLeft: '&cYou do not have protection!'
EnabledProtection: '&cYou have disabled your protection!'
IntervalMessage: '&cYou currently have %mins% minutes and %secs% seconds left' #Will only be sent if IntervalMessages is True
AdminRemovedProtection: '&cYou removed %player%''s protection'
AdminGiveprotection: '&aYou have give %player% protection'
PickUpItemsMessage: '&cYou cannot pickup items while protected!'
DropItemsMessage: '&cYou cannot drop items while you are protected!'
PlayerHelp:
- '&c/pvp enable - removes your protection'
- '&c/pvp time - shows time remaining on your protection'
AdminHelp:
- '&c/pvp enable - removes your protection'
- '&c/pvp time - shows time remaining on your protection'
- '&c pvp remove <player> - removes a players protection'
- '&c/pvp give <player> - gives a player the player default pvp protection'



Commands:
/pvp enable - Removes the pvp protection
/pvp time - Displays how long you have left on your protection.
/pvp give <name> - Gives default protection time to a player (perm: protection.admin)
/pvp remove <player> - Removes protection from a player (perm: protection.admin)
If you have any issues with the plugin PM and i'll fix the issue.