https://github.com/monah-rasta/autolock
Oxide plugin for Rust. Automatically adds a codelock to a lockable entity with a set pin
https://github.com/monah-rasta/autolock
oxide plugin rust
Last synced: about 1 month ago
JSON representation
Oxide plugin for Rust. Automatically adds a codelock to a lockable entity with a set pin
- Host: GitHub
- URL: https://github.com/monah-rasta/autolock
- Owner: MONaH-Rasta
- License: mit
- Created: 2025-11-12T00:59:06.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-11-12T02:07:34.000Z (7 months ago)
- Last Synced: 2025-12-27T04:16:57.727Z (5 months ago)
- Topics: oxide, plugin, rust
- Language: C#
- Homepage: https://umod.org/plugins/auto-lock
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AutoLock
Oxide plugin for Rust. Automatically adds a codelock to a lockable entity with a set pin
To hide codelock messages, users will have to turn streamer mode on.
## Permissions
* `autolock.use` - Allows users to use the command and features
* `autolock.item.bypass` - Bypass the item requirement
## Chat Commands
* `/al or autolock` - Brings up a help menu
* `/al or autolock toggle` - Toggles automatic codelocks
* `/al or autolock code` - Changes the code of a player
## Configuration
```json
{
"Disabled Items (Prefabs)": [
"assets/prefabs/deployable/large wood storage/box.wooden.large.prefab"
],
"Code Lock Expiry Time (Seconds, put -1 if you want to disable)": 10.0,
"No Escape": {
"Block Auto Lock whilst in Combat?": true,
"Block Auto Lock whilst Raid Blocked?": true
}
}
```
## Localization
```json
{
"CodeAdded": "Codelock placed with code {0}.",
"Disabled": "You have disabled auto locks.",
"Enabled": "You have enabled auto locks.",
"CodeUpdated": "Your new code is {0}.",
"NoPermission": "You don't have permission.",
"InvalidArgs": "/{0} code|toggle",
"RaidBlocked": "The codelock wasn't automatically locked due to you being raid blocked!",
"CombatBlocked": "The codelock wasn't automatically locked due to you being combat blocked!"
}
```
## Credits
**FuJiCuRa**, implementation of hidden codelock messages