AutomatedSearchlights

AutomatedSearchlights 0.2.35

Added ability to toggle the light on/off when controlling it using the FIRE button
Changed searchlight name string in overlay
Forgot to mention in the previous patch notes you can now name your searchlights by typing '/sl name <name>' which will be reflected in the console view and overlay
Updated for RustNET v0.1.05
Added config options to disable any control/access feature
Added config options to display a UI overlay when controlling the searchlight
  • Like
Reactions: Vustra.
Register custom permissions
  • Like
Reactions: Gen. Sriracha
Added config option to allow players to automate lights with out the need for a terminal (Doing this ignores the amount restriction)
Added config option to create permissions to allow different light limits
Fixed spectate switch glitch
Complete plugin rewrite utilizing RustNET https://www.chaoscode.io/resources/rustnet.95/
RustNET is now required to use AutomatedSearchlights

Added remote access functionality via RustNET
Added configurable detection distances for each detection type
Added configurable threat rating system to prioritise target entities
Added target switching based on threat rating and distance
Improved detection and search pattern methods
Improved overall performance
Plus much more
Added permission "automatedsearchlights.ignorelimit" to bypass the light limit
The config has changed! See below for information regarding changing your config

Possible fix for toggle error
Added helicopters to the detection list

Config Changes (1 line)
C#:
{
  "DetectionOptions": {
    "Detect Animals": true,
    "Detect Enemies": true,
    "Detect Friends": false,
    "Detect Helicopters": true, // This line here
    "Search Radius": 25.0
  },
  "ManagementOptions": {
    "Allow clan mates to set lights": true,
    "Allow friends to set lights": true,
    "Maximum autolights per user": 3
  },
  "OtherOptions": {
    "Automated at night time only": true,
    "Flicker - Flicker when damaged": true,
    "Flicker - Light health to cause flicker": 0.5,
    "Lights consume fuel": false,
    "Night end time": 8.0,
    "Night start time": 19.0,
    "Search mode - Activate when nothing detected": true,
    "Search mode - Rotation speed": 15.0
  }
}
The config has changed! See below for information regarding updating your config

Added start and end times into the config

Config Changes (2 lines)
C#:
{
  "DetectionOptions": {
    "Detect Animals": true,
    "Detect Enemies": true,
    "Detect Friends": false,
    "Search Radius": 25.0
  },
  "ManagementOptions": {
    "Allow clan mates to set lights": true,
    "Allow friends to set lights": true,
    "Maximum autolights per user": 3
  },
  "OtherOptions": {
    "Automated at night time only": true,
    "Flicker - Flicker when damaged": true,
    "Flicker - Light health to cause flicker": 0.5,
    "Lights consume fuel": false,
    "Night end time": 8.0, // Add this line here
    "Night start time": 19.0, // Add this line here
    "Search mode - Activate when nothing detected": true,
    "Search mode - Rotation speed": 15.0
  }
}
  • Like
Reactions: Lone
Fix for Rust update
Fixed tracking entities that were already tracked
Fixed reload bug
Fixed automation for newly created autolights
  • Like
Reactions: Lone