Raidable Shelters

Oxide Raidable Shelters 1.7.1

Sign in to download
  • Shelters will no longer spawn if no interior entities can be successfully placed due to bad terrain.
  • Fixed NullReferenceException on plugin unload related to the removal of auto turrets.
  • Auto turrets, landmines, and snap traps are now saved in data file.
  • Traps can now be spawned around shelters, including landmines and bear traps.
  • Added possibility to spawn an auto turret on top of shelters.
    See the documentation for a full breakdown of the new turret settings.
Please wait until the Rust update goes live before downloading.
  • Patched for the upcoming September 5th Rust update.
  • Fixed an issue where shelter data was not removed if the shelter itself was missing or invalid.
  • Fixed interior entities associated with shelters not being correctly removed even if the shelter was not found.
  • Added a new chat command /rs.test, which allows admins to spawn a test shelter at their current location. This command is primarily for testing purposes.
  • Added a new config option Shelter Health, that allows to customize the health of raidable shelters. Note: This setting applies to both the shelter and its door, as their health values are synchronized.
  • Introduced a debug mode to help troubleshoot and visualize the reasons behind shelter spawn failures, including player state (e.g., swimming, near monuments) and environmental factors (e.g., rocks, roads).

    Note: Debug information is drawn only to players with admin privileges. Enable this mode only when necessary!
  • Added support for True PVE.
  • Introduced a spawn chance percentage for each interior entity in shelters. Note: The spawn chance is evaluated individually for each instance of the entity.
  • Added the ability to apply random skins to shelter doors from a predefined list in the config.
  • Renamed api method API_RaidableShelter to API_IsShelterRaidable for consistency.
  • Deauthorize all players from the building privilege of the spawned shelter.
  • Add support for multiple skins for interior entities, enabling random skin selection each time an entity is spawned.
  • Added Notify Surrounding Players Of Shelter Spawn determining whether surrounding players should be notified when a shelter spawns. If set to false, only the player for whom the shelter spawned will be notified.
  • Added Radius For Notifying Nearby Players defining the radius within which nearby players will be notified.
  • Added Send As Toast which if disabled, notifications will be sent as chat messages.
  • Spawned shelters and their interior entities are now stored in a data file.
  • Resume removal timers for shelters upon plugin initialization, ensuring they're always removed as scheduled, even after server crashes.
  • Added localization.
  • Introduced two new hooks for interacting with shelter interior entities:
    • OnShelterInteriorEntitySpawn(LegacyShelter shelter, string prefabName, Vector3 position, Quaternion rotation): Called before an entity is spawned inside a shelter. Returning false will prevent the entity from being spawned.
    • OnShelterInteriorEntitySpawned(LegacyShelter shelter, BaseEntity entity): Called after an entity has been spawned inside a shelter.
  • Added a new API method:
    • bool API_IsShelterRaidable(LegacyShelter shelter): Checks if a given shelter is a raidable shelter based on the stored data.
Back
Top