Safe Respawn

Safe Respawn 1.3.1

Sign in to download
Gives players temporary protection after spawning
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}."
}
Author
VisEntities
Downloads
76
First release
Last update

Ratings

5.00 star(s) 2 reviews

Also by VisEntities

Latest updates

  1. 1.3.1

    Fixed an issue where protected players were unintentionally immune to environmental damage...
  2. 1.3.0

    Added protection against patrol helicopter. Protected players can no longer damage other players...
  3. 1.2.0

    Added config option Enable Protection Against Animals to enable spawn protection against animals...

Latest reviews

absolut +++++ for new players to enter
Perfect for our Newbies as our PvE is full of heavy events. When a new player isnt expecting to encounter a boss monster for example, this is a perfect mod, Cheers Vis =)
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart