WorldGuard Support - File14/ProCosmetics GitHub Wiki

WorldGuard Region Blocking

Prerequisites

To use this feature, ensure you have WorldGuard installed and have created the regions where you wish to allow or deny specific cosmetics.

Configuration

In the config.yml file, locate the world-guard section and set enable to true. Restart your server to apply the changes.

Flags

There are currently two flags available:
cosmetics - a state flag (allow/deny) to control all cosmetics within a region.
blocked-cosmetic-categories - a set flag. By adding a specific category, it will deny the use of all cosmetics in that category within the region.

Examples

/rg flag my-calm-region cosmetics deny - This will deny ALL cosmetics in the my-calm-region.
/rg flag pvp-arena blocked-cosmetic-categories gadgets - This will deny all gadgets in the pvp-arena region.

⚠️ **GitHub.com Fallback** ⚠️