# ==============================================================================
# BLOCK ITEMS CONFIGURATION
# ==============================================================================
#
# Main plugin setting to toggle the functionality on/off.
# Set to 'false' to disable all checks without removing the plugin.
enable: true
# ------------------------------------------------------------------------------
# MESSAGES SECTION
# ------------------------------------------------------------------------------
# Customize the chat messages sent to players.
# Color codes using '&' are supported (e.g., &c for red, &a for green).
messages:
# The prefix shown before every plugin message.
prefix: "&8[&cBlockItems&8] &r"
armor-blocked: "&cYou cannot use this armor."
tool-blocked: "&cYou cannot use this tool."
reload: "&aConfiguration reloaded."
no-permission: "&cYou do not have permission."
# ------------------------------------------------------------------------------
# GROUPS CONFIGURATION
# ------------------------------------------------------------------------------
# Define custom groups with specific lists of blocked items.
#
# HOW IT WORKS:
# 1. 'default': This group applies to players who DO NOT have any specific
# group permission.
#
# 2. Custom Groups (e.g., 'vip'): To assign a player to a group, give them
# the permission node: blockitems.group.<groupname>
# Example: blockitems.group.vip
#
# 3. If a player has permissions for multiple groups, items from ALL those
# groups will be blocked for them.
#
# MATERIAL NAMES:
# Use the official Bukkit Material names (uppercase).
#
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# ------------------------------------------------------------------------------
groups:
# Default group for players without specific permissions.
# Currently blocks all Diamond and Netherite items.
default:
- DIAMOND_HELMET
- DIAMOND_CHESTPLATE
- DIAMOND_LEGGINGS
- DIAMOND_BOOTS
- DIAMOND_SWORD
- DIAMOND_PICKAXE
- DIAMOND_AXE
- DIAMOND_SHOVEL
- DIAMOND_HOE
- NETHERITE_HELMET
- NETHERITE_CHESTPLATE
- NETHERITE_LEGGINGS
- NETHERITE_BOOTS
- NETHERITE_SWORD
- NETHERITE_PICKAXE
- NETHERITE_AXE
- NETHERITE_SHOVEL
- NETHERITE_HOE
# VIP group example.
# Players with 'blockitems.group.vip' will have these items blocked.
# Currently blocks only Diamond items.
vip:
- DIAMOND_HELMET
- DIAMOND_CHESTPLATE
- DIAMOND_LEGGINGS
- DIAMOND_BOOTS
- DIAMOND_SWORD
- DIAMOND_PICKAXE
- DIAMOND_AXE
- DIAMOND_SHOVEL
- DIAMOND_HOE
# You can create more groups...