Skip to content

Configuration Reference ​

config.yml ​

Main plugin configuration file located at plugins/LandClaimPlugin/config.yml. Existing flat configurations from 3.4.0 and earlier are automatically backed up (config.yml.bk, locales/<message>.yml.bk, and menus/<menu>.yml.bk) and migrated on startup.

General (general.*) ​

KeyTypeDefaultDescription
general.configVersionString4.0.0Internal schema version used for one-time upgrade backups
general.languageStringen-USLocale file loaded from locales/messages_<language>.yml
general.bannedClaimNamesFileStringbanned-claim-name.txtFile containing blocked claim name words (one word per line)
general.cooldownUnstuckInteger30Cooldown in seconds between /claim unstuck uses
general.geyserFormsBooleantrueSend native Bedrock forms when Geyser 2.x / Floodgate are available (falls back to Java/chat prompts when disabled)

Placeholder Brackets

Messages support both angle brackets <owner> and curly braces {owner} interchangeably. Chat prefix (prefix) and all localized templates live in plugins/LandClaimPlugin/locales/messages_<language>.yml using MiniMessage formatting.

Claiming Rules & Multi-Profile (claiming.*) ​

KeyTypeDefaultDescription
claiming.requireConnectedClaimsBooleanfalseRequire new claims to touch existing claims owned by the profile
claiming.allowDiagonalConnectionsBooleantrueAllow diagonal adjacency when requireConnectedClaims is true
claiming.minClaimGapInteger0Minimum chunks between different players' claims (0 = disabled)
claiming.worldguardGapInteger0Minimum chunks between claims and WorldGuard regions (0 = disabled)
claiming.multiProfilesEnabledBooleanfalseEnable multi-profile support via /claim profiles
claiming.maxProfilesPerPlayerInteger2Maximum profiles a single player can own
claiming.blockWorldList[world_nether, world_the_end]Worlds where claiming is disabled
claiming.blockCmdList[setwarp, warp, sethome]Commands blocked inside another player's claim

WARNING

Disabling claiming.multiProfilesEnabled after players have already created multiple profiles hides all secondary profiles from their owners. Treat this setting as permanent once enabled.

TIP

Changes to claiming.blockWorld and claiming.blockCmd take effect immediately on server startup. To unblock a dimension, remove it from claiming.blockWorld and restart.

Claim Limits (limits.*) ​

KeyTypeDefaultDescription
limits.chunkClaimLimitInteger5Default base chunk limit per player
limits.maxBonusClaimBlocksInteger0Hard cap on bonus chunks a player can acquire (0 = unlimited)
limits.maxTotalClaimLimitInteger0Hard cap on total chunk limit including base limit and bonus chunks (0 = unlimited)
limits.maxMembershipsInteger1Maximum claims a player may belong to as a member
limits.maxClaimMembersInteger5Default maximum members allowed inside one claim profile
limits.maxWarpsInteger3Base claim warp limit per profile

Permission overrides include landclaim.limit.<n> and landclaim.warps.limit.<n>.

Permissions (permissions.*) ​

KeyTypeDefaultDescription
permissions.useSeparatePermissionBooleanfalseWhen true, enforce granular nodes such as landclaim.menu.<menu>, landclaim.menu.*, landclaim.unstuck, and subcommand permissions. When false, regular players can use standard claim menus and commands without extra nodes.

Database (database.*) ​

KeyTypeDefaultDescription
database.typeStringSQLITEStorage backend (SQLITE, MYSQL, or MARIADB)
database.hostStringlocalhostMySQL or MariaDB host
database.portInteger3306Database port
database.databaseNameStringlandclaimDatabase name
database.usernameString""Database username
database.passwordString""Database password (or set the LANDCLAIM_DB_PASSWORD environment variable)
database.tablePrefixStringlc_Prefix for all SQL tables
database.maximumPoolSizeInteger10HikariCP max pool size
database.minimumIdleInteger2HikariCP min idle connections
database.connectionTimeoutLong30000Connection timeout in ms

Redis (redis.*) ​

KeyTypeDefaultDescription
redis.enabledBooleanfalseEnable Redis pub/sub sync
redis.hostStringlocalhostRedis host
redis.portInteger6379Redis port
redis.passwordString""Redis password (empty = no auth)
redis.channelStringlandclaim:syncPub/sub channel name

Map Integrations (maps.*) ​

Each web map integration under maps shares identical keys.

KeyTypeDefaultDescription
maps.<map>.enabledBooleantrueEnable this map hook
maps.<map>.fillColorString3366FFFill hex color without #
maps.<map>.fillOpacityDouble0.3Fill opacity (0.0 to 1.0)
maps.<map>.borderColorString3366FFBorder hex color without #
maps.<map>.borderOpacityDouble0.8Border opacity (0.0 to 1.0)

Supported map keys under maps. are dynmap, bluemap, squaremap, and pl3xmap.

Display & Action Bar (display.*) ​

KeyTypeDefaultDescription
display.actionbarEnabledBooleantrueShow territory status in the player action bar
display.actionbarUpdateIntervalInteger20Ticks between action bar updates (20 ticks = 1 second)
display.claimChatNotificationsBooleanfalseSend claim enter and leave messages in chat by default (toggled per player with /claim notify)
display.titleFadeInMsInteger500Enter/exit title fade-in duration in milliseconds
display.titleStayMsInteger1500Enter/exit title stay duration in milliseconds
display.titleFadeOutMsInteger500Enter/exit title fade-out duration in milliseconds

Locator Bar (locatorBar.*) ​

KeyTypeDefaultDescription
locatorBar.enabledBooleantrueEnable per-claim Locator Bar stealth (WAYPOINT_TRANSMIT_RANGE) and waypoint tinting
locatorBar.colorTintingBooleantrueTint a player's Locator Bar waypoint with the active claim hex color while visible

Held Territory Map (minimap.*) ​

KeyTypeDefaultDescription
minimap.enabledBooleantrueEnable or disable the held territory map feature
minimap.mapIdInteger-1Persisted MapView ID assigned to the territory map (-1 creates one automatically)
minimap.itemNameString<color:#00E262><b>Territory Map</b></color>Display name for the Territory Map item (MiniMessage format)
minimap.itemLoreList[...]Instruction lore lines for the map item

Update Checker (updateChecker.*) ​

KeyTypeDefaultDescription
updateChecker.enabledBooleantrueCheck for new plugin releases on Modrinth
updateChecker.modrinthProjectIdStringPAlDTriFModrinth project ID (PAlDTriF) or slug
updateChecker.notifyPermissionStringlandclaim.adminPermission required to receive join update notices (or OP)

Bedrock Support

Geyser-Spigot and Floodgate are listed in soft-depend so the server attempts to load them before LandClaimPlugin. The Bedrock form code uses reflection and introduces no hard dependency on either plugin.

::: note Map plugins The squaremap and Pl3xMap hooks both wait for the corresponding plugin's PluginEnableEvent and retry their API call on the next tick if the API isn't ready yet. Markers should appear automatically after a /claim reload or after a fresh claim. If you do not see your claims on the live map, confirm the world is enabled in your map plugin's config (for example, squaremap/config.yml worlds), confirm the chunk uses the Bukkit world name reported to the plugin, and run /claim admin reload to force a full map refresh. :::

Wilderness Protection ​

KeyTypeDefaultDescription
wildernessProtection.enabledBooleanfalseWhen true, the flags in deniedFlags are denied in unclaimed chunks. Admins (landclaim.admin) always bypass.
wildernessProtection.exceptionWorldsList[]Worlds where wilderness protection does not apply. Use the plain Bukkit world name (e.g. world, world_nether).
wildernessProtection.deniedFlagsListbuild / interaction flags only (see below)The permission flags denied in the wilderness. The default list contains only build / interaction flags — combat flags (DAMAGE_ANIMALS, DAMAGE_MONSTERS, BREED_ANIMALS, SHEAR_ENTITIES, TRADE_VILLAGERS, FEED_ANIMALS, LEASH_ENTITIES) and PvP are NOT denied by default, so players can still hunt and fight mobs in the wilderness. Add a flag to the list to deny it; remove to allow it. Matching is case-insensitive.

Default deniedFlags list (build / interaction only):

BLOCK_BREAK, BLOCK_PLACE, BLOCK_IGNITE, USE_BUCKETS, USE_FERTILIZER, MODIFY_SIGNS,
USE_DOORS, USE_TRAPDOORS, USE_FENCE_GATES, USE_CONTAINERS, USE_WORKSTATIONS,
USE_BEDS, USE_REDSTONE, USE_LECTERNS, USE_BELLS, TRAMPLE_CROPS,
MODIFY_ARMOR_STANDS, MODIFY_ITEM_FRAMES

Use case

Enable wilderness protection on a towny-style survival server where the only safe place to build is inside a clan claim. Players can still walk, chat, hunt mobs, drop items, throw ender pearls, and fight in the wilderness, but cannot break or place blocks until they find a claim or get admin help.

Combat flags and PvP

By default, combat flags (DAMAGE_ANIMALS, DAMAGE_MONSTERS, BREED_ANIMALS, etc.) and PvP are NOT in deniedFlags, so players retain the ability to hunt and fight in the wilderness. If you want to lock those down too, add them to the list (e.g. deniedFlags: [..., DAMAGE_ANIMALS, DAMAGE_MONSTERS, PVP]).

Explosions

Wilderness protection does not affect explosion damage (ExplosionProtectionListener) — that listener has its own logic. To make wilderness fully off-limits, combine this with a blockWorld entry for the world, or use another plugin to disable mob spawning / explosions.

PvP ​

KeyTypeDefaultDescription
pvp.forceEnabledBooleanfalseWhen true, PvpProtectionListener always allows PvP regardless of the per-claim pvpEnabled flag, and /claim pvp refuses to toggle (sends pvp-force-locked). Designed for PvP-focused servers that want every claim to have PvP on with no opt-out.

Combat Tag (pvp.combatTagBypass) ​

KeyTypeDefaultDescription
pvp.combatTagBypassBooleantruePlayers tagged in PvP combat via DeluxeCombat, CombatLogX, PvPManager, or EternalCombat temporarily lose claim PvP sanctuary until their combat tag expires

Inactive Claim Auto-Decay ​

KeyTypeDefaultDescription
decay.enabledBooleanfalseEnable automatic claim decay for inactive players
decay.inactiveDaysInteger14Days of inactivity (player offline) before claims automatically decay
decay.checkIntervalHoursInteger12Frequency in hours to scan for inactive claims
decay.exemptPermissionStringlandclaim.decay.exemptPermission node that exempts players from auto-decay
decay.onlyCheckOwnerBooleantrueIf true, only owner activity is checked. If false, active claim members protect the claim from decay

Visitor Settings & Locking ​

KeyTypeDefaultDescription
visitorSettings.lockedBooleanfalseLock visitor settings server-wide. When true, claim owners/members cannot open or edit visitor settings via GUI or /claim menu visitors, and defaultFlags are strictly enforced across ALL claims for visitors.
visitorSettings.defaultFlagsList["DAMAGE_MONSTERS"]Default visitor flags. When locked: true, all claims enforce these flags for visitors (flags in the list are allowed, omitted flags are denied). When locked: false, these flags are assigned as starting flags for new claims.

Open Visitor World Example

To allow visitors to do everything in claims except breaking and placing blocks, set:

yaml
visitorSettings:
  locked: true
  defaultFlags:
    - BLOCK_IGNITE
    - USE_BUCKETS
    - USE_FERTILIZER
    - MODIFY_SIGNS
    - TRAMPLE_CROPS
    - USE_DOORS
    - USE_TRAPDOORS
    - USE_FENCE_GATES
    - USE_CONTAINERS
    - USE_WORKSTATIONS
    - USE_BEDS
    - USE_REDSTONE
    - USE_LECTERNS
    - USE_BELLS
    - DAMAGE_ANIMALS
    - DAMAGE_MONSTERS
    - BREED_ANIMALS
    - SHEAR_ENTITIES
    - TRADE_VILLAGERS
    - FEED_ANIMALS
    - LEASH_ENTITIES
    - MODIFY_ARMOR_STANDS
    - MODIFY_ITEM_FRAMES
    - RIDE_VEHICLES
    - MOUNT_ANIMALS
    - PLACE_VEHICLES
    - DESTROY_VEHICLES
    - USE_ENDER_PEARLS
    - USE_CHORUS_FRUIT
    - PICKUP_ITEMS
    - DROP_ITEMS

Permission flags ​

Complete list of permission flags used across roles, trusted players, and visitor settings.

Building and environment flags ​

FlagDescription
BLOCK_BREAKBreak blocks inside the claim
BLOCK_PLACEPlace blocks inside the claim
BLOCK_IGNITEIgnite blocks with flint and steel or fire charges
USE_BUCKETSEmpty or fill buckets
USE_FERTILIZERApply bone meal to crops and saplings
MODIFY_SIGNSEdit or dye placed signs
TRAMPLE_CROPSTrample farmland by jumping on crops

Block interaction flags ​

FlagDescription
USE_DOORSOpen and close doors
USE_TRAPDOORSOpen and close trapdoors
USE_FENCE_GATESOpen and close fence gates
USE_CONTAINERSAccess chests, barrels, hoppers, and similar storage
USE_WORKSTATIONSUse crafting tables, anvils, enchanting tables, and furnaces
USE_BEDSSleep in beds
USE_REDSTONEUse buttons, levers, and pressure plates
USE_LECTERNSRead or take books from lecterns
USE_BELLSRing bells

Entity interaction flags ​

FlagDescription
DAMAGE_ANIMALSHarm passive mobs
DAMAGE_MONSTERSHarm hostile mobs
BREED_ANIMALSBreed animals
SHEAR_ENTITIESShear sheep and interact with shearables
TRADE_VILLAGERSTrade with villagers
FEED_ANIMALSFeed animals
LEASH_ENTITIESAttach or detach leads on entities
MODIFY_ARMOR_STANDSEdit armor stand equipment and poses
MODIFY_ITEM_FRAMESRotate, place, or remove items in item frames

Vehicle flags ​

FlagDescription
RIDE_VEHICLESEnter minecarts, boats, and rideables
MOUNT_ANIMALSMount tamed or rideable animals (horses, pigs, striders)
PLACE_VEHICLESPlace boats and minecarts
DESTROY_VEHICLESBreak boats and minecarts

Misc flags ​

FlagDescription
USE_ENDER_PEARLSThrow ender pearls
USE_CHORUS_FRUITEat chorus fruit
PICKUP_ITEMSPick up dropped items
DROP_ITEMSDrop items from inventory
DAMAGE_PLAYERSPlayer damage check used with PvP rules

Administrative flags ​

These flags grant control over claim management menus and chunk expansion.

FlagDescription
CLAIM_LANDAllow members to claim new chunks for the owner's profile
ADMIN_MENUAllow members to open /claim menu inside the claim
MANAGE_SETTINGSAccess claim settings (PvP, color, visibility, titles, TNT, mob spawning)
MANAGE_MEMBERSAccess member and trusted player management
MANAGE_ROLESAccess custom role management

Owner-only restrictions

Even with ADMIN_MENU and management flags, abandoning the claim profile, renaming the claim, and transferring ownership remain restricted to the claim owner (or landclaim.admin on the Server Land profile).


Default roles ​

Every new ClaimProfile initializes two built-in roles.

  • Member (priority 100): USE_DOORS, USE_TRAPDOORS, USE_FENCE_GATES, USE_CONTAINERS, USE_WORKSTATIONS, USE_BEDS, USE_REDSTONE, DAMAGE_MONSTERS, DAMAGE_ANIMALS.
  • CoOwner (priority 10): Grants all 38 non-PvP gameplay and management flags listed above (excluding DAMAGE_PLAYERS, which follows claim PvP settings).

Per-claim toggles (ClaimSettings.yml) ​

Players with ownership or MANAGE_SETTINGS can toggle per-claim protection options inside /claim menu settings (configured in plugins/LandClaimPlugin/menus/ClaimSettings.yml).

SettingDefaultConfig keyDescription
PvPfalsepvpToggleAllow or block PvP damage inside the claim
TitlestruetitleToggleShow MiniMessage titles on claim entry and leave
VisibilityDISPLAY_ENTITYvisibilitySwitch border visualization between Display Entities and Particles
TNT explosionsfalsetntToggleAllow or block TNT (PRIMED_TNT and TNT minecarts) explosions inside the claim while keeping creepers and other explosions blocked
Mob spawningtruemobSpawningToggleToggle natural, spawner, trial spawner, patrol, raid, portal, trap, and reinforcement spawns while preserving breeding and custom spawns
Locator Bar privacyfalseDialog toggleHide players inside the claim from the 1.21.6+ Locator Bar

All GUI menus under plugins/LandClaimPlugin/menus/ support custom Bukkit materials, MiniMessage names, and lore.


Admin & server land ​

Administrators with landclaim.admin manage the dedicated Server Land profile (UUID 00000000-0000-0000-0000-000000000000).

  • Management access. Open the Server Land menu with /claim admin menu.
  • Owner-only bypass. Unlike regular claim members, administrators managing the Admin Profile can rename or abandon server chunks.
  • Instant claims. /claim admin claim claims chunks directly for Server Land without connection or chunk limit checks.

All GUI files live in plugins/LandClaimPlugin/menus/, including mainmenu.yml, profile-selector.yml, ClaimSettings.yml, VisitorSettings.yml, and dedicated menus for members, trusted players, allies, roles, and warps.

For Vault claim costs, refunds, upkeep taxes, marketplace, and auction configuration, see plugins/LandClaimPlugin-Economy/config.yml in the Economy Addon Guide.

Released under the MIT License.