About Rotate Walls
Wall Rotator
Wall Rotator is a quality-of-life plugin that allows players to rotate walls at any time, bypassing Rust's default 10-minute rotation window. Perfect for servers that want to give players more building flexibility while maintaining control through TC authorization and optional material costs.
Key Features
- Bypass the 10-minute timer - Players can rotate walls long after placement
- TC Authorization - Require cupboard access before allowing rotation (configurable)
- Material costs - Optional resource requirements based on wall tier (wood/stone/metal/armored)
- VIP/MVP support - Configurable cost multipliers for donor tiers
- Admin bypass - Admins can rotate any wall without restrictions
- Safety checks - Prevent rotation of walls with mounted items, explosives, or recent damage
- Developer hooks - API for other plugins to integrate with rotation events
Players often realize they need to rotate a wall after the vanilla timer expires. Rather than tearing down and rebuilding (wasting resources), this plugin gives them the flexibility to fix their mistakes. Server owners maintain control through TC requirements and configurable costs making it feel like players are paying for it.
Configuration
{
"Require TC Authorization": true,
"Enable Rotation Costs": false,
"VIP Cost Multiplier (1.0 = 100%, 0.5 = 50%, 0 = free)": 0.5,
"MVP Cost Multiplier (1.0 = 100%, 0.5 = 50%, 0 = free)": 0.25,
"Block Rotation With Mounted Items": true,
"Block Rotation With Explosives": true,
"Block Rotation After Damage (seconds)": 30.0,
"Material Costs": {
"wood": {
"Item Shortname": "wood",
"Amount": 50
},
"stone": {
"Item Shortname": "stones",
"Amount": 50
},
"metal": {
"Item Shortname": "metal.fragments",
"Amount": 50
},
"toptier": {
"Item Shortname": "metal.refined",
"Amount": 5
}
}
}
Configuration Options
- Require TC Authorization - If true, players must have cupboard access to rotate walls (recommended)
- Enable Rotation Costs - Toggle material costs for rotation
- VIP/MVP Cost Multipliers - Reduce costs for donor tiers (0 = free, 0.5 = 50%, 1.0 = full price)
- Block Rotation With Mounted Items - Prevent rotation if picture frames, shelves, signs, etc. are attached
- Block Rotation With Explosives - Prevent rotation if C4 or satchels are attached
- Block Rotation After Damage - Set cooldown period after wall takes damage (prevents rotation during raids)
- Material Costs - Define resource requirements per wall tier when costs are enabled
Chat Commands
- /rotate - Rotate the wall you're looking at (requires wallrotator.use permission)
Simply look at a wall and type /rotate. The plugin handles the rest.
Permissions
- wallrotator.use - Allows player to use the /rotate command
- wallrotator.admin - Bypasses all restrictions (TC auth, costs, mounted items, explosives, damage cooldown)
- wallrotator.nocost - Rotate walls for free (when costs are enabled)
- wallrotator.vip - Apply VIP cost multiplier
- wallrotator.mvp - Apply MVP cost multiplier (usually lower than VIP)
Note: MVP permission takes priority over VIP if a player has both.
Developer API
Other plugins can integrate with Wall Rotator using these hooks:
- OnWallRotate - Called before rotation occurs. Return non-null to cancel.
- object OnWallRotate(BasePlayer player, BuildingBlock wall) { // Return string message to cancel and notify player // Return any non-null value to silently cancel // Return null to allow rotation }
- OnWallRotated - Called after successful rotation.
- void OnWallRotated(BasePlayer player, BuildingBlock wall) { // Perform actions after wall is rotated }
