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.1.0",
"Protection Duration Seconds": 60,
"Enable Protection Against NPC": true,
"Enable Protection Only For First Spawn": true,
"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 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}."
}