Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
/ Lights Public archive
forked from SebasCapo/Lights

An extremely configurable SCP:SL-EXILED Plugin that allows you to control many aspects of it's facility's power systems.

License

Notifications You must be signed in to change notification settings

Misaka-SL-Project/Lights

 
 

Repository files navigation

Github All Releases Maintenance GitHub license Releases Support

Lights 7.0

An extremely configurable SCP:SL-EXILED Plugin that allows you to control many aspects of it's facility's power systems. Compatiable with EXILED 7.0

What does it do?

This plugin lets you change a variety of different settings per room and/or zone, these settings vary from changing a lights color, to turning them off! You can even lock all the doors in a room indefinitely or temporarily.

You can use this to have automatic events using the preset system, or affecting a room/zone of your liking using the lights RA/Console command.

This plugin also has a Smart Tesla Gates mode, which makes tesla gates not trigger when the light settings in their room reach a certain minimum, such as a specific light intensity, color or simply them being turned off.

Installation

As with any EXILED plugin, you must place the Lights.dll file inside of your "/Exiled/Plugins" folder.

(EXILED is required for this plugin to work).

Commands

Arguments inside <> are required. [] means it's optional.

  • WARNING: The main command's name (and it's aliases) can be modified inside the config, so it might be different on the server you are in.
  • 2nd WARNING: Depending on your system's culture settings, decimal values in-game might need to use commas instead of dots. (You can most likely ignore this warning, but here's an example for those suffering from this: 0.7 > 0,7)
Command Description
lights This will print you a help message with examples on how to use this command.
lights <presetId> This will run one of the presets from the server's config.
lights <roomType/zoneType> <duration> <modifierType> [parameters] This will run a temporary/permanent custom effect on a specific room/entire zone, click here for a more up-to-date list of all modifier types
Modifiers Description Arguments Example
Color Will modify the color of all the lights in a room. <r> <g> <b> 255 100 255
Intensity Will modify the light's intensity in a room. <intensity> 0.5
Blackout Will turn all lights in a room off. N/A N/A
Lockdown Will lock all doors in a room. (Works weird) N/A N/A

Configuration

Exiled 2.0 or above has auto-generated config files, alongside documentation! So check out your config file for more information on it!

Permissions

These are the permissions that should be added to your permissions.yml inside your "/Exiled/Configs" folder.

Permission Description
lights.custom Gives access to the lights <roomType/zoneType> <duration> etcetc... command.
lights.presets Gives access to the lights <PresetID> command.
lights.presets.<id> Gives access to a specific preset. This won't work if SpecificPermissionsRequired is set to false!
lights.presets.* Gives access to all presets.
lights.* Gives all the permissions above.

That'd be all

Thank you for passing by, have a nice day! :)

About

An extremely configurable SCP:SL-EXILED Plugin that allows you to control many aspects of it's facility's power systems.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%