This plugin gives players a brief period of invulnerability after they spawn, preventing spawn camping and giving them a fair chance to get started.
Permissions
saferespawn.use
- Required for players to receive protection.
Configuration
JSON:
{
"Version": "1.3.0",
"Protection Duration Seconds": 120.0,
"Enable Protection Against NPC": true,
"Enable Protection Against Animals": true,
"Enable Protection Against Patrol Helicopter": true,
"Protected Players Cannot Harm Others": true,
"Protect Owned Entities": true,
"Enable Protection Only For First Spawn": false,
"Ignore Sleeping Bag Spawns": true,
"Reset Data On Wipe": true
}
Protection Duration Seconds
- Sets how long players are invulnerable after they respawn.Enable Protection Against NPC
- Whether protection applies against npcs as well.Enable Protection Against Animals
- Whether protection applies against animals.Enable Protection Against Patrol Helicopter
- If enabled, the patrol helicopter will not be able to damage protected players.Protected Players Cannot Harm Others
- If enabled, players under protection will not be able to damage other players during their protection period.Protect Owned Entities
- If enabled, entities (like building blocks, deployables, etc.) owned by protected players are also protected from damage by other real players.Enable Protection Only For First Spawn
- Determines if the protection is only for the player's first spawn after connecting to the server.Ignore Sleeping Bag Spawns
- Specifies whether the protection should ignore respawns from sleeping bags. By default, this is enabled, meaning protection will not apply for these spawns.Reset Data On Wipe
- When enabled, all stored data will be reset when the map is wiped.
Stored Data
The plugin also saves the following information:
JSON:
{
"Previously Connected Players": []
}
Previously Connected Players
- Keeps track of players who have connected to the server before. It helps determine if a player is spawning for the first time or if they are a returning player.
Localization
JSON:
{
"PlayerProtected ": "The player you tried to attack is under spawn protection for {0}.",
"OwnedEntityProtected": "You cannot damage this player's structures; they are spawn protected for {0}.",
"ProtectedCantAttackOthers": "You cannot attack players while you are under spawn protection for {0}."
}