SpawnProtection


Author: NLBlackEagle
Created: 2014-07-05T05:49:46-0400
Edited: 2014-08-13T15:03:31-0400
Denizen Version: 0.9.5 (build 1507)
Views: 14
Downloads: 788
Likes: 0


WGET
Description:
[UPDATE]: Fixed a issue with multi spawnprotections executing.

[UPDATE]: Now also work with NPC's trying to hit players.

The Npc will hit the player once if it is a sentry and back off. After 10 seconds it will reingage.
The meganism for this part of the script uses the sentry ignore add and remove commands.
During the SpawnProtection the player will also be automaticly healed each 0.5 seconds.

You dont need to make any changes for this update. Put it in your scripts file and it will work!

--------------------------------------------------------------------------------------------------------------------

This script doesnt needs any changes to be made.

Players will get spawnprotection for 10 seconds when they die and execute the /back command. command. They wont be able to take or deal damage during this period.