About Lock oven and refinery
Lock Your Ovens v2.1.2
Make all your furnaces and refineries lockable in Rust! Supports every vanilla furnace, including the new industrial ones, and any custom oven you add.
Key Features
- Auto-lock ovens - All configured ovens become lockable when placed
- All vanilla furnaces - Furnace, Large Furnace, Legacy Furnace, Small Oil Refinery, Electric Furnace, Industrial Electric Furnace, Large Industrial Furnace
- Automatic skin support - Skin variants of a supported oven use the settings of their base oven, so future furnace skins work without an update
-
Live lock positioning - Look at an oven and move its lock in game with
/lockoven_pos, saved instantly - Dynamic Addition - Add new oven types with a hammer
- Multilingual - English & French support
- Oxide and Carbon - Tested on both
Quick Start
- Install the plugin
-
Grant admin permission:
oxide.grant user <steamid> lockoven.admin(Carbon:c.grant user <steamid> lockoven.admin) -
Use
/lockoven_refreshto make ovens already placed on your server lockable -
Use
/lockoven_add+ hammer to add custom ovens
Commands
-
/lockoven_refresh- Make all configured ovens lockable -
/lockoven_add- Toggle oven addition mode -
/lockoven_list- List supported ovens with lock positions -
/lockoven_pos [x y z [rx ry rz]]- NEW Look at an oven: show its lock position, or set a new one (moves every lock of that oven type instantly) -
/lockoven_clean- Remove invalid entries -
/lockoven_reset- Reset to defaults -
Server console:
lockoven.pos <oven short name> [x y z [rx ry rz]]- same as/lockoven_pos, without looking at the oven
Adding Custom Ovens
-
Type
/lockoven_addto enable addition mode - Equip a hammer
- Hit any oven/furnace to add it
-
Type
/lockoven_addagain to disable mode -
Look at it and use
/lockoven_posto place the lock exactly where you want
Supported Ovens (Default)
- Furnace
- Legacy Furnace
- Large Furnace
- Large Industrial Furnace
- Small Oil Refinery
- Electric Furnace
- Industrial Electric Furnace
Configuration
Located in oxide/config/Lockoven.json (Carbon: carbon/configs/Lockoven.json
{
"RefreshCommand": "lockoven_refresh",
"AddCommand": "lockoven_add",
"ListCommand": "lockoven_list",
"CleanCommand": "lockoven_clean",
"ResetConfigCommand": "lockoven_reset",
"PermAdmin": "lockoven.admin",
"ActivatePermUse": false,
"PermUse": "lockoven.use",
"SupportedOvens": {
"assets/prefabs/deployable/furnace/furnace.prefab": {
"LockPosition": {"x": -0.02, "y": 0.3, "z": 0.5},
"LockRotation": {"x": 0, "y": 90, "z": 0}
}
}
}
Permissions
-
lockoven.admin- Required for all admin commands -
lockoven.use- Required to lock ovens (optional, disabled by default)
Pro Tips
-
Ovens placed before installing or updating the plugin need
/lockoven_refreshonce - New ovens are automatically lockable if in config
-
Use
/lockoven_posinstead of editing the config to place locks perfectly - Updating from an older version adds the industrial furnaces to your config automatically, your custom positions are kept
Language Support
Automatically detects player language (French/English)
