Operation Groups

HuskClaims supports toggling Operation Groups within a claim to determine whether the plugin should prevent certain operations from occurring in a claim.

Toggling Operation Groups

Operation Groups can be configured in the plugin config and managed by any user who has the MANAGE_OPERATION_GROUPS trust privilege in a claim. Effectively, Operation Groups provide a way of letting players fine tune the flag settings of your claim.

By default, HuskClaims provides the Claim Explosions operation group to let you toggle whether explosion damage should be allowed in a claim.

Operation GroupToggle CommandDescriptionDefault
Claim Explosions/claimexplosionsToggle whether explosion block damage should be allowed in a claim. Includes block and mob explosions.

Customizing Operation Groups

Operation groups can be customised in the plugin config as follows:

Operation Groups (config.yml)
# Groups of operations that can be toggled on/off in claims
operation_groups:
- name: Claim Explosions
  description: Toggle whether explosions can damage terrain in claims
  toggle_command_aliases:
  - claimexplosions
  allowed_operations:
  - EXPLOSION_DAMAGE_TERRAIN
  - MONSTER_DAMAGE_TERRAIN

Whether an Operation Group is the default in a claim depends on whether the allowed_operations of the group are also present in the default_flags list in the config.

Fine-Grained Admin Flag Management

Note:
This is a powerful command, only intended for use by admins. Create operation group commands to let users manage flags in a user-friendly way within claims.

The /huskclaims flags admin command exposes a way for admins to fine-tune the allowed operation group settings within a claim. Run the command to bring up a list of enabled operation types in the claim you are standing in.

To modify a flag while standing in a claim, use /huskclaims flags [operation_type] <true/false>, or click the operation type in the list to toggle it.

Adjusting the flags outside of claims

You can also can adjust the value of flags outside of claims (the "Wilderness") by using /huskclaims flags while standing outside a claim.