This addon requires Vault and a Vault-compatible economy plugin (such as EssentialsX Economy, CMI, or AuraEconomy) to be installed and running on your server. Without Vault, the addon will not function.
Configuration
Add theChargeOnUse block under the Addon: section in your portal’s .yml file.
Fields
Amount — Any integer greater than zero. This is the cost in your server’s currency units deducted from the player’s balance each time they use the portal.
ChargeOnReturn — true or false. When set to false, the plugin skips the charge if the player is traveling from the portal’s destination world back to the portal’s origin world. Set to true to charge in both directions.
OneTimePayment — true or false. When set to true, each built portal instance charges a given player only once — subsequent uses of that same portal are free for that player. When false, the player is charged on every use.
DenyMessage — The message shown to a player who does not have enough currency to use the portal. Supports standard Minecraft color codes.
ChargeMessage — The message shown to a player after they are successfully charged. Use this to confirm the transaction. Supports standard Minecraft color codes.
