AdvancedSpawnProtection
Gives players spawn protection on join and or respawn

Change Log:
Config additions:
 
ForceDequipWhileProtected: Forces the player to dequip whatever they equipted while under protection, default config value: false.
If Enabled this will disable protection canceling if they try to equip anything also since it will just make them un-equip anything they try to equip
 

 
General Info:

Gives players spawnprotection when they respawn or connect to the server.
By default it also gives them vanish for a few seconds after spawning or connecting, the amount of seconds vanish is given for can be set in the config as well as protection seconds.
 
Protection also cancels if they equip any items (can be disabled in the config).
Protection on join can also be disabled or enabled in the config.
 
Protection also cancels by default if the player is in a vehicle with any others, also if its enabled in the config protected players vehicles they are in will be auto repaired if the vehicle takes any damage (it will only be auto-repaired if its only that player in the vehicle).
 
NOTE: Add the your current set vanish delay in the config file to the MaxProtectionVanishTime (the MaxProtectionVanishTime has to be a whole number, if you add the vanish delay to it and its like 1.2 it will cause a error when the plugin loads, round it up if you need to).

 

Commands:

  • /pstop <player> : Manually stops protection on the specificed player,
    Permission: <Permission Cooldown="0">stopprot</Permission>
  • /pstart <player> : Manually enables protection on a player,
    Permission: <Permission Cooldown="0">startprot</Permission>

 
 

IF YOU USE CUSTOM SPAWN POINTS SET SpawnPositionGetDelay TO 200 OR SO MILLISECONDS HIGHER THAN THE TELEPORT DELAY SET IN CUSTOM SPAWN POINTS CONFIG FILE!
 

 
If you would like to donate to support me you can do it through paypal Here