Skip to content

Usage

Camera

  1. Use the security_camera item in your inventory.
  2. Fill out the devices unique name in the input form.
  3. Place the camera wherever you want it, facing the initial direction it should be. (Note: The camera can only move left/right a specific amount, so make sure to place it in the correct direction)

Sensor

  1. Use the motion_sensor item in your inventory.
  2. Fill out the devices unique name in the input form.
  3. Place the sensor wherever you want it, facing the direction it should be scanning.

Device Menu

  1. Use the command /devices command to access the device menu.
  2. From hear you can do a variety of device management.
  3. You will also have a button for adding access to new devices, shared to you.
FeatureDescription
Access (Camera Only)View the current feed of a camera if it's online and functioning
LocateMark the location of a device on your GPS
ShareCopy the devices UUID to your clipboard, so you can share it with other players
Remove AccessRemove your access to the device

Configuration

config/shared.lua

OptionDefaultDescription
Config.Modelstable<string, number>The model of each device
Config.TypeRoutingtable<string, boolean>Which devices can be placed in a route bucket
Config.MotionSensorDistance7.5How far each motion sensor detects up-to
Config.MotionSensorResetTime25How long a motion sensor takes to re-activate after detecting movement
Config.DevicePlaceDist2.0How close you have to be to a device's position in order to place it down
Config.CameraMaxRotation65.0The max amount a camera can turn left or right from its initial position
Config.BlockedMaterialstable<string, number>Which materials hashes are blocked in device placement

config/server.lua

OptionDefaultDescription
SvConfig.DeviceLifeLength8How long each device lasts before it is auto deleted
SvConfig.Itemstable<string, string>All item names
SvConfig.ItemToDeviceTypetable<string, string>Item names to device type map
SvConfig.ShowAllCommand.nameshow_all_securityName for viewing all currently placed down devices
SvConfig.ShowAllCommand.permissiongroup.adminPermission group for the view all devices command
SvConfig.DevicesCommand.namedevicesName for viewing the devices menu