Home›Java›Mods›Block Disabler
Block Disabler
ModsJava

Block Disabler

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot

  • [​IMG]

️ BlockBreakDisabler
Prevent players from breaking specific blocks!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
​

✨ Features


Perfect For


⚙️ Configuration

Code (Text):

# ===================================
# DISABLED BLOCKS LIST
# Add block names here that you
# want to prevent players from
# breaking.
# ===================================

disabled-blocks:
  - DIAMOND_ORE
  - DEEPSLATE_DIAMOND_ORE
  - EMERALD_ORE
  - DEEPSLATE_EMERALD_ORE
  - GOLD_ORE
  - DEEPSLATE_GOLD_ORE
  - IRON_ORE
  - ANCIENT_DEBRIS
  - SPAWNER

# Message sent to player when they try to break a disabled block
# Supports color codes with &
message: "&c&l⚠ &cYou can't break this block right now!"
 
Permissions

Permission Description Default
blockdisabler.bypass Allows player to bypass block break restrictions OP


Installation

  1. Download the plugin JAR file
  2. Place the .jar file in your server's plugins folder
  3. Start or restart your server
  4. Edit plugins/BlockBreakDisabler/config.yml
  5. Add the block names you want to disable
  6. Restart the server or reload the plugin
  7. Done! Enjoy! ✅

Supported Block Names

Spoiler: Click here to see common block names
Code (Text):

# Ores
DIAMOND_ORE
DEEPSLATE_DIAMOND_ORE
EMERALD_ORE
DEEPSLATE_EMERALD_ORE
GOLD_ORE
DEEPSLATE_GOLD_ORE
IRON_ORE
DEEPSLATE_IRON_ORE
COAL_ORE
DEEPSLATE_COAL_ORE
COPPER_ORE
DEEPSLATE_COPPER_ORE
LAPIS_ORE
DEEPSLATE_LAPIS_ORE
REDSTONE_ORE
DEEPSLATE_REDSTONE_ORE

# Nether Blocks
ANCIENT_DEBRIS
NETHER_GOLD_ORE
NETHER_QUARTZ_ORE

# Valuable Blocks
SPAWNER
OBSIDIAN
CRYING_OBSIDIAN
NETHERITE_BLOCK
DIAMOND_BLOCK
EMERALD_BLOCK

# Special Blocks
BEDROCK
END_PORTAL_FRAME
DRAGON_EGG
BEACON
 

How It Works

  1. Plugin loads the list of disabled blocks from config.yml
  2. When a player tries to break a block, plugin checks if it's in the disabled list
  3. If the block is disabled and player doesn't have bypass permission:
    • Block break is cancelled
    • Player receives a custom warning message
    • Warning sound is played
  4. Players with blockdisabler.bypass permission can break any block

❓ Frequently Asked Questions

Spoiler: Click to view FAQ
Q: How do I find the correct block name?
A: Use the official Minecraft material names. For example: DIAMOND_ORE, STONE, GRASS_BLOCK. You can find the full list on the Spigot Material documentation.

Q: Does this plugin cause lag?
A: No! The plugin is extremely lightweight and optimized. It only checks blocks when a player tries to break them.

Q: Can I use this for specific worlds only?
A: Currently, this plugin works on all worlds. World-specific support may be added in future updates.

Q: How do I let staff members bypass the restriction?
A: Give them the permission blockdisabler.bypass using your permissions plugin (LuckPerms, PermissionsEx, etc.)

Planned Features


Support & Bug Reports

Having issues or found a bug? Feel free to:

I'll try to respond as quickly as possible!


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⭐ If you like this plugin, please leave a rating and review! ⭐
Your support motivates me to create more plugins!

Made with ❤️ by Danish
​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Block Disabler is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 38 times (via Spigot). Download it and open it directly in the game.

Explore more