GuardCraft
Keep your base safe from griefers, explosions and nosy neighbours.
Reinforced blocks
Right-click any block with a Reinforcement to protect it. Each tier adds a new protection:
Iron: immune to explosions and pistons.
Gold: only the owner can break it.
Diamond: immune to the Wither and the Ender Dragon.
Netherite: resists lava and fire.
Hold a Reinforcement in your off-hand to reinforce blocks as you place them. Sneak + right-click removes the reinforcement.
Padlocks & keys
Put a Padlock on a door, chest, barrel or furnace and you get its key. Only someone holding that key can open it. Use a blank key on your own padlock to make a copy for a friend.
Keypads
Install a Keypad and set a 4–8 digit code. Too many wrong guesses lock the player out for a while.
Screwdriver
Removes padlocks and keypads from your own blocks.
Config
Server owners can toggle reinforcing existing blocks, let creative-mode operators bypass protections, and change the failed-attempt limit and lockout time.
Requires NeoForge for Minecraft 1.21.1. Works in singleplayer and multiplayer.
You can use the mod in your modpack and publish it if you give credits.