DUXPLIMA Documentation

Vault

Charging for claims, chunks, warps and time, and picking a currency.

Vault connects uxmClaims to the economy plugin you run, such as EssentialsX, CMI or CoinsEngine. Every price comes from entitlements.yml and the uxmclaims.cost.* permission nodes.

Settings

generalSettings:
  economySupport: true
  economyProvider: ''
KeyDefaultMeaning
economySupporttrueCharge through Vault. false makes everything free
economyProvider''Which Vault economy to use; empty means Vault's default

Both are read at startup. Without Vault installed, nothing is charged.

What can cost money

ActionNodeDefault
Creating a claimuxmclaims.cost.claim.<level>.<price>0.0
Adding a chunkuxmclaims.cost.chunk.<count>.<price>25.0
Creating a warpuxmclaims.cost.warp.<count>.<price>0.0
Creating a roleuxmclaims.cost.role.<count>.<price>0.0
Teleporting to a warpuxmclaims.cost.warptp.<public|private>.<price>0.0
Sending an inviteuxmclaims.cost.invite.<count>.<price>0.0
Renaming a claimuxmclaims.cost.rename.<price>0.0
Adding timeuxmclaims.cost.time.<price>5.0

Out of the box only chunks and time cost anything. Time is priced per second per chunk: adding one hour to a four-chunk claim at the shipped 5.0 costs 72,000. Removing time costs nothing and refunds nothing.

A granted price node replaces the default, so it can raise a price as well as lower it. With LuckPerms in use, operators and holders of uxmclaims.admin pay nothing. How the nodes combine is on Limits and costs.

Picking a currency

generalSettings:
  economyProvider: 'coins'

The value is matched, ignoring case, against each registered Vault economy's name, the name of the plugin that registered it, and its singular and plural currency names.

Some economy settings stop the plugin at startup

With economySupport: true, uxmClaims refuses to start when Vault has no economy plugin registered, or when economyProvider matches none of them. The console lists the economies it found. On a multi-currency server this is deliberate: falling back to the default economy would charge players in the wrong currency.

Notes

  • No refunds. Removing a chunk, removing time and deleting a claim return nothing. Price accordingly.
  • Not enough money refuses the action with errorInsufficientFunds from messages.yml, and nothing changes.
  • Charging comes before saving. If the save fails, the plugin pays the amount back.
  • Admin commands are free. /claim admin actions skip the economy entirely.

Related: Overview, Limits and costs, entitlements.yml