Video
Readme
Respawn Protection
Protects players from damage after spawning. Supports survival and arena spawns.
Features
- Protects players from damage for a configurable amount of time after spawning
- Conditions to disable protection:
- Moving too far
- Equipping a gun
- Equipping a melee weapon
- Equipping a throwable
- Attacking
- Protection can be disabled for home spawns, so players can't abuse it to protect their base
- Protection can be disabled for PVE damage
- Configurable effect to show when protection is active
- Rich text and icon support for messages
- Arena spawn protection support
Commands
/respawnprotection [player] [duration]- Enable or disable protection for a player for a specified duration. Admin command.
Configuration
<?xml version="1.0" encoding="utf-8"?>
<RespawnProtectionConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MessageColor>yellow</MessageColor>
<MessageIconUrl>https://i.imgur.com/Di3NWF0.png</MessageIconUrl>
<ProtectionDuration>10</ProtectionDuration>
<EnableHomeSpawnProtection>false</EnableHomeSpawnProtection>
<EnableJoinSpawnProtection>false</EnableJoinSpawnProtection>
<EnableArenaSpawnProtection>true</EnableArenaSpawnProtection>
<MaxMoveDistance>10</MaxMoveDistance>
<ProtectFromPVE>true</ProtectFromPVE>
<DisableOnEquipGun>true</DisableOnEquipGun>
<DisableOnEquipMelee>true</DisableOnEquipMelee>
<DisableOnEquipThrowable>true</DisableOnEquipThrowable>
<DisableOnAttack>true</DisableOnAttack>
<DisableOnMove>true</DisableOnMove>
<EffectId>132</EffectId>
<EffectTriggerRate>0.1</EffectTriggerRate>
<AttackMessageRate>2</AttackMessageRate>
<SendProtectionEnabledMessage>true</SendProtectionEnabledMessage>
<ProtectionEnabledMessageDelay>0</ProtectionEnabledMessageDelay>
<SendProtectionDisabledExpiredMessage>true</SendProtectionDisabledExpiredMessage>
<SendProtectionDisabledOtherMessage>true</SendProtectionDisabledOtherMessage>
</RespawnProtectionConfiguration>
Translations
<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Translation Id="SpawnProtectionEnabled" Value="Spawn protection enabled for [[b]]{0}[[/b]] seconds." />
<Translation Id="SpawnProtectionDisabledExpired" Value="Your spawn protection has expired." />
<Translation Id="SpawnProtectionDisabledOnMove" Value="Spawn protection disabled because you moved too far." />
<Translation Id="SpawnProtectionDisabledOnEquipGun" Value="Spawn protection disabled because you equipped a gun." />
<Translation Id="SpawnProtectionDisabledOnEquipMelee" Value="Spawn protection disabled because you equipped a melee weapon." />
<Translation Id="SpawnProtectionDisabledOnEquipThrowable" Value="Spawn protection disabled because you equipped a throwable." />
<Translation Id="SpawnProtectionDisabledOnAttack" Value="Spawn protection disabled because you attacked." />
<Translation Id="SpawnProtectionDisabledWithCommand" Value="Spawn protection disabled by command." />
<Translation Id="PlayerHasProtection" Value="You can't hurt [[b]]{0}[[/b]] because they have spawn protection." />
<Translation Id="SpawnProtectionCommandFormat" Value="You must specify player name." />
<Translation Id="PlayerNotFound" Value="Player not found." />
<Translation Id="SpawnProtectionCommandDisabled" Value="Spawn protection disabled for [[b]]{0}[[/b]]." />
<Translation Id="SpawnProtectionCommandEnabled" Value="Spawn protection enabled for [[b]]{0}[[/b]] for [[b]]{1}[[/b]] seconds." />
</Translations>
You Might Also Like
Death Menu
฿ 473
Revamped death menu with rich customization options.
Boosts
฿ 473
Items that give speed and jump boosts to players. Armor and boosts UI included.
Anti Blowtorch
Free
Prevent players from repairing or salvaging structures while being raided.
Rich Message Announcer
Free
Message announcer, text and web commands with rich text and icons.