BlockLists - Game4Freak/AdvancedZones GitHub Wiki

BlockLists are needed for the noItemEquip and the noBuild flag.
You can find the list of the commands here.

BlockLists are lists with one or multiple IDs that can be used to block the specific actions like equiping or building.

The system is very complex but allows you to fulfill your needs.


Naming

The naming of your BlockLists is important because you can get extra functionality with it.

If your BlockList is named ALL it will tell the plugin to block every ID.

If your BlockList's name contains the word ignore it will tell the plugin to allow this IDs even if they are blocked by other list.

Example: If you add a ALL BlockList to your zone it will block every ID.
But if you add a ignore BlockList with the ID of a Eaglefire it will allow you to use the Eaglefire even if the ALL might block it.

It works like ignore beats block.


Usage

Use /zone blocklist add equip|build _YourBlockList_ to add a BlockList to either the equip BlockLists or the build BlockLists.
You can remove it again with /zone blocklist remove equip|build _YourBlockList_.

Now that you created a new BlockList you can add items to it by using /zone blocklist additem equip|build _YourBlockList_ _YourItemID_.
You can remove it again with /zone blocklist removeitem equip|build _YourBlockList_ _YourItemID_.

After you crated your BlockList and added item(s) to it you have to apply it to a zone in order to get the noItemEquip or noBuild flag to use it.
Use /zone add block _YourZoneName_ equip|build _YourBlockList_.
You can remove it again with /zone remove block _YourZoneName_ equip|build _YourBlockList_.