Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

1 Screenshot

  • 3,524
  • 241
  • 18.31 kB

About ElectroLock

Adds an associated code lock underneath a placed electrical switch or on a fuel generator. This feature can be enabled or disabled to facilitate the placement of switches or generators normally without the lock. The lock code must be set and the lock locked to lock the switch or generator.



On first use, the player must enable first via the chat command /el on. This setting will remain until the player enters /el off.

Switches or generators are placed normally via the Rust user interface. Be sure to leave enough room below switches for the lock.

When the user attempts to pickup the lock, access will be denied. However, they can pickup the switch or generator as they would normally, and the lock will also be removed. A player cannot pickup or toggle a locked switch or generator.


  "Settings": {
    "Owner can bypass lock": false
  • Owner can bypass lock - If true, the owner of the locked switch or generator can open or toggle it without unlocking first.


  • electrolock.use -- Allows player to placed a locked switch
  • electrolock.admin -- Currently only to allow use of /el who.

Chat Commands

  • /el -- Display enable/disable status with instructions
  • /el on -- Enable locked switch/generator placement (switch with an associated lock)
  • /el off -- Disable locked switch/generator placement (standard behavior without lock)
  • /el who -- Allows user with admin permission above to see who owns the switch they are looking at
  • Like 1

RFC1920's Other Downloads

User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

10,558 files sold to 909 customers and $165,144 of payments processed!

  • 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.