HomeJavaModsBroce | Allow certain blocks to be broken/place
Broce | Allow certain blocks to be broken/place
ModsJava

Broce | Allow certain blocks to be broken/place

⬇ Download on Spigot
So, I'm ready to introduce a completely updated and fresh plugin - Broce 2.0. Since I support the old version of KCBroce more, it has been removed from the forum.

Current features of the plugin:
* Allow players to break only certain blocks;
* Allow players to place only certain blocks;
* Forbid trampling farmland;
* Disable the plugin for those in creative mode;
* Prohibit the pushing of carriages;
* Prohibit certain chests from being opened.
---

Spoiler: Permission
* broce.cmd - permission to use commands;
* broce.allow.minecarts - bypasses restrictions from the "minecart_pushing" clause in the config (that is, the player will 100% be able to "push" the wagons);
* broce.allow.place - bypasses restrictions from the "allow_place_block" clause in the config;
* broce.allow.break - bypasses restrictions from the "allow_place_block" clause in the config.

Spoiler: Commands
Only one so far that will reload the plugin: /broce reload.

If something doesn't work, here's the default config and with comments:
Code (Text):

# Checking for updates. Preferably, do not disable it, but if you are annoyed by it, type "false".
update_checker: true

# Prohibit players from pushing minecarts. Set this to "false" and otherwise set it to "true".
minecart_pushing: false

# Allows (true) / Disallows (false) players to open certain chests. "message_notify" will send a message to the player that this chest is not allowed to be opened (if you set this parameter to "true").
open_chest_allowed:
  ender_chest: true
  chest: true
  trapped_chest: false
  barrel: true
  message_notify: true

# Prohibit players from breaking the specified blocks. Specify one "AIR" block to prevent players from breaking all blocks.
allow_destroy_block:
  - 'WHEAT'

# Prohibit players from placing the specified blocks. Specify one "AIR" block to prevent players from placing all blocks.
allow_place_block:
  - 'GRASS'

# Set to true, then players in creative mode will be able to break/set all blocks.
disable_in_creative: false
# Specify "true" and then players all players will not be able to trample beds. Specify "entity" and then ALL mobs (not just players).
farmland_destroy: false
 
NO VIRUS! False positives are possible. VirusTotal: https://www.virustotal.com/gui/file...2NzJkZmYyZjBmNTViNWVlMTM1Y2M6MTcxMDgwMjgwNw==.

Thank you for your interest!

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.

Broce | Allow certain blocks to be broken/place is a free Minecraft Java mod. Compatible with Minecraft 1.14, 1.15, 1.16, 1.17 and newer. Downloaded 371 times (via Spigot). Download it and open it directly in the game.

Explore more