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.
---
*
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.
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