• ElectroLock



Locks Switches and Generators

Locks Switches and Generators

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 and 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 --- Placeholder for future use

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
Comments (0)
No customer reviews for the moment.