DUXPLIMA Documentation

config.yml

Language, claim rules, integrations, dialogs, Bedrock forms, borders, claim blocks, holograms and the database.

The main settings file. Every key below is shown with the value the plugin ships. A key you delete falls back to a built-in default, which is not always the shipped value (defaultName and the database url differ), so edit keys rather than removing them.

language

KeyDefaultWhat it does
language'en'Language of the texts in every file: en, tr, es, pt-BR, de, fr, ru or pl

Changing it and running /claim reload rewrites the texts you have not edited. See Languages.

claimSettings

KeyDefaultWhat it does
expireModetrueDelete claims when their lifetime runs out
expireTime2592000Lifetime of a new claim, in seconds (30 days)
minDistance2Chunks of empty land required between different players' claims; 0 allows adjacent claims
defaultBlock'block1'Which blocks style a new claim uses
defaultName'Claim of %player.name%'Name given to a new claim; %player.*% placeholders work
defaultFlags13 flagsFlags a new claim starts with

The shipped defaultFlags are SPAWN_ANIMALS, SPAWN_MONSTERS, PISTON_PUSH, FLUID_FLOW, TNT_EXPLOSIONS, CREEPER_DAMAGE, WITHER_DAMAGE, FIRE_SPREAD, REDSTONE, STRUCTURE_GROW, NATURE_SPREAD, BLOCK_FORM and MOB_SPAWNING. A flag in the list is allowed, so new claims accept explosions and fire spread. A survival server that wants safe bases removes TNT_EXPLOSIONS, CREEPER_DAMAGE, WITHER_DAMAGE and FIRE_SPREAD before anyone claims. The names are listed in Flags; a misspelt name makes claim creation fail.

vault

KeyDefaultWhat it does
blacklistedMaterials[ ]Bukkit material names that cannot be stored in the claim vault, case insensitive

A refused item answers with errorVaultBlacklistedItem. Typical entries are PLAYER_HEAD and BUNDLE.

generalSettings

KeyDefaultWhat it does
disabledWorldsarena, spawn, world_netherWorlds where claiming is refused, case insensitive, with or without WorldGuard
disabledCommandsInClaimtest, sethome, commandCommands non-members may not run inside a claim
licenseKey'LICENSE_KEY_HERE'Your licence key
smartCommandtrueA bare /claim on unclaimed land extends an adjacent claim of yours or creates one; false opens the menu
confirmationEnabledtrueAsk for confirmation (menu or /claim confirm) before destructive actions; false runs them at once
economySupporttrueCharge money through Vault
economyProvider''Pin a specific Vault provider or currency
permissionSupporttrueRead ability, limit, cost and delay nodes through LuckPerms
worldGuardSupporttrueRefuse claims overlapping a WorldGuard region
placeholderSupporttrueRegister the %uxmclaims_...% PlaceholderAPI expansion
reminderEnabledtrueWarn players about claims nearing expiry
reminderOnLogintrueWarn them on join too
reminderIntervalSeconds300How often to check (5 minutes)
reminderThresholdSeconds86400How long before expiry to start warning (1 day)
accessGuardEnabledtrueEject players who end up inside a claim they are banned from or lack MOVE_INSIDE in
accessGuardIntervalTicks5How often each player's position is checked, in ticks (20 ticks is 1 second)

disabledWorlds is checked when a claim is created, when a claim block is placed and when a chunk is added, and the claim map shows those worlds' chunks as not claimable. The list is read on each check, so /claim reload applies a change.

disabledCommandsInClaim matches the command label with or without the slash, and the namespaced form too: sethome also blocks /essentials:sethome. Members, operators and holders of uxmclaims.admin are never blocked.

economyProvider matches the registered provider name, the Bukkit plugin name and the currency names, singular and plural. When it is set and nothing matches, startup fails rather than charging Vault's default economy.

permissionSupport needs LuckPerms. When it is off, or LuckPerms is missing, every ability node counts as granted and every limit, cost and delay stays at its defaultValue from entitlements.yml.

The access guard catches every way in: walking, vehicles, pistons, knockback, teleports and logging in inside. Holders of uxmclaims.bypass.enter are exempt. Lower intervals enforce more tightly and cost more work per player.

dialog

Native dialog screens (Java Edition 1.21.6+) for typing names, confirming actions and choosing claim time. Which screens use them is set per menu file, see Menu layouts.

KeyDefaultWhat it does
enabledtrueUse dialogs where the server and the client support them
bedrockFallbacktrueGive Bedrock players the classic menus instead of dialogs when Bedrock forms are off or unavailable
timeoutSeconds300How long an open dialog waits for an answer; after that its buttons do nothing. Paper and Folia only: on Spigot a dialog waits until it is closed

A player gets the classic anvil, chat or chest menu instead when the server is older than 1.21.6 (Spigot) or 1.21.7 (Paper, Folia), when the client is older through ViaVersion, and when the player is on Bedrock. Leaving enabled: true is safe on any server version.

bedrock

Native Bedrock forms for players joining through Geyser or Floodgate. Without either plugin nothing changes.

KeyDefaultWhat it does
enabledtrueUse forms for typing and confirming instead of the anvil, chat and chest menus
menustrueAlso show the menus (claim list, members, warps, flags and the rest) as button lists

The button lists are styled in menu/bedrock/<menu>.yml. The vault always stays a chest. With menus: false, Bedrock players get forms for typing and confirming but chest menus otherwise.

border

The overlay /claim showborders draws.

KeyDefaultWhat it does
ownClaimColor'#24FF00CB'Colour for your own claims
enemyClaimColor'#FC0606CB'Colour for other players' claims
wildernessColor'#15BDEFB3'Colour for unclaimed land
autoCloseSeconds30Seconds before the overlay closes itself; 0 never closes it
visualizerType'DISPLAY_ENTITY'DISPLAY_ENTITY (text display entities) or PARTICLE; an unknown value falls back to DISPLAY_ENTITY

Colours are #RRGGBBAA, the last two digits being opacity: #FF0000FF is solid red, #FF000080 half-transparent red.

blocks

Each entry defines a claim block style. Two ship: block1 (bedrock, open to everyone) and block2 (obsidian, glowing icon, permission claim.blockchange.obsidian).

blocks:
  block1:
    permission: ''
    block: 'BEDROCK'
    icon:
      type: 'BEDROCK'
      glow: false
      amount: 1
      name: 'Bedrock'
      lore:
        - ''
        - 'Click to select this claim style'
      model: 0
KeyWhat it does
permissionNode needed to use this style; empty means everyone
blockThe material placed in the world
icon.typeThe material shown in the style menu
icon.glowEnchantment glint on the menu item
icon.amountStack size shown on the item
icon.name, icon.loreMenu text
icon.modelCustom model data

visualizer

Web-map integration.

KeyDefaultWhat it does
enabledtrueDraw claims on the map
style.borderColor"#33FF33"Outline colour
style.borderOpacity0.8Outline opacity, 0 to 1
style.borderWeight2Outline thickness
style.fillColor"#33FF33"Fill colour
style.fillOpacity0.35Fill opacity, 0 to 1
tooltip.lines5 lines of HTMLThe hover popup

Tooltip lines are HTML, not MiniMessage, because the map's web front end renders them. Placeholders work inside them. See Map plugins.

hologram

The floating text above the claim block.

KeyDefaultWhat it does
height1.4Vertical offset from the block
viewRange16Blocks at which it becomes visible
seeThroughfalseVisible through solid blocks
alignment'CENTER'LEFT, CENTER or RIGHT
billboard'CENTER'FIXED, HORIZONTAL, VERTICAL or CENTER
backgroundColor'#000000'Background colour behind the text
defaultBackgroundtrueUse Minecraft's own text background
lineWidth200Width before wrapping
scale1.0Overall size
shadowedtrueDrop shadow on the text
shadowRadius0.2Shadow blur
shadowStrength1.0Shadow opacity
textOpacity0.98Text opacity, 0 to 1
lines9 linesThe text itself, MiniMessage, with placeholders

No claim block means no hologram: placing one is how a player opts in.

database

KeyDefaultWhat it does
type'AUTO'AUTO, MYSQL, POSTGRES or SQLITE; AUTO reads the dialect from the URL
username'root'Ignored by SQLite
password'password'Ignored by SQLite
url'jdbc:sqlite:./plugins/uxmClaims/data/claims.db'The JDBC URL

One server per database: a second server pointed at the same MySQL or PostgreSQL database is refused at startup. Change the shipped root and password before switching away from SQLite. See Database for the three backends.

Notes

  • /claim reload does not apply everything. database, economySupport, economyProvider, permissionSupport, worldGuardSupport, placeholderSupport, visualizerType, visualizer.enabled, reminderIntervalSeconds and dialog.timeoutSeconds are read once at startup. Restart after changing them.
  • New keys arrive with updates. A release adds its new keys to your file and keeps your values; see Configuration.
The shipped disabledWorlds list includes the Nether

The shipped world_nether entry refuses claims in the Nether on most servers. Edit the list before you open the server, then run /claim reload.