Gives players protection from other players damaging them, or NPC

Supported Games
works with

Respawn Protection allows players to be protected from damage, whether it be another player, an NPC, or themselve for a specified amount of time.

Permissions

  • respawnprotection.use - Allows players with permission to be protected from respawn.

Configuration

{
  "Respawn Protection Timer": 30.0,
  "Disable Protection If Raid Blocked": false,
  "Protect From PVE": true
}

Localization

{
  "RespawnProtected": "You are protected from damage for the next {0} seconds.",
  "NotProtected": "Your damage protection has expired.",
  "CantDamage": "This player is protected and you can't damage them for {0} seconds.",
  "RaidBlocked": "You are raid blocked, so your respawn protection has been disabled."
}

Note: If adjusting a language value with variables make sure to keep the {0} and {1} in the same order.

MIT License


Copyright (c) 2020 Ryz0r


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.