Simple Block Whitelist icon

Simple Block Whitelist -----

Restrict placing and breaking blocks to global and permission-based whitelists



This plugins lets you setup a whitelist to allow only certain blocks from being placed and broken.

There's a global whitelist that applies to all players. You can also additionally whitelist blocks through permissions.

By default, the whitelist also applies to OPs, unless you enable the bypass feature in config.yml.

When a player attempts to break or place a non-whitelisted block, a configurable message is sent to them in actionbar (default) or chat.

Commands
/simpleblockwhitelist
Reloads the configuration

Permissions
simpleblockwhitelist.admin
Allows to reload the configuration

blocks.<block_name>
Allows breaking and placing this block type, in addition to the globally whitelisted ones (example: blocks.grass_block)
See here for a list of all available block types.


Default config.yml
Code (YAML):
# You can reload this config using /simpleblockwhitelist (Permission: simpleblockwhitelist.admin)

# Global whitelist. All players are allowed to break and place these blocks.
# See here for valid block names: https://www.spigotmc.org/threads/list-of-materials-and-their-data.631970/
whitelist
:
 - STONE

# You can individually allow players additional block types by giving them the following permission:
# blocks.<blockname>

# When true, OPs can bypass the whitelist
opsCanBypass
: false

# Message to sent when they don't have permission
noPermission
: "&cYou don't have permission to place or break this block."
sendTo
: actionbar # chat or actionbar
Other Plugins by me
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
Resource Information
Author:
----------
Total Downloads: 683
First Release: Feb 10, 2024
Last Update: Feb 17, 2024
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings