In ExcellentClaims, everything that happens inside claims is controlled by claim rules.
This system is very similar to others you have probably already worked with (e.g., WorldGuard).
Unlike other plugins, rules in ExcellentClaims are very flexible and modular.
They range from simple boolean flags to advanced lists with blacklist or whitelist modes and a customizable list of entries.
All rules can apply to any claim type: lands, regions, or wilderness.
Usage
Claim owners and members with specific claim permissions can manage claim rules using the methods provided by each claim module:
The configuration file for the Rules module is located at /config/rules/settings.yml.
settings.yml
General:
# Prefix for all chat messages from the Rules module.
Prefix: '<gradient:#cb2d3e:#ef473a><b>PROTECTION</b></gradient> <dark_gray>»</dark_gray> '
# Whether to listen for high frequency events (e.g. BlockFromToEvent) and enable relative rules.
# [Server restart required]
Allow-High-Frequency-Rules: true
Rules:
BlockGrowEvent:
# Whether to reset block's age value if claim rule denies block growing.
# This will reduce frequency of BlockGrowEvent event calls and grow rules checks.
# This also will prevent blocks from growing instantly when grow rule reset or set in allow mode.
# [Server restart required]
Reset-Block-Age: true
Command-Use:
# List of commands blocked by default in all new claims.
Default-Blacklist:
- tpyes
- tpaccept
- sethome
- setwarp
Rules Configuration
The configuration files for the actual rules are located in the /rules/ folder in the root directory of the plugin.
In these files, you can change the default value of the rule for new claims and customize their visual style.