-
Notifications
You must be signed in to change notification settings - Fork 0
Protected Items Configuration
Nickax edited this page Feb 6, 2025
·
2 revisions
This configuration file defines the items that are protected by DropGuard. You can add any items you want to protect, each identified by a unique key (e.g., basic_item, custom_item). Each item can have specific properties that determine its protection rules.
-
material: ALL→ Protects all item types from being accidentally dropped.
-
material: DIAMOND_SWORD→ Only diamond swords are protected. -
properties:-
name: '&6Legendary Sword'→ The item must have this exact custom name to be protected. -
lore:-
'&6&lLEGENDARY'→ The item must contain this lore entry to be protected.
-
-
You can add additional items by defining a new key (e.g., special_pickaxe) and specifying its material, name, lore, or other properties as needed.
This configuration is flexible, allowing full customization of item protection based on material, name, and lore conditions.