About Lock Your Barrels
Lock Your Barrels v1.1.0
Make all your storage barrels lockable in Rust! Supports vanilla barrels and all DLC content (Abyss, Jungle).
Key Features
- Auto-lock barrels - All barrels become lockable on spawn
- DLC Support - Works with Abyss & Jungle DLC barrels
- Dynamic Addition - Add new barrel types with a hammer
- Simple Commands - Easy admin management
- Multilingual - English & French support
Quick Start
- Install the plugin
- Grant admin permission: oxide.grant user <name/id> lockbarrels.admin
- Use /lockbarrels_refresh to make existing barrels lockable
- NEW: Use /lockbarrels_add + hammer to add custom barrels
Commands
- /lockbarrels_refresh - Make all barrels lockable
- /lockbarrels_add - Toggle barrel addition mode
- /lockbarrels_list - List supported barrels
- /lockbarrels_clean - Remove duplicate entries
- /lockbarrels_reset - Reset to defaults
Adding Custom Barrels
- Type /lockbarrels_add to enable addition mode
- Equip a hammer
- Hit any barrel to add it
- Type /lockbarrels_add again to disable mode
Supported Barrels (Default)
- Storage Barrel B & C (Base DLC)
- Abyss Horizontal & Vertical Barrels
- Wicker Barrel (Jungle DLC)
- Bamboo Barrel (Jungle DLC)
Configuration
Located in oxide/config/LockBarrels.json:
{ "Command": "lockbarrels_refresh", "AddCommand": "lockbarrels_add", "ListCommand": "lockbarrels_list", "CleanCommand": "lockbarrels_clean", "ResetConfigCommand": "lockbarrels_reset", "PermAdmin": "lockbarrels.admin", "SupportedBarrels": ["..."] }
Permissions
- lockbarrels.admin - Required for all commands
Pro Tips
- Barrels placed before plugin installation need /lockbarrels_refresh
- New barrels are automatically lockable
- Remove unwanted barrels from config - they won't be re-added
- Use /lockbarrels_clean if you have duplicates
Language Support
Automatically detects player language from Steam (French/English)