Jump to content

Use Siren.json to choose a sound, control where it plays, and schedule alerts.

Presets and placement

  • Industrial runs the original looping alarm for 90 seconds.
  • AirRaid plays the roughly 88-second air raid clip once. Its emitters stay where they start.
  • DeepSea plays the 16-second Deep Sea warning five times.
  • Evacuation plays Air Raid and Deep Sea together.
  • Custom uses a compatible Rust sound effect or powered alarm. Adjust the sound path, duration, height, and effect repeats under Siren.Custom.

Set Siren.UseMonumentSirens to true to place any preset at monuments. In player mode, powered alarms follow players. Nearby Custom effects can overlap, and shorter repeat intervals increase server and client load.

Stopping an alert. Stop removes Siren’s emitters and cancels future repeats. A clip that is already playing may finish, including the Air Raid clip in Evacuation.

Schedules

Set Enabled to true in the schedule you want and add times to its Times list.

  • Server time uses 24-hour clock strings. For example, set ServerTimeSchedules.Times to ["06:00", "14:30"].
  • Game time uses decimal hours. For example, set GameTimeSchedules.Times to ["6.00", "18.50"] for 06:00 and 18:30 in Rust.

Commands

In chat, use /siren, /siren status, and /siren stop. The console equivalents omit the slash. Player-issued start and status commands require siren.use. Player-issued stop commands also require siren.admin. Players need siren.admin for console commands that change settings.

  • siren.setduration <seconds> sets the Custom duration.
  • siren.setsound <path> selects Custom and sets the sound path. Quote paths with spaces.
  • siren.setrepeat <true|false> <interval> controls Custom effect repeats. The interval is in seconds.
  • siren.setnotification <message> updates the notification text.
  • siren.enablenotification <true|false> toggles notifications.
  • siren.setguiannouncements <true|false> [bannerColor] [textColor] configures the optional banner.
  • siren.help lists available commands.

Example configuration

Use this as a reference when editing the configuration Siren generates. Both schedules are disabled in this example.

{
  "General": { "Command": "siren" },
  "Siren": {
    "SoundPreset": "Industrial",
    "UseMonumentSirens": false,
    "Custom": {
      "SoundPath": "assets/prefabs/io/electric/other/alarmsound.prefab",
      "Duration": 30,
      "Height": -10,
      "RepeatSound": false,
      "RepeatEverySeconds": 1
    }
  },
  "Notifications": {
    "Enabled": true,
    "Message": "The siren has been triggered!",
    "UseGUIAnnouncements": false,
    "GUIBannerColor": "Red",
    "GUITextColor": "White"
  },
  "ServerTimeSchedules": {
    "Enabled": false,
    "CheckIntervalSeconds": 20,
    "Times": []
  },
  "GameTimeSchedules": {
    "Enabled": false,
    "CheckIntervalSeconds": 20,
    "Times": []
  },
  "Debug": false
}

For installation and permission setup, see Setup & Permissions.


About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.7k
Total sales
Payments
3.9m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.