Hooks
HuskClaims offers several built-in hooks providing support for other plugins. These hooks can be enabled or disabled in the hooks
section of the plugin config.
Name | Description | Link |
---|---|---|
Vault | Economy support for claim blocks | https://www.spigotmc.org/resources/vault.34315/ |
LuckPerms | Trust tags for LuckPerms groups | https://luckperms.net/ |
HuskHomes | Restricting home creation in claims | https://william278.net/project/huskhomes/ |
HuskTowns | Prevent claiming over town claims | https://william278.net/project/husktowns/ |
Plan | Display claim analytics in Plan | https://www.playeranalytics.net/ |
PlaceholderAPI | Provides HuskClaims placeholders | https://placeholderapi.com/ |
WorldGuard | Prevent claiming over flag-restricted regions | https://enginehub.org/worldguard |
Dynmap | Add claim markers to your Dynmap | https://www.spigotmc.org/resources/dynmap.274/ |
Pl3xMap | Add claim markers to your Pl3xMap | https://modrinth.com/plugin/pl3xmap/ |
BlueMap | Add claim markers to your BlueMap | https://www.spigotmc.org/resources/bluemap.83557/ |
Vault
If Vault (and a compatible economy plugin) is installed, the /buyclaimblocks
command will be enabled allowing users to purchase claim blocks for money.
LuckPerms
If LuckPerms is installed, HuskClaims will register Trust Tags for every defined LuckPerms group in the format #role/(group_name)
— e.g. #role/admin
. This allows you to easily grant trust to all members of a LuckPerms group, particularly useful in admin claims.
HuskHomes
If HuskHomes is installed, the /huskclaims teleport
command will be enabled allowing admins to quickly teleport to claims from the claim list, or to the location of a placed sign if you are using Sign Moderation.
Additionally, the HuskHomes hook will register the huskhomes:set_home
operation type. Add this to trust levels in your trust_levels.yml
file to require a minimum trust level to set or relocate a home within a claim. Don't forget to add it to allowed_owner_operations
as well!
HuskHomes Hook — Adding to trust_levels.yml
#...
- id: build
display_name: Build
description: Allows users to build in the claim
color: '#fcd303'
command_aliases:
- trust
- buildtrust
flags:
- huskhomes:set_home
- block_interact
- entity_interact
#...
allowed_owner_operations:
- huskhomes:set_home
- fill_bucket
- farm_block_interact
- entity_interact
#...
HuskTowns
If HuskTowns is installed, HuskClaims will prevent the creation of HuskClaims claims over existing Town claims.
Plan
If Plan is installed, HuskClaims will display HuskClaims analytics (such as Claim Blocks and Claims created) in the Plan web interface on user and server pages.
PlaceholderAPI
If PlaceholderAPI is installed, HuskClaims will register a PlaceholderAPI expansion allowing you to use HuskClaims placeholders in other plugins that support PlaceholderAPI. The following placeholders are available:
Placeholder | Description | Example |
---|---|---|
%huskclaims_claim_blocks% | The number of claim blocks the player has | 100 , 1234 , etc. |
%huskclaims_current_is_claimed% | Whether the player is currently standing in a claim | true or false |
%huskclaims_current_claim_owner% | The owner of the claim the player is standing in | Steve , an administrator , etc. |
%huskclaims_current_claim_is_trusted% | Whether the player has a trust level in the claim they are standing in | true or false |
%huskclaims_current_claim_trust_level% | The trust level of the player in the claim they are standing in | Access , Container , etc. |
%huskclaims_can_build% | Whether the player can build in the claim they are standing in | true or false |
%huskclaims_can_open_containers% | Whether the player can open containers in the claim they are standing in | true or false |
%huskclaims_can_interact% | Whether the player can interact in the claim they are standing in | true or false |
WorldGuard
If WorldGuard is installed, HuskClaims will register a third party flag (huskclaims-claim
), which when set to "Deny" in a WorldGuard region will prevent players from creating or resizing a claim over that region.
Dynmap, Pl3xMap, BlueMap
If one of the supported mapping plugins is installed, HuskClaims will add region markers for claims on your server map:
You can configure the marker label name and which types of claims to show in the config file.