ResidenceModFix icon

ResidenceModFix -----

Fixed an issue where Residence provinces could not intercept mod container interactions



️ Residence Mod Fix ️
Fix Residence Permissions for Modded Blocks

Prevent unauthorized access to modded blocks in residences

Download Requirements

Required:

✨ What is Residence Mod Fix?

Residence Mod Fix is a lightweight protection plugin that fixes Residence's inability to protect modded blocks. If you run a modded server and notice players can interact with modded machines/blocks in other players' residences, this plugin solves that problem!

Key Features:
  • Modded Block Protection - Blocks interaction with ALL blocks (vanilla & modded)
  • Silent Protection - No spam messages, clean experience
  • Zero Configuration - Works immediately after installation
  • Container Permission System - Respects Residence container permissions
  • World Support - Only protects in Residence-protected areas
  • Lightweight - Minimal performance impact
  • Forge/Fabric Compatible - Works with any modded setup

⚙️ How It Works

Protection Logic:
  • Outside Residences - Allow all interactions (wilderness)
  • Residence Owner - Allow all interactions in own residence
  • Players with Container Permission - Allow interactions for permitted players
  • OP Players - Allow all interactions (admin bypass)
  • Others - Block all interactions (silently, no messages)

What It Protects:
  • Modded Machines - Industrial Craft, Mekanism, Thermal, etc.
  • Modded Storage - Custom chests, barrels, drawers
  • Power Systems - Cables, generators, batteries
  • Control Panels - Any interactive modded blocks
  • Vanilla Blocks - Also protects vanilla blocks (as a bonus!)

⚙️ No Configuration Needed

This plugin has:
  • ❌ No config files
  • ❌ No commands
  • ❌ No permissions
  • ❌ No setup required

Just install and it works!

Simply drop the plugin in your plugins/ folder and restart. It automatically:
  • Detects Residence-protected areas
  • Identifies residence owners and permitted players
  • Blocks unauthorized interactions
  • Allows authorized access based on container permissions

Installation Guide
  1. Download ResidenceModFix.jar
  2. Make sure Residence is installed
  3. Place ResidenceModFix.jar in your plugins/ folder
  4. Restart your server
  5. Done! Protection is active immediately

❓ Frequently Asked Questions

Q: Does this work with vanilla servers?
A: Yes, but Residence already handles vanilla blocks. This plugin is designed for servers with mods where Residence's protection doesn't work.

Q: Which mods are supported?
A: All mods! This plugin doesn't check specific mod blocks - it intercepts ALL block interactions and applies Residence's permission system to them.

Q: Why don't players see error messages?
A: The plugin uses "silent protection" to avoid spamming chat. Players simply can't interact with protected blocks.

Q: Will this conflict with Residence?
A: No! This plugin enhances Residence by extending its protection to modded blocks. They work together perfectly.

Q: Does this work outside residences?
A: No, the plugin only protects blocks INSIDE residences. Wilderness is unaffected.

Q: Can I add friends to my residence?
A: Yes! Use Residence's standard /res pset <player> container true command. Once they have container permission, they can interact with all blocks.

Q: Does this protect against explosions?
A: No, this plugin only handles player interactions. Use Residence's explosion flags for that.

Q: Does this work on Paper/Purpur?
A: Yes! It works on Spigot, Paper, Purpur, and most 1.13+ forks with Residence.

Q: Can I customize which blocks are protected?
A: No, the plugin protects ALL blocks in residences. This is intentional to ensure complete protection.

Q: Why make a separate plugin for this?
A: Residence's core protection doesn't detect modded blocks because mods add blocks in ways that bypass normal Bukkit events. This plugin uses a different approach to catch everything.

Q: Is this compatible with WorldGuard?
A: Yes, but remember that Residence should be the primary protection in residence areas. Use WorldGuard for other regions/worlds.

Q: Does this cause lag?
A: No! The plugin is extremely lightweight - it only checks residence permissions for block interactions, which is very fast.

Q: Do OP players bypass this protection?
A: Yes, OP players can interact with all blocks regardless of residence permissions (admin privilege).

Perfect For

  • Modded Servers - Any server running Forge/Fabric mods
  • Industrial Servers - Tech mods with machines
  • Residence Servers - Protected land claims with modded blocks
  • Hybrid Servers - Vanilla + mods with land protection
  • Survival Servers - Any Residence server with mods

Technical Details

How It Works (For Developers):
  • Listens to PlayerInteractEvent at HIGHEST priority
  • Checks if clicked block location is in a Residence
  • Verifies player has container permission in that residence
  • Allows OP players to bypass protection
  • Cancels event if unauthorized (no messages sent)

Why Residence Misses Modded Blocks:
  • Modded blocks often use custom interaction events
  • Residence filters by block type (doesn't recognize mod blocks)
  • This plugin intercepts at a higher level (all block interactions)



Support & Community

Need help? Join our Discord!
Join Discord Server

⭐ If you enjoy this plugin, please leave a 5-star review! ⭐

Your feedback helps improve the plugin and supports continued development! ✨

Custom Development Available!
Need a custom plugin or mod for your server? Feel free to contact me for commission work!


Made with ❤️ by Roinflam
Resource Information
Author:
----------
Total Downloads: 5
First Release: Today at 12:47 PM
Last Update: Today at 12:47 PM
Category: ---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings